TextureCube.GetData<T> Method (Microsoft.Xna.Framework.Graphics)

Gets a copy of cube texture data specifying a cubemap face.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: MonoGame.Framework (MonoGame.Framework.dll
  • C#
  • VB
  • F#
public void GetData<T>(
	CubeMapFace cubeMapFace, 
	T[] data
) where T : ValueType, new()

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.


Type: Microsoft.Xna.Framework.Graphics.CubeMapFace
The cube map face.
Type: T[]
The data.
Supported in:

 Windows DirectX Desktop
 Linux Desktop
 Windows OpenGL Desktop