if(elementBufferOffset != 0u)
{
elementBufferOffset = (elementBufferOffset >= numIndices) ? numIndices - 1 : elementBufferOffset;
if(elementBufferOffset != 0u)
{
elementBufferOffset = (elementBufferOffset >= numIndices) ? numIndices - 1 : elementBufferOffset;
if(vertexBufferCount > 0)
{
// truncated, no value loss happening in practice
if(vertexBufferCount > 0)
{
// truncated, no value loss happening in practice
}
commandBuffer.Draw(numVertices, 1, 0, 0);
}
commandBuffer.Draw(numVertices, 1, 0, 0);