RenderTarget Struct Reference

Structure representing the rendering result storage destination. More...

List of all members.

Public Member Functions

 RenderTarget (ColorBuffer buffer)
 Creates a structure representing the rendering result storage destination.
 RenderTarget (DepthBuffer buffer)
 Creates a structure representing the rendering result storage destination.
 RenderTarget (Texture2D texture, int level)
 Creates a structure representing the rendering result storage destination.
 RenderTarget (TextureCube texture, int level, TextureCubeFace cubeFace)
 Creates a structure representing the rendering result storage destination.
void Set (ColorBuffer buffer)
 Sets a value to the structure representing the rendering result storage destination.
void Set (DepthBuffer buffer)
 Sets a value to the structure representing the rendering result storage destination.
void Set (Texture2D texture, int level)
 Sets a value to the structure representing the rendering result storage destination.
void Set (TextureCube texture, int level, TextureCubeFace cubeFace)
 Sets a value to the structure representing the rendering result storage destination.

Public Attributes

PixelBuffer Buffer
 Pixel buffer storing the rendering result.
int Level
 Mipmap level of the texture storing the rendering result.
TextureCubeFace CubeFace
 Cube surface of cube texture storing the rendering result.

Detailed Description

Structure representing the rendering result storage destination.


Constructor & Destructor Documentation

Creates a structure representing the rendering result storage destination.

Parameters:
bufferColor buffer (release when NULL)

Creates a structure representing the rendering result storage destination.

Parameters:
bufferDepth buffer (release when NULL)
RenderTarget ( Texture2D  texture,
int  level 
)

Creates a structure representing the rendering result storage destination.

Parameters:
texture2D texture (release when NULL)
levelTexture mipmap level (from 0 to LevelCount-1)
RenderTarget ( TextureCube  texture,
int  level,
TextureCubeFace  cubeFace 
)

Creates a structure representing the rendering result storage destination.

Parameters:
textureCube texture (release when NULL)
levelTexture mipmap level (from 0 to LevelCount-1)
cubeFaceCube texture cube surface

Member Function Documentation

void Set ( ColorBuffer  buffer)

Sets a value to the structure representing the rendering result storage destination.

Parameters:
bufferColor buffer (release when NULL)
void Set ( TextureCube  texture,
int  level,
TextureCubeFace  cubeFace 
)

Sets a value to the structure representing the rendering result storage destination.

Parameters:
textureCube texture (release when NULL)
levelTexture mipmap level (from 0 to LevelCount-1)
cubeFaceCube texture cube surface
void Set ( Texture2D  texture,
int  level 
)

Sets a value to the structure representing the rendering result storage destination.

Parameters:
texture2D texture (release when NULL)
levelTexture mipmap level (from 0 to LevelCount-1)
void Set ( DepthBuffer  buffer)

Sets a value to the structure representing the rendering result storage destination.

Parameters:
bufferDepth buffer (release when NULL)