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 3.8.0.1082)
  • 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.

Parameters

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

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web