Struct RenderOutputDescription
Describes render targets and depth stencil output formats.
[DataContract]
public struct RenderOutputDescription : IEquatable<RenderOutputDescription>- Implements
- Inherited Members
Constructors
RenderOutputDescription(PixelFormat, PixelFormat, MultisampleCount)
public RenderOutputDescription(PixelFormat renderTargetFormat, PixelFormat depthStencilFormat = PixelFormat.None, MultisampleCount multisampleCount = MultisampleCount.None)Parameters
- renderTargetFormatPixelFormat
- depthStencilFormatPixelFormat
- multisampleCountMultisampleCount
Fields
DepthStencilFormat
public PixelFormat DepthStencilFormatField Value
MultisampleCount
public MultisampleCount MultisampleCountField Value
RenderTargetCount
public int RenderTargetCountField Value
RenderTargetFormat0
public PixelFormat RenderTargetFormat0Field Value
RenderTargetFormat1
public PixelFormat RenderTargetFormat1Field Value
RenderTargetFormat2
public PixelFormat RenderTargetFormat2Field Value
RenderTargetFormat3
public PixelFormat RenderTargetFormat3Field Value
RenderTargetFormat4
public PixelFormat RenderTargetFormat4Field Value
RenderTargetFormat5
public PixelFormat RenderTargetFormat5Field Value
RenderTargetFormat6
public PixelFormat RenderTargetFormat6Field Value
RenderTargetFormat7
public PixelFormat RenderTargetFormat7Field Value
ScissorTestEnable
Enable scissor-rectangle culling. All pixels ouside an active scissor rectangle are culled.
public bool ScissorTestEnableField Value
Methods
CaptureState(CommandList)
public void CaptureState(CommandList commandList)Parameters
- commandListCommandList
Equals(RenderOutputDescription)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(RenderOutputDescription other)Parameters
- otherRenderOutputDescription
- An object to compare with this object. 
Returns
Equals(object)
Indicates whether this instance and a specified object are equal.
public override bool Equals(object obj)Parameters
- objobject
- The object to compare with the current instance. 
Returns
- bool
- true if - objand this instance are the same type and represent the same value; otherwise, false.
GetHashCode()
Returns the hash code for this instance.
public override int GetHashCode()Returns
- int
- A 32-bit signed integer that is the hash code for this instance. 
Operators
operator ==(RenderOutputDescription, RenderOutputDescription)
public static bool operator ==(RenderOutputDescription left, RenderOutputDescription right)Parameters
- leftRenderOutputDescription
- rightRenderOutputDescription
Returns
operator !=(RenderOutputDescription, RenderOutputDescription)
public static bool operator !=(RenderOutputDescription left, RenderOutputDescription right)Parameters
- leftRenderOutputDescription
- rightRenderOutputDescription