| RenderTargetPoolObtainCube Method |
Obtains a cube map render target that matches the given specification.
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public RenderTargetCube ObtainCube(
RenderTargetFormat format
)
Public Function ObtainCube (
format As RenderTargetFormat
) As RenderTargetCube
public:
RenderTargetCube^ ObtainCube(
RenderTargetFormat format
)
member ObtainCube :
format : RenderTargetFormat -> RenderTargetCube
Parameters
- format
- Type: DigitalRune.GraphicsRenderTargetFormat
The render target format. If a property in the format is , then the
value of the back buffer is used. The Width is used to
define the size of the cube map. Height is ignored.
Return Value
Type:
RenderTargetCubeA cube map render target with the specified format.
Remarks
This method returns a render target from the pool. If no suitable, free render target is
found, a new one is created.
See Also