Export (0) Print
Expand All

RenderTargetCube Class

Represents a cubic texture resource that will be written to at the end of a render pass.

Namespace:  Microsoft.Xna.Framework.Graphics
Assembly:  Microsoft.Xna.Framework.Graphics (in Microsoft.Xna.Framework.Graphics.dll)

public class RenderTargetCube : TextureCube

The RenderTargetCube type exposes the following members.

  NameDescription
Public propertyDepthStencilFormatGets the depth format of this rendertarget.
Public propertyFormatGets the format of the texture data. (Inherited from Texture.)
Public propertyIsDisposedGets a value that indicates whether the object is disposed. (Inherited from GraphicsResource.)
Public propertyLevelCountGets the number of texture levels in a multilevel texture. (Inherited from Texture.)
Public propertyMultiSampleCountGets the number of multisample locations.
Public propertyRenderTargetUsageGets the usage mode of this rendertarget.
Public propertySizeGets the width and height of this texture resource, in pixels. (Inherited from TextureCube.)
Top

  NameDescription
Public methodDispose()Immediately releases the unmanaged resources used by this object. (Inherited from GraphicsResource.)
Protected methodDispose(Boolean)Immediately releases the unmanaged resources used by this object. (Inherited from GraphicsResource.)
Protected methodFinalizeAllows this object to attempt to free resources and perform other cleanup operations before garbage collection reclaims the object. (Inherited from GraphicsResource.)
Public methodSetData<T>(CubeMapFace, T[])Sets cube texture data, specifying a cubemap face. (Inherited from TextureCube.)
Public methodSetData<T>(CubeMapFace, T[], Int32, Int32)Sets cube texture data, specifying a cubemap face, start index, and number of elements. (Inherited from TextureCube.)
Public methodSetData<T>(CubeMapFace, Int32, Nullable<Rectangle>, T[], Int32, Int32)Sets cube texture data, specifying a cubemap face, mipmap level, source rectangle, start index, and number of elements. (Inherited from TextureCube.)
Top

Silverlight

Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft