OGRE 2.1
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
Ogre::HlmsUnlitDatablock Class Reference

Contains information needed by PBS (Physically Based Shading) for OpenGL 3+ & D3D11+. More...

#include <OgreHlmsUnlitDatablock.h>

+ Inheritance diagram for Ogre::HlmsUnlitDatablock:

Public Member Functions

 HlmsUnlitDatablock (IdString name, HlmsUnlit *creator, const HlmsMacroblock *macroblock, const HlmsBlendblock *blendblock, const HlmsParamVec &params)
 Valid parameters in params:
 
virtual ~HlmsUnlitDatablock ()
 
uint16 _getTextureIdx (uint8 texType) const
 Returns the internal index to the array in a texture array.
 
void _linkRenderable (Renderable *renderable)
 
void _unlinkRenderable (Renderable *renderable)
 
virtual void calculateHash ()
 Calculates the hashes needed for sorting by the RenderQueue (i.e. mTextureHash)
 
HlmsDatablockclone (String name) const
 Creates a copy of this datablock with the same settings, but a different name.
 
CompareFunction getAlphaTest (void) const
 
bool getAlphaTestShadowCasterOnly (void) const
 
float getAlphaTestThreshold (void) const
 
const Matrix4getAnimationMatrix (uint8 textureUnit) const
 
const ConstBufferPool::BufferPoolgetAssignedPool (void) const
 
uint32 getAssignedSlot (void) const
 
uint8 getBakedTextureIdx (uint8 texType) const
 Returns the index to mBakedTextures.
 
const HlmsBlendblockgetBlendblock (bool casterBlock=false) const
 
UnlitBlendModes getBlendMode (uint8 texType) const
 
ColourValue getColour (void) const
 Gets the current colour. The returned value is meaningless if mHasColour is false.
 
HlmsgetCreator (void) const
 
bool getEnableAnimationMatrix (uint8 textureUnit) const
 
bool getEnablePlanarReflection (uint8 textureUnit) const
 
void getFilenameAndResourceGroup (String const **outFilename, String const **outResourceGroup) const
 
const vector< Renderable * >::type & getLinkedRenderables (void) const
 
const HlmsMacroblockgetMacroblock (bool casterBlock=false) const
 
IdString getName (void) const
 
const StringgetNameStr (void) const
 
const HlmsSamplerblockgetSamplerblock (uint8 texType) const
 
TexturePtr getTexture (uint8 texType) const
 
uint8 getTextureUvSource (uint8 sourceType) const
 
bool hasColour (void) const
 If this returns false, the values of mR, mG, mB & mA will be ignored.
 
virtual bool hasCustomShadowMacroblock (void) const
 
void operator delete (void *ptr)
 
void operator delete (void *ptr, const char *, int, const char *)
 
void operator delete (void *ptr, void *)
 
void operator delete[] (void *ptr)
 
void operator delete[] (void *ptr, const char *, int, const char *)
 
voidoperator new (size_t sz)
 
voidoperator new (size_t sz, const char *file, int line, const char *func)
 operator new, with debug line info
 
voidoperator new (size_t sz, void *ptr)
 placement operator new
 
voidoperator new[] (size_t sz)
 
voidoperator new[] (size_t sz, const char *file, int line, const char *func)
 array operator new, with debug line info
 
virtual void saveTextures (const String &folderPath, set< String >::type &savedTextures, bool saveOitd, bool saveOriginal, HlmsTextureExportListener *listener)
 
virtual void setAlphaTest (CompareFunction compareFunction, bool shadowCasterOnly=false)
 Sets the alpha test to the given compare function.
 
virtual void setAlphaTestThreshold (float threshold)
 Alpha test's threshold.
 
void setAnimationMatrix (uint8 textureUnit, const Matrix4 &matrix)
 
void setBlendblock (const HlmsBlendblock &blendblock, bool casterBlock=false)
 Sets a new blendblock that matches the same parameter as the input.
 
void setBlendblock (const HlmsBlendblock *blendblock, bool casterBlock=false)
 Sets the blendblock from the given pointer that was already retrieved from the HlmsManager.
 
void setBlendMode (uint8 texType, UnlitBlendModes blendMode)
 Sets the blending mode (how the texture unit gets layered on top of the previous texture units).
 
void setColour (const ColourValue &diffuse)
 Sets a new colour value. Asserts if mHasColour is false.
 
void setEnableAnimationMatrix (uint8 textureUnit, bool bEnable)
 Enables the animation of the given texture unit.
 
void setEnablePlanarReflection (uint8 textureUnit, bool bEnable)
 Set to true if the texture at the given texture unit is a planar reflection texture.
 
void setMacroblock (const HlmsMacroblock &macroblock, bool casterBlock=false)
 Sets a new macroblock that matches the same parameter as the input.
 
void setMacroblock (const HlmsMacroblock *macroblock, bool casterBlock=false)
 Sets the macroblock from the given pointer that was already retrieved from the HlmsManager.
 
void setSamplerblock (uint8 texType, const HlmsSamplerblock &params)
 Sets a new sampler block to be associated with the texture (i.e.
 
void setTexture (uint8 texType, uint16 arrayIndex, const TexturePtr &newTexture, const HlmsSamplerblock *refParams=0)
 Sets a new texture for rendering.
 
void setTextureSwizzle (uint8 texType, uint8 r, uint8 g, uint8 b, uint8 a)
 Sets the final swizzle when sampling the given texture.
 
void setTextureUvSource (uint8 sourceType, uint8 uvSet)
 Sets which UV set to use for the given texture.
 
void setUseColour (bool useColour)
 Controls whether the value in.
 

Static Public Member Functions

static const chargetCmpString (CompareFunction compareFunction)
 

Public Attributes

uint16 mMacroblockHash [2]
 
float mShadowConstantBias
 
uint32 mTextureHash
 
Matrix4 mTextureMatrices [NUM_UNLIT_TEXTURE_TYPES]
 
uint8 mType
 

Static Public Attributes

static const uint8 A_MASK
 
static const uint8 B_MASK
 
static const uint8 G_MASK
 
static const size_t MaterialSizeInGpu
 
static const size_t MaterialSizeInGpuAligned
 
static const uint8 R_MASK
 

Friends

class HlmsUnlit
 

Detailed Description

Contains information needed by PBS (Physically Based Shading) for OpenGL 3+ & D3D11+.

Constructor & Destructor Documentation

◆ HlmsUnlitDatablock()

Ogre::HlmsUnlitDatablock::HlmsUnlitDatablock ( IdString  name,
HlmsUnlit creator,
const HlmsMacroblock macroblock,
const HlmsBlendblock blendblock,
const HlmsParamVec params 
)

Valid parameters in params:

Parameters
paramsdiffuse [r g b [a]] If absent, the values of mR, mG, mB & mA will be ignored by the pixel shader. When present, the rgba values can be specified. Default: Absent Default (when present): diffuse 1 1 1 1

diffuse_map [texture name] [#uv] Name of the diffuse texture for the base image (optional, otherwise a dummy is set) The #uv parameter is optional, and specifies the texcoord set that will be used. Valid range is [0; 8) If the Renderable doesn't have enough UV texcoords, HLMS will throw an exception.

Note: The UV set is evaluated when creating the Renderable cache.

diffuse_map1 [texture name] [blendmode] [#uv] Name of the diffuse texture that will be layered on top of the base image. The #uv parameter is optional. Valid range is [0; 8) The blendmode parameter is optional. Valid values are: NormalNonPremul, NormalPremul, Add, Subtract, Multiply, Multiply2x, Screen, Overlay, Lighten, Darken, GrainExtract, GrainMerge, Difference which are very similar to Photoshop/GIMP's blend modes. See Samples/Media/Hlms/GuiMobile/GLSL/BlendModes_piece_ps.glsl for the exact math. Default blendmode: NormalPremul Default uv: 0 Example: diffuse_map1 myTexture.png Add 3

diffuse_map2 through diffuse_map16 Same as diffuse_map1 but for subsequent layers to be applied on top of the previous images. You can't leave gaps (i.e. specify diffuse_map0 & diffuse_map2 but not diffuse_map1). Note that not all mobile HW supports 16 textures at the same time, thus we will just cut/ignore the extra textures that won't fit (we log a warning though).

animate <#tex_unit> [<#tex_unit> <#tex_unit> ... <#tex_unit>] Enables texture animation through a 4x4 matrix for the specified textures. Default: All texture animation/manipulation disabled. Example: animate 0 1 2 3 4 14 15

alpha_test [compare_func] [threshold] When present, mAlphaTestThreshold is used. compare_func is optional. Valid values are: less, less_equal, equal, greater, greater_equal, not_equal Threshold is optional, and a value in the range (0; 1) Default: alpha_test less 0.5 Example: alpha_test equal 0.1

◆ ~HlmsUnlitDatablock()

virtual Ogre::HlmsUnlitDatablock::~HlmsUnlitDatablock ( )
virtual

Member Function Documentation

◆ _getTextureIdx()

uint16 Ogre::HlmsUnlitDatablock::_getTextureIdx ( uint8  texType) const
inline

Returns the internal index to the array in a texture array.

Note: If there is no texture assigned to the given texType, returned value is undefined

◆ _linkRenderable()

void Ogre::HlmsDatablock::_linkRenderable ( Renderable renderable)
inherited

◆ _unlinkRenderable()

void Ogre::HlmsDatablock::_unlinkRenderable ( Renderable renderable)
inherited

◆ calculateHash()

virtual void Ogre::HlmsUnlitDatablock::calculateHash ( )
virtual

Calculates the hashes needed for sorting by the RenderQueue (i.e. mTextureHash)

Reimplemented from Ogre::HlmsDatablock.

◆ clone()

HlmsDatablock * Ogre::HlmsDatablock::clone ( String  name) const
inherited

Creates a copy of this datablock with the same settings, but a different name.

Parameters
nameName of the cloned datablock.

◆ getAlphaTest()

CompareFunction Ogre::HlmsDatablock::getAlphaTest ( void  ) const
inherited

◆ getAlphaTestShadowCasterOnly()

bool Ogre::HlmsDatablock::getAlphaTestShadowCasterOnly ( void  ) const
inherited

◆ getAlphaTestThreshold()

float Ogre::HlmsDatablock::getAlphaTestThreshold ( void  ) const
inlineinherited

◆ getAnimationMatrix()

const Matrix4 & Ogre::HlmsUnlitDatablock::getAnimationMatrix ( uint8  textureUnit) const

◆ getAssignedPool()

const ConstBufferPool::BufferPool * Ogre::ConstBufferPoolUser::getAssignedPool ( void  ) const
inlineinherited

◆ getAssignedSlot()

uint32 Ogre::ConstBufferPoolUser::getAssignedSlot ( void  ) const
inlineinherited

◆ getBakedTextureIdx()

uint8 Ogre::HlmsUnlitDatablock::getBakedTextureIdx ( uint8  texType) const

Returns the index to mBakedTextures.

Returns NUM_PBSM_TEXTURE_TYPES if there is no texture assigned to texType

◆ getBlendblock()

const HlmsBlendblock * Ogre::HlmsDatablock::getBlendblock ( bool  casterBlock = false) const
inlineinherited

◆ getBlendMode()

UnlitBlendModes Ogre::HlmsUnlitDatablock::getBlendMode ( uint8  texType) const

◆ getCmpString()

static const char * Ogre::HlmsDatablock::getCmpString ( CompareFunction  compareFunction)
staticinherited

◆ getColour()

ColourValue Ogre::HlmsUnlitDatablock::getColour ( void  ) const
inline

Gets the current colour. The returned value is meaningless if mHasColour is false.

◆ getCreator()

Hlms * Ogre::HlmsDatablock::getCreator ( void  ) const
inlineinherited

◆ getEnableAnimationMatrix()

bool Ogre::HlmsUnlitDatablock::getEnableAnimationMatrix ( uint8  textureUnit) const

◆ getEnablePlanarReflection()

bool Ogre::HlmsUnlitDatablock::getEnablePlanarReflection ( uint8  textureUnit) const

◆ getFilenameAndResourceGroup()

void Ogre::HlmsDatablock::getFilenameAndResourceGroup ( String const **  outFilename,
String const **  outResourceGroup 
) const
inherited
See also
Hlms::getFilenameAndResourceGroup. This operations is NOT fast. Might return null (if the datablock was removed from the Hlms but somehow is still alive) Usage: String const *filename; String const *resourceGroup; datablock->getFilenameAndResourceGroup( &filename, &resourceGroup ); if( filename && resourceGroup && !filename->empty() && !resourceGroup->empty() ) { //Valid filename & resource group. }

◆ getLinkedRenderables()

const vector< Renderable * >::type & Ogre::HlmsDatablock::getLinkedRenderables ( void  ) const
inlineinherited

◆ getMacroblock()

const HlmsMacroblock * Ogre::HlmsDatablock::getMacroblock ( bool  casterBlock = false) const
inlineinherited

◆ getName()

IdString Ogre::HlmsDatablock::getName ( void  ) const
inlineinherited

◆ getNameStr()

const String * Ogre::HlmsDatablock::getNameStr ( void  ) const
inherited
See also
Hlms::getNameStr. This operations is NOT fast. Might return null (if the datablock was removed from the Hlms but somehow is still alive)

◆ getSamplerblock()

const HlmsSamplerblock * Ogre::HlmsUnlitDatablock::getSamplerblock ( uint8  texType) const

◆ getTexture()

TexturePtr Ogre::HlmsUnlitDatablock::getTexture ( uint8  texType) const

◆ getTextureUvSource()

uint8 Ogre::HlmsUnlitDatablock::getTextureUvSource ( uint8  sourceType) const

◆ hasColour()

bool Ogre::HlmsUnlitDatablock::hasColour ( void  ) const
inline

If this returns false, the values of mR, mG, mB & mA will be ignored.

See also
setUseColour.

◆ hasCustomShadowMacroblock()

virtual bool Ogre::HlmsDatablock::hasCustomShadowMacroblock ( void  ) const
virtualinherited

Reimplemented in Ogre::HlmsPbsDatablock.

◆ operator delete() [1/3]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void ptr)
inlineinherited

◆ operator delete() [2/3]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void ptr,
const char ,
int  ,
const char  
)
inlineinherited

◆ operator delete() [3/3]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void ptr,
void  
)
inlineinherited

◆ operator delete[]() [1/2]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void ptr)
inlineinherited

◆ operator delete[]() [2/2]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void ptr,
const char ,
int  ,
const char  
)
inlineinherited

◆ operator new() [1/3]

template<class Alloc >
void * Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz)
inlineinherited

◆ operator new() [2/3]

template<class Alloc >
void * Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz,
const char file,
int  line,
const char func 
)
inlineinherited

operator new, with debug line info

◆ operator new() [3/3]

template<class Alloc >
void * Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz,
void ptr 
)
inlineinherited

placement operator new

◆ operator new[]() [1/2]

template<class Alloc >
void * Ogre::AllocatedObject< Alloc >::operator new[] ( size_t  sz)
inlineinherited

◆ operator new[]() [2/2]

template<class Alloc >
void * Ogre::AllocatedObject< Alloc >::operator new[] ( size_t  sz,
const char file,
int  line,
const char func 
)
inlineinherited

array operator new, with debug line info

◆ saveTextures()

virtual void Ogre::HlmsDatablock::saveTextures ( const String folderPath,
set< String >::type &  savedTextures,
bool  saveOitd,
bool  saveOriginal,
HlmsTextureExportListener listener 
)
virtualinherited
Remarks
It's possible to set both saveOitd & saveOriginal to true, but will likely double storage requirements (2x as many textures). Setting both to true is useful for troubleshooting obscure Ogre bugs.
Parameters
folderPathFolder where to dump the textures.
savedTextures[in/out] Set of texture names. Textures whose name is already in the set won't be saved again. Textures that were saved will be inserted into the set.
saveOitdWhen true, we will download the texture from GPU and save it in OITD format. OITD is faster to load as it's stored in Ogre's native format it understands, but it cannot be opened by traditional image editors; also OITD is not backwards compatible with older versions of Ogre.
saveOriginalWhen true, we will attempt to read the raw filestream of the original texture and save it (i.e. copy the original png/dds/etc file).

Reimplemented in Ogre::HlmsPbsDatablock.

◆ setAlphaTest()

virtual void Ogre::HlmsDatablock::setAlphaTest ( CompareFunction  compareFunction,
bool  shadowCasterOnly = false 
)
virtualinherited

Sets the alpha test to the given compare function.

CMPF_ALWAYS_PASS means disabled.

See also
mAlphaTestThreshold. Calling this function triggers a HlmsDatablock::flushRenderables
Remarks
It is to the derived implementation to actually implement the alpha test.
Parameters
compareFunctionCompare function to use. Default is CMPF_ALWAYS_PASS, which means disabled. Note: CMPF_ALWAYS_FAIL is not supported. Set a negative threshold to workaround this issue.

◆ setAlphaTestThreshold()

virtual void Ogre::HlmsDatablock::setAlphaTestThreshold ( float  threshold)
virtualinherited

Alpha test's threshold.

See also
setAlphaTest
Parameters
thresholdValue typically in the range [0; 1)

Reimplemented in Ogre::HlmsPbsDatablock, and Ogre::HlmsPbsMobileDatablock.

◆ setAnimationMatrix()

void Ogre::HlmsUnlitDatablock::setAnimationMatrix ( uint8  textureUnit,
const Matrix4 matrix 
)

◆ setBlendblock() [1/2]

void Ogre::HlmsDatablock::setBlendblock ( const HlmsBlendblock blendblock,
bool  casterBlock = false 
)
inherited

Sets a new blendblock that matches the same parameter as the input.

Decreases the reference count of the previous mBlendblock. Runs an O(N) search to get the right block. Calling this function triggers a HlmsDatablock::flushRenderables

Parameters
blendblock@See HlmsManager::getBlendblock
casterBlockTrue to directly set the blendblock to be used during the shadow mapping's caster pass. Note that when false, it will reset the caster block to the same as the regular one.

◆ setBlendblock() [2/2]

void Ogre::HlmsDatablock::setBlendblock ( const HlmsBlendblock blendblock,
bool  casterBlock = false 
)
inherited

Sets the blendblock from the given pointer that was already retrieved from the HlmsManager.

Unlike the other overload, this operation is O(1). Calling this function triggers a HlmsDatablock::flushRenderables

Parameters
blendblockA valid block. The reference count is increased inside this function.
casterBlockTrue to directly set the blendblock to be used during the shadow mapping's caster pass. Note that when false, it will reset the caster block to the same as the regular one.

◆ setBlendMode()

void Ogre::HlmsUnlitDatablock::setBlendMode ( uint8  texType,
UnlitBlendModes  blendMode 
)

Sets the blending mode (how the texture unit gets layered on top of the previous texture units).

Calling this function triggers a HlmsDatablock::flushRenderables.

Parameters
texTypeThe texture unit. Must be in range [1; NUM_UNLIT_TEXTURE_TYPES) The value 0 is ignored.
blendModeThe blending mode to use.

◆ setColour()

void Ogre::HlmsUnlitDatablock::setColour ( const ColourValue diffuse)

Sets a new colour value. Asserts if mHasColour is false.

◆ setEnableAnimationMatrix()

void Ogre::HlmsUnlitDatablock::setEnableAnimationMatrix ( uint8  textureUnit,
bool  bEnable 
)

Enables the animation of the given texture unit.

Calling this function triggers a HlmsDatablock::flushRenderables.

Parameters
textureUnitTexture unit. Must be in range [0; NUM_UNLIT_TEXTURE_TYPES)
bEnableWhether to enable or disable. Default is disabled.

◆ setEnablePlanarReflection()

void Ogre::HlmsUnlitDatablock::setEnablePlanarReflection ( uint8  textureUnit,
bool  bEnable 
)

Set to true if the texture at the given texture unit is a planar reflection texture.

UVs will be ignored for that texture unit. Calling this function triggers a HlmsDatablock::flushRenderables.

Parameters
textureUnitTexture unit. Must be in range [0; NUM_UNLIT_TEXTURE_TYPES)
bEnableWhether to enable or disable. Default is disabled.

◆ setMacroblock() [1/2]

void Ogre::HlmsDatablock::setMacroblock ( const HlmsMacroblock macroblock,
bool  casterBlock = false 
)
inherited

Sets a new macroblock that matches the same parameter as the input.

Decreases the reference count of the previously set one. Runs an O(N) search to get the right block. Calling this function triggers a HlmsDatablock::flushRenderables

Parameters
macroblock@See HlmsManager::getMacroblock
casterBlockTrue to directly set the macroblock to be used during the shadow mapping's caster pass. Note that when false, it will automatically reset the caster's block according to HlmsManager::setShadowMappingUseBackFaces setting.

◆ setMacroblock() [2/2]

void Ogre::HlmsDatablock::setMacroblock ( const HlmsMacroblock macroblock,
bool  casterBlock = false 
)
inherited

Sets the macroblock from the given pointer that was already retrieved from the HlmsManager.

Unlike the other overload, this operation is O(1). Calling this function triggers a HlmsDatablock::flushRenderables

Parameters
macroblockA valid block. The reference count is increased inside this function.
casterBlockTrue to directly set the macroblock to be used during the shadow mapping's caster pass. Note that when false, it will automatically reset the caster's block according to HlmsManager::setShadowMappingUseBackFaces setting.

◆ setSamplerblock()

void Ogre::HlmsUnlitDatablock::setSamplerblock ( uint8  texType,
const HlmsSamplerblock params 
)

Sets a new sampler block to be associated with the texture (i.e.

filtering mode, addressing modes, etc). If the samplerblock changes, this function will always trigger a HlmsDatablock::flushRenderables

Parameters
texTypeTexture unit. Must be in range [0; NUM_UNLIT_TEXTURE_TYPES)
paramsThe sampler block to use as reference.

◆ setTexture()

void Ogre::HlmsUnlitDatablock::setTexture ( uint8  texType,
uint16  arrayIndex,
const TexturePtr newTexture,
const HlmsSamplerblock refParams = 0 
)

Sets a new texture for rendering.

Calling this function may trigger an HlmsDatablock::flushRenderables if the texture or the samplerblock changes. Won't be called if only the arrayIndex changes

Parameters
texTypeTexture unit. Must be in range [0; NUM_UNLIT_TEXTURE_TYPES)
arrayIndexThe index in the array texture.
newTextureTexture to change to. If it is null and previously wasn't (or viceversa), will trigger HlmsDatablock::flushRenderables.
paramsOptional. We'll create (or retrieve an existing) samplerblock based on the input parameters. When null, we leave the previously set samplerblock (if a texture is being set, and if no samplerblock was set, we'll create a default one)

◆ setTextureSwizzle()

void Ogre::HlmsUnlitDatablock::setTextureSwizzle ( uint8  texType,
uint8  r,
uint8  g,
uint8  b,
uint8  a 
)

Sets the final swizzle when sampling the given texture.

e.g. calling setTextureSwizzle( 0, R_MASK, G_MASK, R_MASK, G_MASK ); will generated the following pixel shader: vec4 texColour = texture( tex, uv ).xyxy;

Calling this function triggers a HlmsDatablock::flushRenderables.

Parameters
texTypeTexture unit. Must be in range [0; NUM_UNLIT_TEXTURE_TYPES)
rWhere to source the red channel from. Must be R_MASK, G_MASK, B_MASK or A_MASK. Default: R_MASK
gWhere to source the green channel from. Default: G_MASK
bWhere to source the blue channel from. Default: B_MASK
aWhere to source the alpha channel from. Default: A_MASK

◆ setTextureUvSource()

void Ogre::HlmsUnlitDatablock::setTextureUvSource ( uint8  sourceType,
uint8  uvSet 
)

Sets which UV set to use for the given texture.

Calling this function triggers a HlmsDatablock::flushRenderables.

Parameters
sourceTypeSource texture to modify. Must be in range [0; NUM_UNLIT_TEXTURE_TYPES)
uvSetUV coordinate set. Value must be between in range [0; 8)

◆ setUseColour()

void Ogre::HlmsUnlitDatablock::setUseColour ( bool  useColour)

Controls whether the value in.

See also
setColour is used. Calling this function implies calling
HlmsDatablock::flushRenderables.

Friends And Related Symbol Documentation

◆ HlmsUnlit

Member Data Documentation

◆ A_MASK

const uint8 Ogre::HlmsUnlitDatablock::A_MASK
static

◆ B_MASK

const uint8 Ogre::HlmsUnlitDatablock::B_MASK
static

◆ G_MASK

const uint8 Ogre::HlmsUnlitDatablock::G_MASK
static

◆ MaterialSizeInGpu

const size_t Ogre::HlmsUnlitDatablock::MaterialSizeInGpu
static

◆ MaterialSizeInGpuAligned

const size_t Ogre::HlmsUnlitDatablock::MaterialSizeInGpuAligned
static

◆ mMacroblockHash

uint16 Ogre::HlmsDatablock::mMacroblockHash[2]
inherited

◆ mShadowConstantBias

float Ogre::HlmsDatablock::mShadowConstantBias
inherited

◆ mTextureHash

uint32 Ogre::HlmsDatablock::mTextureHash
inherited

◆ mTextureMatrices

Matrix4 Ogre::HlmsUnlitDatablock::mTextureMatrices[NUM_UNLIT_TEXTURE_TYPES]

◆ mType

uint8 Ogre::HlmsDatablock::mType
inherited

◆ R_MASK

const uint8 Ogre::HlmsUnlitDatablock::R_MASK
static

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