Open 3D Engine Atom Gem API Reference 25.05.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::RPI::ModelLod::StreamBufferInfo Struct Referencefinal

#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.
 

Detailed Description

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.


The documentation for this struct was generated from the following file: