Click or drag to resize
DigitalRuneRenderTargetPoolObtainCube Method
Obtains a cube map render target that matches the given specification.

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public RenderTargetCube ObtainCube(
	RenderTargetFormat format
)

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: RenderTargetCube
A 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