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
renderTargetFormat
PixelFormatdepthStencilFormat
PixelFormatmultisampleCount
MultisampleCount
Fields
DepthStencilFormat
public PixelFormat DepthStencilFormat
Field Value
MultisampleCount
public MultisampleCount MultisampleCount
Field Value
RenderTargetCount
public int RenderTargetCount
Field Value
RenderTargetFormat0
public PixelFormat RenderTargetFormat0
Field Value
RenderTargetFormat1
public PixelFormat RenderTargetFormat1
Field Value
RenderTargetFormat2
public PixelFormat RenderTargetFormat2
Field Value
RenderTargetFormat3
public PixelFormat RenderTargetFormat3
Field Value
RenderTargetFormat4
public PixelFormat RenderTargetFormat4
Field Value
RenderTargetFormat5
public PixelFormat RenderTargetFormat5
Field Value
RenderTargetFormat6
public PixelFormat RenderTargetFormat6
Field Value
RenderTargetFormat7
public PixelFormat RenderTargetFormat7
Field Value
ScissorTestEnable
Enable scissor-rectangle culling. All pixels ouside an active scissor rectangle are culled.
public bool ScissorTestEnable
Field Value
Methods
CaptureState(CommandList)
public void CaptureState(CommandList commandList)
Parameters
commandList
CommandList
Equals(RenderOutputDescription)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(RenderOutputDescription other)
Parameters
other
RenderOutputDescriptionAn 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
obj
objectThe object to compare with the current instance.
Returns
- bool
true if
obj
and 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
left
RenderOutputDescriptionright
RenderOutputDescription
Returns
operator !=(RenderOutputDescription, RenderOutputDescription)
public static bool operator !=(RenderOutputDescription left, RenderOutputDescription right)
Parameters
left
RenderOutputDescriptionright
RenderOutputDescription