Om
1.0.0
A universal framework for multimedia simulation
|
A class that stores a shadow map texture and shadow map texture matrix for that texture. More...
#include <omGraphicsShadowMap.h>
Public Member Functions | |
ShadowMap () | |
Create a shadow map object with no associated texture. More... | |
ShadowMap (const Resource< Texture > &newTexture, const Matrix4 &newShadowTextureMatrix) | |
Create a shadow map object for the given shadow map texture and shadow texture matrix. More... | |
const Resource< Texture > & | getTexture () const |
Return a pointer to the texture that is used to store this shadow map. More... | |
void | setTexture (const Resource< Texture > &newTexture) |
Set a pointer to the texture that is used to store this shadow map. More... | |
const Matrix4 & | getMatrix () const |
Return a reference to the shadow texture matrix for this shadow map. More... | |
void | setMatrix (const Matrix4 &newShadowTextureMatrix) |
Set a pointer to the texture that is used to store this shadow map. More... | |
A class that stores a shadow map texture and shadow map texture matrix for that texture.
The texture matrix transforms points from world space into the normalized texture coordinate space for the light's shadow map.
|
inline |
Create a shadow map object with no associated texture.
|
inline |
Create a shadow map object for the given shadow map texture and shadow texture matrix.
Return a pointer to the texture that is used to store this shadow map.
Set a pointer to the texture that is used to store this shadow map.
|
inline |
Return a reference to the shadow texture matrix for this shadow map.
The texture matrix transforms points from world space into the normalized texture coordinate space for the light's shadow map.
|
inline |
Set a pointer to the texture that is used to store this shadow map.
The texture matrix transforms points from world space into the normalized texture coordinate space for the light's shadow map.