#include <RenderTargetHost.h>
Public Member Functions | |
| RenderTargetHost (void) | |
| RenderTargetHost (RenderTargetHost *parent) | |
| virtual | ~RenderTargetHost (void) |
| bool | CreateRenderTargetSurface (const cl7::string_type &identifier, unsigned width=0, unsigned height=0, D3DFORMAT format=D3DFMT_UNKNOWN) |
| bool | CreateDepthStencilSurface (const cl7::string_type &identifier, unsigned width=0, unsigned height=0, D3DFORMAT format=D3DFMT_UNKNOWN) |
| bool | CreateRenderTargetTextureSurface (const cl7::string_type &identifier, unsigned width=0, unsigned height=0, D3DFORMAT format=D3DFMT_UNKNOWN) |
| bool | CreateDepthStencilTextureSurface (const cl7::string_type &identifier, unsigned width=0, unsigned height=0, D3DFORMAT format=D3DFMT_UNKNOWN) |
| surfaces::Surface * | GetSurface (const cl7::string_type &identifier) |
| textures::Texture * | GetTexture (const cl7::string_type &identifier) |
The base class supporting the creation and management of render-target and depth-stencil surfaces. Remarks: Rendering to a texture enables many possibilities, but there are also some restrictions you have to take care of. First the depth stencil surface must always be greater or equal to the size of the render target. Furthermore the format of the render target and the depth stencil surface must be compatible and the multisample type must be the same.
| xl7::direct3d::rendering::RenderTargetHost::RenderTargetHost | ( | void | ) |
Default constructor.
| xl7::direct3d::rendering::RenderTargetHost::RenderTargetHost | ( | RenderTargetHost * | parent | ) |
Explicit constructor.
| xl7::direct3d::rendering::RenderTargetHost::~RenderTargetHost | ( | void | ) | [virtual] |
Destructor.
| bool xl7::direct3d::rendering::RenderTargetHost::CreateDepthStencilSurface | ( | const cl7::string_type & | identifier, | |
| unsigned | width = 0, |
|||
| unsigned | height = 0, |
|||
| D3DFORMAT | format = D3DFMT_UNKNOWN | |||
| ) |
Creates a new single depth-stencil surface with the given identifier.
| bool xl7::direct3d::rendering::RenderTargetHost::CreateDepthStencilTextureSurface | ( | const cl7::string_type & | identifier, | |
| unsigned | width = 0, |
|||
| unsigned | height = 0, |
|||
| D3DFORMAT | format = D3DFMT_UNKNOWN | |||
| ) |
Creates a new depth-stencil surface and an underlying texture with the given identifier.
| bool xl7::direct3d::rendering::RenderTargetHost::CreateRenderTargetSurface | ( | const cl7::string_type & | identifier, | |
| unsigned | width = 0, |
|||
| unsigned | height = 0, |
|||
| D3DFORMAT | format = D3DFMT_UNKNOWN | |||
| ) |
Creates a new single render-target surface with the given identifier.
| bool xl7::direct3d::rendering::RenderTargetHost::CreateRenderTargetTextureSurface | ( | const cl7::string_type & | identifier, | |
| unsigned | width = 0, |
|||
| unsigned | height = 0, |
|||
| D3DFORMAT | format = D3DFMT_UNKNOWN | |||
| ) |
Creates a new render-target surface and an underlying texture with the given identifier.
| surfaces::Surface * xl7::direct3d::rendering::RenderTargetHost::GetSurface | ( | const cl7::string_type & | identifier | ) |
Searches for and returns the surface with the given identifier.
| textures::Texture * xl7::direct3d::rendering::RenderTargetHost::GetTexture | ( | const cl7::string_type & | identifier | ) |
Searches for and returns the texture with the given identifier.
1.7.1