Rasterfarm-SDK
Loading...
Searching...
No Matches
Texel::TextureCube Class Reference

#include <texturecube.h>

Inheritance diagram for Texel::TextureCube:
Texel::Texture Texel::Sampler Component

Public Member Functions

 TextureCube (Engine::Texture *pTexture, const Attribute &attribute)
 
virtual ~TextureCube ()
 
virtual void create (Material *pMaterial)
 
virtual void addShaderResources (Material *pMaterial)
 
virtual void addShaderCode (Material *pMaterial)
 
- 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 ()
 

Protected Attributes

Render::NormalVertexpNormalVertex
 
Render::NormalMatrixpNormalMatrix
 
- 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
 

Additional Inherited Members

- Protected Member Functions inherited from Texel::Sampler
void setSamplerName (uint samplerIndex)
 

Constructor & Destructor Documentation

◆ TextureCube()

Texel::TextureCube::TextureCube ( Engine::Texture * pTexture,
const Attribute & attribute )

◆ ~TextureCube()

virtual Texel::TextureCube::~TextureCube ( )
virtual

Member Function Documentation

◆ addShaderCode()

virtual void Texel::TextureCube::addShaderCode ( Material * pMaterial)
virtual

Implements Texel::Texture.

◆ addShaderResources()

virtual void Texel::TextureCube::addShaderResources ( Material * pMaterial)
virtual

Implements Texel::Texture.

◆ create()

virtual void Texel::TextureCube::create ( Material * pMaterial)
virtual

Reimplemented from Texel::Texture.

Member Data Documentation

◆ pNormalMatrix

Render::NormalMatrix* Texel::TextureCube::pNormalMatrix
protected

Pointer to component containing the normal-matrix. Normal2D will only allocate if does not exist.

◆ pNormalVertex

Render::NormalVertex* Texel::TextureCube::pNormalVertex
protected

Pointer to component containing the normal-attribute array. Normal2D will only allocate if does not exist.


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