RenderTargetCube Class (Microsoft.Xna.Framework.Graphics)

Represents a texture cube that can be used as a render target.
System.Object
   Microsoft.Xna.Framework.Graphics.GraphicsResource
      Microsoft.Xna.Framework.Graphics.Texture
         Microsoft.Xna.Framework.Graphics.TextureCube
            Microsoft.Xna.Framework.Graphics.RenderTargetCube

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1018)
  • C#
  • VB
  • F#
public class RenderTargetCube : TextureCube, IRenderTarget

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The RenderTargetCube type exposes the following members.

  Platforms Name Description
RenderTargetCube(GraphicsDevice, int, bool, SurfaceFormat, DepthFormat) Initializes a new instance of the RenderTargetCube class. 
RenderTargetCube(GraphicsDevice, int, bool, SurfaceFormat, DepthFormat, int, RenderTargetUsage) Initializes a new instance of the RenderTargetCube class. 
Top
  Platforms Name Description
DepthStencilFormat Gets the depth-stencil buffer format of this render target. 
Format  (Inherited from Texture.)
GraphicsDevice  (Inherited from GraphicsResource.)
IsContentLost  
IsDisposed  (Inherited from GraphicsResource.)
LevelCount  (Inherited from Texture.)
MultiSampleCount Gets the number of multisample locations. 
Name  (Inherited from GraphicsResource.)
RenderTargetUsage Gets the usage mode of this render target. (Implements RenderTargetUsage().)
Size Gets the width and height of the cube map face in pixels. (Inherited from TextureCube.)
Tag  (Inherited from GraphicsResource.)
Top
  Platforms Name Description
CreateShaderResourceView  (Inherited from Texture.)
Dispose(bool) The method that derived classes should override to implement disposing of managed and native resources. (Overrides Texture.Dispose().)
Dispose()  (Inherited from GraphicsResource.)
Finalize  (Inherited from GraphicsResource.)
GetData<T>(CubeMapFace, int, Nullable<Rectangle>, T[], int, int)  (Inherited from TextureCube.)
GetData<T>(CubeMapFace, T[]) Gets a copy of cube texture data specifying a cubemap face. (Inherited from TextureCube.)
GetData<T>(CubeMapFace, T[], int, int)  (Inherited from TextureCube.)
GetDepthStencilView Gets the DepthStencilVie. (Implements IRenderTarget.GetDepthStencilView().)
GetRenderTargetView Gets the RenderTargetVie for the specified array slice. (Implements IRenderTarget.GetRenderTargetView().)
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.)
QuerySelectedFormat  
SetData<T>(CubeMapFace, int, Nullable<Rectangle>, T[], int, int)  (Inherited from TextureCube.)
SetData<T>(CubeMapFace, T[], int, int)  (Inherited from TextureCube.)
SetData<T>(CubeMapFace, T[])  (Inherited from TextureCube.)
ToString  (Inherited from GraphicsResource.)
Top
  Platforms Name Description
ContentLost  
Disposing  (Inherited from GraphicsResource.)
Top
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web