OGRE-Next  2.3
Object-Oriented Graphics Rendering Engine
Ogre::ShadowTextureDefinition Class Reference

Local texture definition. More...

#include <OgreCompositorShadowNodeDef.h>

+ Inheritance diagram for Ogre::ShadowTextureDefinition:

Public Member Functions

 ShadowTextureDefinition (ShadowMapTechniques t, const String &texRefName, const Vector2 &_uvOffset, const Vector2 &_uvLength, uint8 _arrayIdx, size_t _light, size_t _split)
 
void _setSharesSetupWithIdx (size_t idx)
 
size_t getSharesSetupWith () const
 
IdString getTextureName () const
 
String getTextureNameStr () 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 *)
 
void * operator new (size_t sz)
 
void * operator new (size_t sz, const char *file, int line, const char *func)
 operator new, with debug line info More...
 
void * operator new (size_t sz, void *ptr)
 placement operator new More...
 
void * operator new[] (size_t sz)
 
void * operator new[] (size_t sz, const char *file, int line, const char *func)
 array operator new, with debug line info More...
 

Public Attributes

uint8 arrayIdx
 
float autoConstantBiasScale
 0 to disable. More...
 
float autoNormalOffsetBiasScale
 0 to disable. More...
 
float constantBiasScale
 Constant bias is per material (tweak HlmsDatablock::mShadowConstantBias). More...
 
size_t light
 
float normalOffsetBias
 Normal offset bias is per cascade / shadow map. More...
 
uint32 numSplits
 
uint32 numStableSplits
 
Real pssmLambda
 
ShadowMapTechniques shadowMapTechnique
 
size_t split
 
Real splitBlend
 
Real splitFade
 
Real splitPadding
 
Vector2 uvLength
 
Vector2 uvOffset
 
float xyPadding
 

Detailed Description

Local texture definition.

Constructor & Destructor Documentation

◆ ShadowTextureDefinition()

Ogre::ShadowTextureDefinition::ShadowTextureDefinition ( ShadowMapTechniques  t,
const String texRefName,
const Vector2 _uvOffset,
const Vector2 _uvLength,
uint8  _arrayIdx,
size_t  _light,
size_t  _split 
)
inline

Member Function Documentation

◆ _setSharesSetupWithIdx()

void Ogre::ShadowTextureDefinition::_setSharesSetupWithIdx ( size_t  idx)
inline

◆ getSharesSetupWith()

size_t Ogre::ShadowTextureDefinition::getSharesSetupWith ( ) const
inline

◆ getTextureName()

IdString Ogre::ShadowTextureDefinition::getTextureName ( ) const
inline

◆ getTextureNameStr()

String Ogre::ShadowTextureDefinition::getTextureNameStr ( ) const
inline

◆ 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

Member Data Documentation

◆ arrayIdx

uint8 Ogre::ShadowTextureDefinition::arrayIdx

◆ autoConstantBiasScale

float Ogre::ShadowTextureDefinition::autoConstantBiasScale

0 to disable.

Non-zero to increase bias based on orthographic projection's window size.

◆ autoNormalOffsetBiasScale

float Ogre::ShadowTextureDefinition::autoNormalOffsetBiasScale

0 to disable.

Non-zero to increase bias based on orthographic projection's window size.

◆ constantBiasScale

float Ogre::ShadowTextureDefinition::constantBiasScale

Constant bias is per material (tweak HlmsDatablock::mShadowConstantBias).

This value lets you multiply it 'mShadowConstantBias * constantBiasScale' per cascade / shadow map

This is applied on top of the autocalculated bias from autoConstantBiasScale

◆ light

size_t Ogre::ShadowTextureDefinition::light

◆ normalOffsetBias

float Ogre::ShadowTextureDefinition::normalOffsetBias

Normal offset bias is per cascade / shadow map.

This is applied on top of the autocalculated bias from autoNormalOffsetBiasScale

◆ numSplits

uint32 Ogre::ShadowTextureDefinition::numSplits

◆ numStableSplits

uint32 Ogre::ShadowTextureDefinition::numStableSplits

◆ pssmLambda

Real Ogre::ShadowTextureDefinition::pssmLambda

◆ shadowMapTechnique

ShadowMapTechniques Ogre::ShadowTextureDefinition::shadowMapTechnique

◆ split

size_t Ogre::ShadowTextureDefinition::split

◆ splitBlend

Real Ogre::ShadowTextureDefinition::splitBlend

◆ splitFade

Real Ogre::ShadowTextureDefinition::splitFade

◆ splitPadding

Real Ogre::ShadowTextureDefinition::splitPadding

◆ uvLength

Vector2 Ogre::ShadowTextureDefinition::uvLength

◆ uvOffset

Vector2 Ogre::ShadowTextureDefinition::uvOffset

◆ xyPadding

float Ogre::ShadowTextureDefinition::xyPadding

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