Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
0 out of 1 rated this helpful - Rate this topic

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 typeCondition
NotSupportedException The profile supports a maximum of 1 simultaneous render targets.
Xbox 360, Windows 7, Windows Vista, Windows XP
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.