#include <InputStreamLayout.h>
|
| AZ_TYPE_INFO (StreamChannelDescriptor, "{BF99DCBE-C30B-443A-A92C-B07EE6F0FB1D}") |
|
| StreamChannelDescriptor (ShaderSemantic semantic, Format format, uint32_t byteOffset, uint32_t bufferIndex) |
|
HashValue64 | GetHash (HashValue64 seed=HashValue64{ 0 }) const |
|
|
static void | Reflect (AZ::ReflectContext *context) |
|
|
ShaderSemantic | m_semantic |
| The semantic of the stream channel.
|
|
Format | m_format = Format::Unknown |
| The format of each element in the channel.
|
|
uint32_t | m_bufferIndex = 0 |
| The parent stream buffer index.
|
|
uint32_t | m_byteOffset = 0 |
|
Describes an instance of a stream channel within a stream layout. A stream channel corresponds to a single data element on the input vertex, and it has a semantic associated with it which matches the element within the shader. The data in a stream channel can be offset from the base of the parent StreamBufferView to interleave multiple channels within the same buffer.
◆ m_byteOffset
uint32_t AZ::RHI::StreamChannelDescriptor::m_byteOffset = 0 |
Byte offset from the base of the StreamBufferView to the first element in this channel. Used to interleave multiple channels in a single buffer.
The documentation for this class was generated from the following file:
- Gems/Atom/RHI/Code/Include/Atom/RHI.Reflect/InputStreamLayout.h