GraphicsDevice.SetRenderTargets Method
Sets an array of render targets.
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)
public void SetRenderTargets ( params RenderTargetBinding[] renderTargets )
Parameters
- renderTargets
- Type: RenderTargetBinding
[ParamArrayAttribute] An array of render targets.
| Exception type | Condition |
|---|---|
| NotSupportedException | The profile supports a maximum of 1 simultaneous render targets. |
Community Additions
ADD
Show: