Rasterfarm-SDK
|
#include <reflection2d.h>
Public Member Functions | |
Reflection2D (bool dynamic, uint faceIndex, const Attribute &attribute) | |
virtual | ~Reflection2D () |
virtual void | create (Material *pMaterial) |
virtual void | addShaderResources (Material *pMaterial) |
virtual void | addShaderCode (Material *pMaterial) |
void | setEnabled (bool enabled) |
bool | isDynamic () |
uint | getGeometryNormalIndex () |
Public Member Functions inherited from Texel::Texture | |
Texture (const char *baseSamplerName, TextureType target, const Attribute &attribute, bool projection, bool mixed) | |
Texture (Engine::Texture *pTexture, const char *baseSamplerName, TextureType target, const Attribute &attribute, bool projection, bool mixed) | |
virtual | ~Texture () |
virtual void | update (Material *pMaterial) |
Engine::Texture * | getTexture () |
virtual void | setTexture (Engine::Texture *pTexture) |
bool | isProjection () |
bool | isMixed () |
Public Member Functions inherited from Texel::Sampler | |
Sampler (const char *samplerName, const Attribute &attribute) | |
virtual | ~Sampler () |
uint | getSamplerIndex () |
Public Attributes | |
int | enabled |
bool | dynamic |
uint | faceIndex |
Matrix4f * | pTransform |
String | enabledStr |
Static Public Attributes | |
static const String | enabledStrBase |
static String | reflectionCoordString |
Additional Inherited Members | |
Protected Member Functions inherited from Texel::Sampler | |
void | setSamplerName (uint samplerIndex) |
Protected Attributes inherited from Texel::Texture | |
Engine::Texture * | pTexture |
TextureType | target |
bool | projection |
bool | mixed |
Protected Attributes inherited from Texel::Sampler | |
String | samplerName |
TextureUnit | samplerIndex |
This component renders a single planar-reflection to texture2D.
Texel::Reflection2D::Reflection2D | ( | bool | dynamic, |
uint | faceIndex, | ||
const Attribute & | attribute ) |
flag | to indicate need for updating by rendering scene. |
index | of the Geometry::normal. |
|
virtual |
|
virtual |
Implements Texel::Texture.
|
virtual |
Implements Texel::Texture.
|
virtual |
Reimplemented from Texel::Texture.
|
inline |
|
inline |
void Texel::Reflection2D::setEnabled | ( | bool | enabled | ) |
bool Texel::Reflection2D::dynamic |
int Texel::Reflection2D::enabled |
String Texel::Reflection2D::enabledStr |
|
static |
uint Texel::Reflection2D::faceIndex |
Matrix4f* Texel::Reflection2D::pTransform |
|
static |