RenderTargets
Description
Represents a set of render targets that consists of up to eight color buffer targets and an optional depth/stencil buffer target.
All render targets in the set must be compatible (see IRenderTarget.IsCompatible): they must have the same size (see IRenderTarget.Size) and the same multi-sampling setting (see IRenderTarget.IsMultiSample).
- See also
Public / Methods
Color
Appends the color buffer of given render target to this set of render targets.
If the given renderTarget in is null
, does not have a color buffer (see IRenderTarget.HasColor) or if Count is equal to 8, the method returns this
.
Depth
Uses the depth buffer of the given render target for this set of render targets.
If the given renderTarget in does not have a depth buffer (see IRenderTarget.HasDepth) or is null
, the returned render target set will not have a depth buffer.