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

#include <Texture.h>

Inherits Zeni::Texture.

Public Member Functions

 Texture_DX9 (const String &filename, const bool &repeat)
 Texture_DX9 (const Image &image)
 Texture_DX9 (const Point2i &size, const bool &repeat)
 For render-to-texture. More...
virtual ~Texture_DX9 ()
virtual void apply_Texture () const
 Apply a Texture to upcoming polygons. More...
const Point2iget_size () const
 Get the resolution of the Texture on the GPU. More...
ID3DXRenderToSurfacerender_to_surface () const
- Public Member Functions inherited from Zeni::Texture
 Texture (const bool &repeat_)
virtual ~Texture ()


class Video_DX9

Additional Inherited Members

- Protected Attributes inherited from Zeni::Texture
const bool m_repeat

Detailed Description

Definition at line 145 of file Texture.h.

Constructor & Destructor Documentation

Zeni::Texture_DX9::Texture_DX9 ( const String filename,
const bool &  repeat 

Definition at line 311 of file Texture.cpp.

Zeni::Texture_DX9::Texture_DX9 ( const Image image)

Definition at line 319 of file Texture.cpp.

Zeni::Texture_DX9::~Texture_DX9 ( )

Definition at line 362 of file Texture.cpp.

Member Function Documentation

const Point2i & Zeni::Texture_DX9::get_size ( ) const

Get the resolution of the Texture on the GPU.

Implements Zeni::Texture.

Definition at line 54 of file Texture.hxx.

Referenced by Zeni::Video_DX9::get_render_target_size().

ID3DXRenderToSurface * Zeni::Texture_DX9::render_to_surface ( ) const

Definition at line 58 of file Texture.hxx.

Referenced by Zeni::Video_DX9::set_render_target().

Friends And Related Function Documentation

friend class Video_DX9

Definition at line 149 of file Texture.h.

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