RenderTargetCube.GetRenderTargetView Method (Microsoft.Xna.Framework.Graphics)

Gets the RenderTargetVie for the specified array slice.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: MonoGame.Framework (MonoGame.Framework.dll
  • C#
  • VB
  • F#
public sealed RenderTargetView GetRenderTargetView(
	int arraySlice

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.


Type: System.Int32
The array slice.

Return Value

Type: SharpDX.Direct3D11.RenderTargetView
The RenderTargetVie.
For texture cubes: The array slice is the index of the cube map face.
Supported in:

 Windows DirectX Desktop