Compartir a través de


RenderTargetBinding Structure

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Binds an array of render targets.

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

Syntax

'Declaration
Public Structure RenderTargetBinding
public struct RenderTargetBinding

The RenderTargetBinding type exposes the following members.

Constructors

  Name Description
Public method RenderTargetBinding(RenderTarget2D) Creates an instance of this object.
Public method RenderTargetBinding(RenderTargetCube, CubeMapFace) Creates an instance of this object.

Top

Properties

  Name Description
Public property CubeMapFace Gets one face of a cubemap.
Public property RenderTarget Gets a 2D texture.

Top

Operators

  Name Description
Public operatorStatic member Implicit(RenderTarget2D to RenderTargetBinding) Implicitly converts a RenderTarget2D to a RenderTargetBinding for use in methods like SetRenderTargets.

Top

Version Information

Silverlight

Supported in: 5

Platforms

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

Thread Safety

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