VertexBuffer
Holds a set of buffers that define the geometry of a Renderable.
The geometry of the Renderable itself is defined by a set of vertex attributes such as position, color, normals, tangents, etc. There is no need to have a 1-to-1 mapping between attributes and buffer. A buffer can hold the data of several attributes—attributes are then referred to as being "interleaved".
The buffers themselves are GPU resources, therefore mutating their data can be relatively slow. For this reason, it is best to separate the constant data from the dynamic data into multiple buffers. It is possible, and even encouraged, to use a single vertex buffer for several Renderables.
See also
, RenderableManager
Holds a set of buffers that define the geometry of a Renderable.
The geometry of the Renderable itself is defined by a set of vertex attributes such as position, color, normals, tangents, etc. There is no need to have a 1-to-1 mapping between attributes and buffer. A buffer can hold the data of several attributes—attributes are then referred to as being "interleaved".
The buffers themselves are GPU resources, therefore mutating their data can be relatively slow. For this reason, it is best to separate the constant data from the dynamic data into multiple buffers. It is possible, and even encouraged, to use a single vertex buffer for several Renderables.
See also
, RenderableManager
Holds a set of buffers that define the geometry of a Renderable.
The geometry of the Renderable itself is defined by a set of vertex attributes such as position, color, normals, tangents, etc. There is no need to have a 1-to-1 mapping between attributes and buffer. A buffer can hold the data of several attributes—attributes are then referred to as being "interleaved".
The buffers themselves are GPU resources, therefore mutating their data can be relatively slow. For this reason, it is best to separate the constant data from the dynamic data into multiple buffers. It is possible, and even encouraged, to use a single vertex buffer for several Renderables.
See also
, RenderableManager
Holds a set of buffers that define the geometry of a Renderable.
The geometry of the Renderable itself is defined by a set of vertex attributes such as position, color, normals, tangents, etc. There is no need to have a 1-to-1 mapping between attributes and buffer. A buffer can hold the data of several attributes—attributes are then referred to as being "interleaved".
The buffers themselves are GPU resources, therefore mutating their data can be relatively slow. For this reason, it is best to separate the constant data from the dynamic data into multiple buffers. It is possible, and even encouraged, to use a single vertex buffer for several Renderables.
See also
, RenderableManager
Holds a set of buffers that define the geometry of a Renderable.
The geometry of the Renderable itself is defined by a set of vertex attributes such as position, color, normals, tangents, etc. There is no need to have a 1-to-1 mapping between attributes and buffer. A buffer can hold the data of several attributes—attributes are then referred to as being "interleaved".
The buffers themselves are GPU resources, therefore mutating their data can be relatively slow. For this reason, it is best to separate the constant data from the dynamic data into multiple buffers. It is possible, and even encouraged, to use a single vertex buffer for several Renderables.
See also
, RenderableManager
Types
Data types for vertex attributes.
Data types for vertex attributes.
Data types for vertex attributes.
Data types for vertex attributes.
Data types for vertex attributes.
Builder for creating VertexBuffer instances.
Builder for creating VertexBuffer instances.
Builder for creating VertexBuffer instances.
Builder for creating VertexBuffer instances.
Builder for creating VertexBuffer instances.
Vertex attribute types that can be defined in a VertexBuffer.
Vertex attribute types that can be defined in a VertexBuffer.
Vertex attribute types that can be defined in a VertexBuffer.
Vertex attribute types that can be defined in a VertexBuffer.
Vertex attribute types that can be defined in a VertexBuffer.
Properties
Gets the number of vertices in each buffer of this set.
Gets the number of vertices in each buffer of this set.
Gets the number of vertices in each buffer of this set.
Gets the number of vertices in each buffer of this set.
Gets the number of vertices in each buffer of this set.
Functions
Sets the data for a given buffer in this vertex buffer set.
Sets the data for a given buffer with offset and count.
Sets the data for a given buffer with offset, count, and optional completion callback.
Sets the data for a given buffer in this vertex buffer set.
Sets the data for a given buffer with offset and count.
Sets the data for a given buffer with offset, count, and optional completion callback.
Sets the data for a given buffer in this vertex buffer set.
Sets the data for a given buffer with offset and count.
Sets the data for a given buffer with offset, count, and optional completion callback.
Sets the data for a given buffer in this vertex buffer set.
Sets the data for a given buffer with offset and count.
Sets the data for a given buffer with offset, count, and optional completion callback.
Sets the data for a given buffer in this vertex buffer set.
Sets the data for a given buffer with offset and count.
Sets the data for a given buffer with offset, count, and optional completion callback.
Associates a BufferObject with a buffer in this vertex buffer set.
Associates a BufferObject with a buffer in this vertex buffer set.
Associates a BufferObject with a buffer in this vertex buffer set.
Associates a BufferObject with a buffer in this vertex buffer set.
Associates a BufferObject with a buffer in this vertex buffer set.