Structure representing the rendering result storage destination. More...
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. |
Structure representing the rendering result storage destination.
RenderTarget | ( | ColorBuffer | buffer | ) |
Creates a structure representing the rendering result storage destination.
buffer | Color buffer (release when NULL) |
RenderTarget | ( | DepthBuffer | buffer | ) |
Creates a structure representing the rendering result storage destination.
buffer | Depth buffer (release when NULL) |
RenderTarget | ( | Texture2D | texture, |
int | level | ||
) |
Creates a structure representing the rendering result storage destination.
texture | 2D texture (release when NULL) |
level | Texture mipmap level (from 0 to LevelCount-1) |
RenderTarget | ( | TextureCube | texture, |
int | level, | ||
TextureCubeFace | cubeFace | ||
) |
Creates a structure representing the rendering result storage destination.
texture | Cube texture (release when NULL) |
level | Texture mipmap level (from 0 to LevelCount-1) |
cubeFace | Cube texture cube surface |
void Set | ( | ColorBuffer | buffer | ) |
Sets a value to the structure representing the rendering result storage destination.
buffer | Color buffer (release when NULL) |
void Set | ( | TextureCube | texture, |
int | level, | ||
TextureCubeFace | cubeFace | ||
) |
Sets a value to the structure representing the rendering result storage destination.
texture | Cube texture (release when NULL) |
level | Texture mipmap level (from 0 to LevelCount-1) |
cubeFace | Cube texture cube surface |
void Set | ( | Texture2D | texture, |
int | level | ||
) |
Sets a value to the structure representing the rendering result storage destination.
texture | 2D texture (release when NULL) |
level | Texture mipmap level (from 0 to LevelCount-1) |
void Set | ( | DepthBuffer | buffer | ) |
Sets a value to the structure representing the rendering result storage destination.
buffer | Depth buffer (release when NULL) |