arsa
2.7
|
Interface of a Render Target. More...
#include <IRenderTarget.h>
Public Member Functions | |
IRenderTarget () | |
constructor More... | |
const core::array< ITexture * > & | getTexture () const |
Returns an array of previously set textures. More... | |
ITexture * | getDepthStencil () const |
Returns a of previously set depth / depth-stencil texture. More... | |
virtual void | setTexture (const core::array< ITexture * > &texture, ITexture *depthStencil, const core::array< E_CUBE_SURFACE > &cubeSurfaces=core::array< E_CUBE_SURFACE >())=0 |
Set multiple textures. More... | |
void | setTexture (ITexture *texture, ITexture *depthStencil) |
Set one texture. More... | |
void | setTexture (ITexture *texture, ITexture *depthStencil, E_CUBE_SURFACE cubeSurface) |
Set one cube surface texture. More... | |
E_DRIVER_TYPE | getDriverType () const |
Get driver type of render target. More... | |
Public Member Functions inherited from irr::IReferenceCounted | |
IReferenceCounted () | |
Constructor. More... | |
virtual | ~IReferenceCounted () |
Destructor. More... | |
void | grab () const |
Grabs the object. Increments the reference counter by one. More... | |
bool | drop () const |
Drops the object. Decrements the reference counter by one. More... | |
s32 | getReferenceCount () const |
Get the reference count. More... | |
const c8 * | getDebugName () const |
Returns the debug name of the object. More... | |
Protected Attributes | |
core::array< ITexture * > | Texture |
Textures assigned to render target. More... | |
ITexture * | DepthStencil |
Depth or packed depth-stencil texture assigned to render target. More... | |
core::array< E_CUBE_SURFACE > | CubeSurfaces |
Active surface of cube textures. More... | |
E_DRIVER_TYPE | DriverType |
Driver type of render target. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from irr::IReferenceCounted | |
void | setDebugName (const c8 *newName) |
Sets the debug name of the object. More... | |
Interface of a Render Target.
Definition at line 30 of file IRenderTarget.h.
|
inline |
constructor
Definition at line 35 of file IRenderTarget.h.
|
inline |
Returns a of previously set depth / depth-stencil texture.
Definition at line 46 of file IRenderTarget.h.
|
inline |
Get driver type of render target.
Definition at line 82 of file IRenderTarget.h.
|
inline |
Returns an array of previously set textures.
Definition at line 40 of file IRenderTarget.h.
|
pure virtual |
Set multiple textures.
Set multiple textures for the render target.
texture | Array of texture objects. These textures are used for a color outputs. |
depthStencil | Depth or packed depth-stencil texture. This texture is used as depth or depth-stencil buffer. |
cubeSurfaces | When rendering to cube textures, set the surface to be used for each texture. Can be empty otherwise. |
Set one texture.
Definition at line 61 of file IRenderTarget.h.
|
inline |
Set one cube surface texture.
Definition at line 70 of file IRenderTarget.h.
|
protected |
Active surface of cube textures.
Definition at line 96 of file IRenderTarget.h.
|
protected |
Depth or packed depth-stencil texture assigned to render target.
Definition at line 93 of file IRenderTarget.h.
|
protected |
Driver type of render target.
Definition at line 99 of file IRenderTarget.h.
|
protected |
Textures assigned to render target.
Definition at line 90 of file IRenderTarget.h.