![]() |
Murl Engine API
Version 2025.1
|
An IFF chunk of a native shader resource storing an attribute variable descriptor. More...
#include <murl_resource_i_shader.h>
An IFF chunk of a native shader resource storing an attribute variable descriptor.
The data pointed to by mNamesOffset must be interpreted as a pointer to a Char pointer, which stores mNumberOfNames consecutive C strings.
Public Types | |
| enum | { FOURCC_CHUNK } |
| IFF identifiers. More... | |
Public Attributes | |
| UInt32 | mLocation |
| The attribute variable location or register number in the shader. | |
| UInt32 | mItem |
| The predefined attribute variable item, from the IEnums::AttributeItem enumeration. | |
| UInt32 | mType |
| The attribute variable data type, from the IEnums::AttributeType enumeration. | |
| UInt32 | mPrecision |
| The variable precision, from the IEnums::ShaderVariablePrecision enumeration. | |
| UInt32 | mFlags |
| Optional flags. Must be 0. | |
| UInt32 | mArraySize |
| The array size, or 0 for a scalar attribute. | |
| UInt32 | mNumberOfNames |
| The total number of different names by which this attribute can be referred to. | |
| UInt32 | mNamesOffset |
| An offset into the chunk where the name string data is stored. See IffOffset(). | |
| UInt32 | mNamesByteSize |
| The total size in bytes of the contained string data. | |
Additional Inherited Members | |
Public Member Functions inherited from Murl::Util::IffChunk | |
| template<class DataType > | |
| DataType * | IffOffset (UInt32 byteOffset) const |
| Get a typed pointer from an offset relative to the chunk. More... | |
| void | SetFourCC (UInt32 fourCC) |
| Set the chunk identifier. More... | |
| UInt32 | GetFourCC () const |
| Get the chunk identifier. More... | |
| void | SetChunkSize (UInt32 size) |
| Set the chunk size. More... | |
| UInt32 | GetChunkSize () const |
| Get the chunk size. More... | |
| UInt32 | GetRawSize () const |
| Get the chunk size minus sizeof(IffChunk). More... | |
Protected Attributes inherited from Murl::Util::IffChunk | |
| UInt32 | mFourCC |
| The FourCC chunk identifier. | |
| UInt32 | mSize |
| The size of this chunk minus sizeof(IffChunk). | |
| anonymous enum |
IFF identifiers.
| Enumerator | |
|---|---|
| FOURCC_CHUNK | The four character code identifying this chunk as a AttributeChunk. |