#include <ModelLod.h>
Public Member Functions | |
AZ_TYPE_INFO (StreamBufferInfo, "{3B133A3C-2562-46BE-B472-33089420EB68}") | |
Public Attributes | |
RHI::ShaderSemantic | m_semantic |
ID of the channel. (e.g. "POSITION", "NORMAL", "UV0", etc.) | |
AZ::Name | m_customName |
Specifically used by UV sets for now, to define custom readable name (e.g. Unwrapped) besides semantic (UVi) | |
RHI::Format | m_format |
Format of the vertex data in this channel. | |
uint32_t | m_bufferIndex |
Indicates a ModelLod::m_buffers entry. | |
uint32_t | m_byteOffset |
Indicates a range within the ModelLod::m_buffers entry (because each buffer contains vertex data for all meshes in the LOD) | |
uint32_t | m_byteCount |
uint32_t | m_stride |
Number of bytes in one element of the stream. This corresponds to m_format. | |
Describes a single stream buffer/channel in a single mesh. For example position, normal, or UV. ModelLod always uses a separate stream buffer for each stream channel (no interleaving) so this struct contains information about both the stream buffer and the stream channel.