uploadElements
open fun uploadElements(elementOffset: Int = 0, elementCount: Int = vertexBuffer.vertexCount)(source)
Uploads a specified range of vertices from the shadow buffer to the GPU memory.
Parameters
elementOffset
The offset, in number of elements, from the beginning of the buffer at which the upload starts. Defaults to 0.
elementCount
The number of elements to upload from the buffer. Defaults to the total vertex count of the associated VertexBuffer.