Module geometry_buffer

Source
Expand description

Geometry buffer is a mesh buffer, that could contain multiple vertex buffers and only one element buffer.

Structs§

AttributeDefinition
Vertex attribute definition.
GeometryBufferDescriptor
Descriptor of the geometry buffer. It essentially binds multiple vertex buffers and one element buffer.
VertexBufferData
Untyped vertex buffer data.
VertexBufferDescriptor
Vertex buffer descriptor contains information about vertex buffer layout and content usage as well as the data that will be uploaded to GPU.

Enums§

AttributeKind
Attribute kind of a vertex.
ElementsDescriptor
Describes elements for the geometry buffer.

Traits§

GeometryBuffer
Geometry buffer is a mesh buffer, that could contain multiple vertex buffers and only one element buffer. Element could be either a line or triangle (the most commonly used one).