ZBuffer Key
Initializes a new instance of ZBufferKey class. It is used to instantiate a ZBufferKey object with default data values.
constructor(id: Int, dataType: ZDataType, name: String, size: Int, count: Int, normalized: Boolean, offset: Int, stride: Int, isIndexBuffer: Boolean, bufferId: Int)(source)
Initializes a ZBufferKey object with the given arguments.
Parameters
id
The ID of the buffer.
data Type
The data type of the buffer.
name
The name of the buffer.
size
How many elements are stored per data unit.
count
The number of elements of type dataType are stored in the buffer.
normalized
Whether the data in the buffer is normalized.
offset
The offset of the buffer data.
stride
The stride of the buffer data.
is Index Buffer
Whether the buffer is an index buffer.
buffer Id
The ID of the raw buffer associated with the buffer.