#include <texture.h>
|
| 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 | create (Material *pMaterial) |
|
virtual void | update (Material *pMaterial) |
|
virtual void | addShaderResources (Material *pMaterial)=0 |
|
virtual void | addShaderCode (Material *pMaterial)=0 |
|
Engine::Texture * | getTexture () |
|
virtual void | setTexture (Engine::Texture *pTexture) |
|
bool | isProjection () |
|
bool | isMixed () |
|
| Sampler (const char *samplerName, const Attribute &attribute) |
|
virtual | ~Sampler () |
|
uint | getSamplerIndex () |
|
◆ Texture() [1/2]
Texel::Texture::Texture |
( |
const char * | baseSamplerName, |
|
|
TextureType | target, |
|
|
const Attribute & | attribute, |
|
|
bool | projection, |
|
|
bool | mixed ) |
◆ Texture() [2/2]
Texel::Texture::Texture |
( |
Engine::Texture * | pTexture, |
|
|
const char * | baseSamplerName, |
|
|
TextureType | target, |
|
|
const Attribute & | attribute, |
|
|
bool | projection, |
|
|
bool | mixed ) |
◆ ~Texture()
virtual Texel::Texture::~Texture |
( |
| ) |
|
|
virtual |
◆ addShaderCode()
virtual void Texel::Texture::addShaderCode |
( |
Material * | pMaterial | ) |
|
|
pure virtual |
◆ addShaderResources()
virtual void Texel::Texture::addShaderResources |
( |
Material * | pMaterial | ) |
|
|
pure virtual |
◆ create()
virtual void Texel::Texture::create |
( |
Material * | pMaterial | ) |
|
|
virtual |
◆ getTexture()
Engine::Texture * Texel::Texture::getTexture |
( |
| ) |
|
|
inline |
◆ isMixed()
bool Texel::Texture::isMixed |
( |
| ) |
|
|
inline |
- Returns
- True if the sampled Texture is mixed in the fragment-shader.
◆ isProjection()
bool Texel::Texture::isProjection |
( |
| ) |
|
|
inline |
- Returns
- True if the sampled Texture is projected in the fragment-shader.
◆ setTexture()
virtual void Texel::Texture::setTexture |
( |
Engine::Texture * | pTexture | ) |
|
|
virtual |
- Parameters
-
Release | the current texture if set and set the pointer to a Texture or nullptr. |
◆ update()
virtual void Texel::Texture::update |
( |
Material * | pMaterial | ) |
|
|
virtual |
◆ mixed
bool Texel::Texture::mixed |
|
protected |
◆ projection
bool Texel::Texture::projection |
|
protected |
◆ pTexture
Engine::Texture* Texel::Texture::pTexture |
|
protected |
◆ target
The documentation for this class was generated from the following file: