TextureCube Class (Microsoft.Xna.Framework.Graphics)

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: MonoGame.Framework (MonoGame.Framework.dll
  • C#
  • VB
  • F#
public class TextureCube : Texture

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The TextureCube type exposes the following members.

  Platforms Name Description
  Platforms Name Description
Format  (Inherited from Texture.)
GraphicsDevice  (Inherited from GraphicsResource.)
IsDisposed  (Inherited from GraphicsResource.)
LevelCount  (Inherited from Texture.)
Name  (Inherited from GraphicsResource.)
Size Gets the width and height of the cube map face in pixels. 
Tag  (Inherited from GraphicsResource.)
  Platforms Name Description
CreateShaderResourceView  (Inherited from Texture.)
Dispose()  (Inherited from GraphicsResource.)
Dispose(bool) The method that derived classes should override to implement disposing of managed and native resources. (Inherited from Texture.)
Finalize  (Inherited from GraphicsResource.)
GetData<T>(CubeMapFace, T[], int, int)  
GetData<T>(CubeMapFace, T[]) Gets a copy of cube texture data specifying a cubemap face. 
GetData<T>(CubeMapFace, int, Nullable<Rectangle>, T[], int, int)  
GetSharedHandle Gets the handle to a shared resource. (Inherited from Texture.)
GraphicsDeviceResetting Called before the device is reset. Allows graphics resources to invalidate their state so they can be recreated after the device reset. Warning: This may be called after a call to Dispose() up until the resource is garbage collected. (Inherited from Texture.)
SetData<T>(CubeMapFace, int, Nullable<Rectangle>, T[], int, int)  
SetData<T>(CubeMapFace, T[], int, int)  
SetData<T>(CubeMapFace, T[])  
ToString  (Inherited from GraphicsResource.)
  Platforms Name Description
Disposing  (Inherited from GraphicsResource.)
Supported in:

 Windows DirectX Desktop
 Linux Desktop
 Windows OpenGL Desktop