OGRE  2.2.4
Object-Oriented Graphics Rendering Engine
Ogre::IrradianceVolume Class Reference

#include <OgreIrradianceVolume.h>

Public Member Functions

 IrradianceVolume (HlmsManager *hlmsManager)
 
 ~IrradianceVolume ()
 
void changeVolumeData (uint32 x, uint32 y, uint32 z, uint32 direction_id, const Vector3 &delta)
 
void clearVolumeData ()
 
void createIrradianceVolumeTexture (uint32 numBlocksX, uint32 numBlocksY, uint32 numBlocksZ)
 
void destroyIrradianceVolumeTexture ()
 
void freeMemory ()
 
bool getFadeAttenuationOverDistace (void) const
 
const Vector3getIrradianceCellSize (void) const
 
float getIrradianceMaxPower (void) const
 
const Vector3getIrradianceOrigin (void) const
 
TextureGpugetIrradianceVolumeTexture (void) const
 
const HlmsSamplerblockgetIrradSamplerblock (void) const
 
uint32 getNumBlocksX (void) const
 
uint32 getNumBlocksY (void) const
 
uint32 getNumBlocksZ (void) const
 
float getPowerScale (void) const
 
void setFadeAttenuationOverDistace (bool fade)
 Not really used. It's only use is keeping track of creation parameters. More...
 
void setIrradianceCellSize (const Vector3 &cellSize)
 
void setIrradianceMaxPower (float power)
 Not really used. It's only use is keeping track of creation parameters. More...
 
void setIrradianceOrigin (const Vector3 &origin)
 
void setPowerScale (float power)
 
void updateIrradianceVolumeTexture ()
 

Static Public Member Functions

static void gaussFilter (float *RESTRICT_ALIAS dstData, float *RESTRICT_ALIAS srcData, size_t texWidth, size_t texHeight, size_t texDepth)
 
static void gaussFilterX (float *RESTRICT_ALIAS dstData, float *RESTRICT_ALIAS srcData, size_t texWidth, size_t texHeight, size_t texDepth, const float *RESTRICT_ALIAS kernel, int kernelStart, int kernelEnd)
 
static void gaussFilterY (float *RESTRICT_ALIAS dstData, float *RESTRICT_ALIAS srcData, size_t texWidth, size_t texHeight, size_t texDepth, const float *RESTRICT_ALIAS kernel, int kernelStart, int kernelEnd)
 
static void gaussFilterZ (float *RESTRICT_ALIAS dstData, float *RESTRICT_ALIAS srcData, size_t texWidth, size_t texHeight, size_t texDepth, const float *RESTRICT_ALIAS kernel, int kernelStart, int kernelEnd)
 

Constructor & Destructor Documentation

◆ IrradianceVolume()

Ogre::IrradianceVolume::IrradianceVolume ( HlmsManager hlmsManager)

◆ ~IrradianceVolume()

Ogre::IrradianceVolume::~IrradianceVolume ( )

Member Function Documentation

◆ changeVolumeData()

void Ogre::IrradianceVolume::changeVolumeData ( uint32  x,
uint32  y,
uint32  z,
uint32  direction_id,
const Vector3 delta 
)

◆ clearVolumeData()

void Ogre::IrradianceVolume::clearVolumeData ( )

◆ createIrradianceVolumeTexture()

void Ogre::IrradianceVolume::createIrradianceVolumeTexture ( uint32  numBlocksX,
uint32  numBlocksY,
uint32  numBlocksZ 
)

◆ destroyIrradianceVolumeTexture()

void Ogre::IrradianceVolume::destroyIrradianceVolumeTexture ( )

◆ freeMemory()

void Ogre::IrradianceVolume::freeMemory ( )

◆ gaussFilter()

static void Ogre::IrradianceVolume::gaussFilter ( float *RESTRICT_ALIAS  dstData,
float *RESTRICT_ALIAS  srcData,
size_t  texWidth,
size_t  texHeight,
size_t  texDepth 
)
static

◆ gaussFilterX()

static void Ogre::IrradianceVolume::gaussFilterX ( float *RESTRICT_ALIAS  dstData,
float *RESTRICT_ALIAS  srcData,
size_t  texWidth,
size_t  texHeight,
size_t  texDepth,
const float *RESTRICT_ALIAS  kernel,
int  kernelStart,
int  kernelEnd 
)
static

◆ gaussFilterY()

static void Ogre::IrradianceVolume::gaussFilterY ( float *RESTRICT_ALIAS  dstData,
float *RESTRICT_ALIAS  srcData,
size_t  texWidth,
size_t  texHeight,
size_t  texDepth,
const float *RESTRICT_ALIAS  kernel,
int  kernelStart,
int  kernelEnd 
)
static

◆ gaussFilterZ()

static void Ogre::IrradianceVolume::gaussFilterZ ( float *RESTRICT_ALIAS  dstData,
float *RESTRICT_ALIAS  srcData,
size_t  texWidth,
size_t  texHeight,
size_t  texDepth,
const float *RESTRICT_ALIAS  kernel,
int  kernelStart,
int  kernelEnd 
)
static

◆ getFadeAttenuationOverDistace()

bool Ogre::IrradianceVolume::getFadeAttenuationOverDistace ( void  ) const
inline

◆ getIrradianceCellSize()

const Vector3& Ogre::IrradianceVolume::getIrradianceCellSize ( void  ) const
inline

◆ getIrradianceMaxPower()

float Ogre::IrradianceVolume::getIrradianceMaxPower ( void  ) const
inline

◆ getIrradianceOrigin()

const Vector3& Ogre::IrradianceVolume::getIrradianceOrigin ( void  ) const
inline

◆ getIrradianceVolumeTexture()

TextureGpu* Ogre::IrradianceVolume::getIrradianceVolumeTexture ( void  ) const
inline

◆ getIrradSamplerblock()

const HlmsSamplerblock* Ogre::IrradianceVolume::getIrradSamplerblock ( void  ) const
inline

◆ getNumBlocksX()

uint32 Ogre::IrradianceVolume::getNumBlocksX ( void  ) const
inline

◆ getNumBlocksY()

uint32 Ogre::IrradianceVolume::getNumBlocksY ( void  ) const
inline

◆ getNumBlocksZ()

uint32 Ogre::IrradianceVolume::getNumBlocksZ ( void  ) const
inline

◆ getPowerScale()

float Ogre::IrradianceVolume::getPowerScale ( void  ) const
inline

◆ setFadeAttenuationOverDistace()

void Ogre::IrradianceVolume::setFadeAttenuationOverDistace ( bool  fade)
inline

Not really used. It's only use is keeping track of creation parameters.

◆ setIrradianceCellSize()

void Ogre::IrradianceVolume::setIrradianceCellSize ( const Vector3 cellSize)
inline

◆ setIrradianceMaxPower()

void Ogre::IrradianceVolume::setIrradianceMaxPower ( float  power)
inline

Not really used. It's only use is keeping track of creation parameters.

◆ setIrradianceOrigin()

void Ogre::IrradianceVolume::setIrradianceOrigin ( const Vector3 origin)
inline

◆ setPowerScale()

void Ogre::IrradianceVolume::setPowerScale ( float  power)
inline

◆ updateIrradianceVolumeTexture()

void Ogre::IrradianceVolume::updateIrradianceVolumeTexture ( )

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