TextureCube

class TextureCube : Texture, System.IDisposable
readonly int Size

Gets the width and height of the cube map face in pixels.

Value:The width and height of a cube map face in pixels.
public void GetData<T>(CubeMapFace cubeMapFace, Microsoft.Xna.Framework.Graphics.T[] data)
Type Parameters:
 
  • T
Parameters:
  • cubeMapFace (Microsoft.Xna.Framework.Graphics.CubeMapFace) –
  • data (Microsoft.Xna.Framework.Graphics.T[]) –
public void GetData<T>(CubeMapFace cubeMapFace, Microsoft.Xna.Framework.Graphics.T[] data, int startIndex, int elementCount)
Type Parameters:
 
  • T
Parameters:
  • cubeMapFace (Microsoft.Xna.Framework.Graphics.CubeMapFace) –
  • data (Microsoft.Xna.Framework.Graphics.T[]) –
  • startIndex (int) –
  • elementCount (int) –
public void GetData<T>(CubeMapFace cubeMapFace, int level, System.Nullable<Rectangle> rect, Microsoft.Xna.Framework.Graphics.T[] data, int startIndex, int elementCount)
Type Parameters:
 
  • T
Parameters:
  • cubeMapFace (Microsoft.Xna.Framework.Graphics.CubeMapFace) –
  • level (int) –
  • rect (System.Nullable<Rectangle>) –
  • data (Microsoft.Xna.Framework.Graphics.T[]) –
  • startIndex (int) –
  • elementCount (int) –
public void SetData<T>(CubeMapFace face, Microsoft.Xna.Framework.Graphics.T[] data)
Type Parameters:
 
  • T
Parameters:
  • face (Microsoft.Xna.Framework.Graphics.CubeMapFace) –
  • data (Microsoft.Xna.Framework.Graphics.T[]) –
public void SetData<T>(CubeMapFace face, Microsoft.Xna.Framework.Graphics.T[] data, int startIndex, int elementCount)
Type Parameters:
 
  • T
Parameters:
  • face (Microsoft.Xna.Framework.Graphics.CubeMapFace) –
  • data (Microsoft.Xna.Framework.Graphics.T[]) –
  • startIndex (int) –
  • elementCount (int) –
public void SetData<T>(CubeMapFace face, int level, System.Nullable<Rectangle> rect, Microsoft.Xna.Framework.Graphics.T[] data, int startIndex, int elementCount)
Type Parameters:
 
  • T
Parameters:
  • face (Microsoft.Xna.Framework.Graphics.CubeMapFace) –
  • level (int) –
  • rect (System.Nullable<Rectangle>) –
  • data (Microsoft.Xna.Framework.Graphics.T[]) –
  • startIndex (int) –
  • elementCount (int) –
SharpDX.Direct3D11.Resource CreateTexture()