zenilib
0.5.3.0
|
An Abstraction of a Texture. More...
#include <Texture.h>
Inherited by Zeni::Sprite, Zeni::Texture_DX9, and Zeni::Texture_GL.
Public Member Functions | |
Texture (const bool &repeat_) | |
virtual | ~Texture () |
virtual void | apply_Texture () const =0 |
Apply a Texture to upcoming polygons. More... | |
virtual const Point2i & | get_size () const =0 |
Get the resolution of the Texture on the GPU. More... | |
Protected Attributes | |
const bool | m_repeat |
An Abstraction of a Texture.
A Texture can be applied to polygons in any supported rendering engine.
Contact: bazal d@ze nipex .com
|
pure virtual |
Apply a Texture to upcoming polygons.
Implemented in Zeni::Texture_DX9, Zeni::Texture_GL, and Zeni::Sprite.
Referenced by Zeni::Video_GL_Fixed::apply_Texture(), Zeni::Video_GL_Shader::apply_Texture(), and Zeni::Video_DX9::apply_Texture().
Get the resolution of the Texture on the GPU.
Implemented in Zeni::Texture_DX9, Zeni::Texture_GL, and Zeni::Sprite.
|
protected |
Definition at line 74 of file Texture.h.
Referenced by Zeni::Texture_GL::apply_Texture(), Zeni::Texture_DX9::apply_Texture(), and Zeni::Texture_GL::Texture_GL().