Ult3D
Implementation of "Ultimate 3D Game Engine Design & Architecture" by Allan Sherrod
Loading...
Searching...
No Matches
Ult::TextureMapEffect Class Reference

#include <TextureMapEffect.h>

Inheritance diagram for Ult::TextureMapEffect:
Ult::Effect

Public Member Functions

 TextureMapEffect (const char *decalFile, std::vector< FilterType > *filters, RenderInterface *renderer)
 
 ~TextureMapEffect ()
 
void ApplyEffect ()
 
- Public Member Functions inherited from Ult::Effect
 Effect ()
 
virtual ~Effect ()
 
virtual void Release ()
 

Protected Attributes

Texture mDecalTexture
 
RenderInterfacemRenderer
 

Detailed Description

Effect that applies a single texture.

Constructor & Destructor Documentation

◆ TextureMapEffect()

Ult::TextureMapEffect::TextureMapEffect ( const char * decalFile,
std::vector< FilterType > * filters,
RenderInterface * renderer )
inline

TextureMapEffect constructor. Loads the texture from file with file name decalFile with the provided filters.

◆ ~TextureMapEffect()

Ult::TextureMapEffect::~TextureMapEffect ( )
inline

TextureMapEffect destructor.

Member Function Documentation

◆ ApplyEffect()

void Ult::TextureMapEffect::ApplyEffect ( )
inlinevirtual

Make the renderer to use this effect in texture slot 0.

Implements Ult::Effect.

Member Data Documentation

◆ mDecalTexture

Texture Ult::TextureMapEffect::mDecalTexture
protected

◆ mRenderer

RenderInterface* Ult::TextureMapEffect::mRenderer
protected

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