Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets an array of render targets.
Syntax
'Declaration
Public Sub SetRenderTargets ( _
renderTargets As RenderTargetBinding() _
)
public void SetRenderTargets (
params RenderTargetBinding[] renderTargets
)
public:
void SetRenderTargets(
params RenderTargetBinding renderTargets[]
)
Parameters
- renderTargets
Type: RenderTargetBinding
[ParamArrayAttribute] An array of render targets.
Exceptions
Exception type | Condition |
---|---|
NotSupportedException | The profile supports a maximum of 1 simultaneous render targets. |
Requirements
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)
See Also
Reference
GraphicsDevice Class
GraphicsDevice Members
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Windows Phone