A structure describing the binding of an attribute to the buffer data.
A binding requires:
The uBufferIndex of a bound buffer. The uAttribute location to which the data will be bound. The uNumElements contained in the attribute to be bound. This value should be between 1 and 4. The uStride in bytes between vertex elements (0 meaning tightly packed). The uByteOffset into the buffer at which the data begins.
#include <renderer/YiMesh.h>
Public Attributes | |
| uint32_t | uBufferIndex |
| uint32_t | uAttribute |
| uint32_t | uNumElements |
| uint32_t | uStride |
| uint32_t | uByteOffset |
| uint32_t CYIMesh::YI_ATTRIBUTE_BINDING::uAttribute |
| uint32_t CYIMesh::YI_ATTRIBUTE_BINDING::uBufferIndex |
| uint32_t CYIMesh::YI_ATTRIBUTE_BINDING::uByteOffset |
| uint32_t CYIMesh::YI_ATTRIBUTE_BINDING::uNumElements |
| uint32_t CYIMesh::YI_ATTRIBUTE_BINDING::uStride |