All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RE_ShadowMap Class Reference

#include <RE_ShadowMap.h>

Public Member Functions

 RE_ShadowMap (const RE_Light *light, int mapsize)
 ~RE_ShadowMap ()
void setMultiMap (bool m)
bool isMultiMap () const
void useLinearDepthMap (bool ld)
bool usesLinearDepthMap () const
void getShadowMapTransform (RE_Render *r, bool bias, UT_Matrix4F *mat=NULL, bool cube=false, RE_TextureCubeFace face=RE_TEXTURE_CUBE_POS_X, int area_index=0, int xform_mask=0x3)
bool prepShadowMapRender (RE_Render *r, RE_TextureCubeFace face=RE_TEXTURE_CUBE_POS_X, int area_index=0)
void finishShadowMapRender (RE_Render *r, RE_TextureCubeFace face=RE_TEXTURE_CUBE_POS_X, int area_index=0)
void useShadowMap (RE_Render *r, RE_Shader *sh, bool ison)
bool useSeparatePointShadowMaps (RE_Render *r) const
void setAreaLightShape (RE_LightAreaShape sh)
RE_LightAreaShape getAreaLightShape () const
int getNumAreaMaps () const
RE_TexturegetShadowMap (int area_index=0)
void setVersion (int64 version)
int64 getVersion () const
void setFrameTime (fpreal t)
fpreal getFrameTime () const
void getZClipRange (fpreal &n, fpreal &f)

Static Public Member Functions

static UT_Matrix4D computeCubeTransform (RE_TextureCubeFace face, UT_Vector4 position, UT_Matrix4 transform)

Detailed Description

Definition at line 36 of file RE_ShadowMap.h.

Constructor & Destructor Documentation

RE_ShadowMap::RE_ShadowMap ( const RE_Light light,
int  mapsize 
RE_ShadowMap::~RE_ShadowMap ( )

Member Function Documentation

static UT_Matrix4D RE_ShadowMap::computeCubeTransform ( RE_TextureCubeFace  face,
UT_Vector4  position,
UT_Matrix4  transform 
void RE_ShadowMap::finishShadowMapRender ( RE_Render r,
RE_TextureCubeFace  face = RE_TEXTURE_CUBE_POS_X,
int  area_index = 0 
RE_LightAreaShape RE_ShadowMap::getAreaLightShape ( ) const

Definition at line 97 of file RE_ShadowMap.h.

fpreal RE_ShadowMap::getFrameTime ( ) const

Definition at line 110 of file RE_ShadowMap.h.

int RE_ShadowMap::getNumAreaMaps ( ) const
RE_Texture* RE_ShadowMap::getShadowMap ( int  area_index = 0)
void RE_ShadowMap::getShadowMapTransform ( RE_Render r,
bool  bias,
UT_Matrix4F mat = NULL,
bool  cube = false,
RE_TextureCubeFace  face = RE_TEXTURE_CUBE_POS_X,
int  area_index = 0,
int  xform_mask = 0x3 
int64 RE_ShadowMap::getVersion ( ) const

Definition at line 107 of file RE_ShadowMap.h.

void RE_ShadowMap::getZClipRange ( fpreal n,
fpreal f 

Definition at line 113 of file RE_ShadowMap.h.

bool RE_ShadowMap::isMultiMap ( ) const
bool RE_ShadowMap::prepShadowMapRender ( RE_Render r,
RE_TextureCubeFace  face = RE_TEXTURE_CUBE_POS_X,
int  area_index = 0 
void RE_ShadowMap::setAreaLightShape ( RE_LightAreaShape  sh)

Definition at line 96 of file RE_ShadowMap.h.

void RE_ShadowMap::setFrameTime ( fpreal  t)

Definition at line 109 of file RE_ShadowMap.h.

void RE_ShadowMap::setMultiMap ( bool  m)
void RE_ShadowMap::setVersion ( int64  version)

Definition at line 106 of file RE_ShadowMap.h.

void RE_ShadowMap::useLinearDepthMap ( bool  ld)
bool RE_ShadowMap::useSeparatePointShadowMaps ( RE_Render r) const
void RE_ShadowMap::useShadowMap ( RE_Render r,
RE_Shader sh,
bool  ison 
bool RE_ShadowMap::usesLinearDepthMap ( ) const

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