Stores metadata about a buffer attribute, member or field of a descriptor or buffer.
More...
|
|
| BufferAttribute () noexcept |
| | Initializes an empty buffer attribute.
|
| |
| | BufferAttribute (unsigned int location, unsigned int offset, BufferFormat format, AttributeSemantic semantic, unsigned int semantic_index) noexcept |
| | Initializes a new buffer attribute with the specified parameters.
|
| |
|
| BufferAttribute (const BufferAttribute &other)=delete |
| |
|
| BufferAttribute (BufferAttribute &&other) noexcept |
| |
|
BufferAttribute & | operator= (const BufferAttribute &other)=delete |
| |
|
BufferAttribute & | operator= (BufferAttribute &&other) noexcept |
| |
| unsigned int | location () const noexcept |
| | Gets the location the buffer attribute is bound to.
|
| |
| BufferFormat | format () const noexcept |
| | Gets the format of the buffer attribute.
|
| |
| unsigned int | offset () const noexcept |
| | Gets the offset of the buffer attribute relative to the start of the buffer.
|
| |
| AttributeSemantic | semantic () const noexcept |
| | Gets the semantic of the buffer attribute.
|
| |
| unsigned int | semanticIndex () const noexcept |
| | Gets the semantic index of the buffer attribute.
|
| |
Stores metadata about a buffer attribute, member or field of a descriptor or buffer.