All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Zeni::Texture Class Referenceabstract

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 Point2iget_size () const =0
 Get the resolution of the Texture on the GPU. More...

Protected Attributes

const bool m_repeat

Detailed Description

An Abstraction of a Texture.

A Texture can be applied to polygons in any supported rendering engine.

Created with a call to get_Video().load_Texture(...)

Contact: bazal.nosp@m.d@ze.nosp@m.nipex.nosp@m..com

Definition at line 61 of file Texture.h.

Constructor & Destructor Documentation

Zeni::Texture::Texture ( const bool &  repeat_)

Definition at line 66 of file Texture.h.

virtual Zeni::Texture::~Texture ( )

Definition at line 67 of file Texture.h.

Member Function Documentation

virtual void Zeni::Texture::apply_Texture ( ) const
pure virtual
virtual const Point2i& Zeni::Texture::get_size ( ) const
pure virtual

Get the resolution of the Texture on the GPU.

Implemented in Zeni::Texture_DX9, Zeni::Texture_GL, and Zeni::Sprite.

Member Data Documentation

const bool Zeni::Texture::m_repeat

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