![]() |
Murl Engine API
Version 2018.3
|
The IFF header chunk of a native shader resource. More...
#include <murl_resource_i_shader.h>
The IFF header chunk of a native shader resource.
If the file contains more than one block of actual shader data, the members mLanguage, mType, mDataOffset and mDataByteSize are zero, and the individual blocks must be parsed from following DataChunk entries.
Public Types | |
enum | { FOURCC } |
IFF identifiers. More... | |
Public Attributes | |
UInt32 | mVersion |
The actual resource version. | |
UInt32 | mType |
The shader type, from the IEnums::ShaderType enumeration. | |
UInt32 | mOutputLanguage |
The shader output language, from the IEnums::ShaderLanguage enumeration. | |
UInt32 | mInputLanguage |
The optional shader input language, from the IEnums::ShaderLanguage enumeration. | |
UInt32 | mDataOffset |
An offset into the chunk where the shader code data is stored. See IffOffset(). | |
UInt32 | mDataByteSize |
The total size in bytes of the contained shader data. | |
Additional Inherited Members | |
![]() | |
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... | |
![]() | |
UInt32 | mFourCC |
The FourCC chunk identifier. More... | |
UInt32 | mSize |
The size of this chunk minus sizeof(IffChunk). More... | |
anonymous enum |
IFF identifiers.
Enumerator | |
---|---|
FOURCC | The four character code identifying this chunk as a HeaderChunk. |