Murl::Resource::IShader::Iff::TextureChunk Struct Reference

An IFF chunk of a native shader resource storing a texture descriptor. More...

#include "murl_resource_i_shader.h"

Inheritance diagram for Murl::Resource::IShader::Iff::TextureChunk:

Public Types

enum  { FOURCC_CHUNK }
 IFF identifiers. More...
 

Public Attributes

UInt32 mLocation
 The sampler variable location or register number in the shader.
 
UInt32 mType
 The type of texture, from the IEnums::TextureType enumeration.
 
UInt32 mPrecision
 The variable precision, from the IEnums::ShaderVariablePrecision enumeration.
 
UInt32 mFlags
 Optional flags. Must be 0.
 
UInt32 mArraySize
 Array size. Currently not supported, must be 0.
 
Float mDefaultValue [IEnums::NUM_COLOR_COMPONENTS]
 The default values for each color component.
 
UInt32 mSemantic [IEnums::NUM_COLOR_COMPONENTS]
 The semantic for each color component, from the IEnums::TextureSemantic enumeration.
 
UInt32 mSemanticIndex [IEnums::NUM_COLOR_COMPONENTS]
 The semantic index for each color component.
 
UInt32 mNumberOfNames
 The total number of different names by which this sampler 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).
 

Detailed Description

An IFF chunk of a native shader resource storing a texture descriptor.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

IFF identifiers.

Enumerator
FOURCC_CHUNK 

The four character code identifying this chunk as a TextureChunk.


The documentation for this struct was generated from the following file:
  • murl_resource_i_shader.h


Copyright © 2011-2024 Spraylight GmbH.