Table of Contents

Struct RenderOutputDescription

Namespace
Stride.Graphics
Assembly
Stride.Graphics.dll

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 PixelFormat
depthStencilFormat PixelFormat
multisampleCount MultisampleCount

Fields

DepthStencilFormat

public PixelFormat DepthStencilFormat

Field Value

PixelFormat

MultisampleCount

public MultisampleCount MultisampleCount

Field Value

MultisampleCount

RenderTargetCount

public int RenderTargetCount

Field Value

int

RenderTargetFormat0

public PixelFormat RenderTargetFormat0

Field Value

PixelFormat

RenderTargetFormat1

public PixelFormat RenderTargetFormat1

Field Value

PixelFormat

RenderTargetFormat2

public PixelFormat RenderTargetFormat2

Field Value

PixelFormat

RenderTargetFormat3

public PixelFormat RenderTargetFormat3

Field Value

PixelFormat

RenderTargetFormat4

public PixelFormat RenderTargetFormat4

Field Value

PixelFormat

RenderTargetFormat5

public PixelFormat RenderTargetFormat5

Field Value

PixelFormat

RenderTargetFormat6

public PixelFormat RenderTargetFormat6

Field Value

PixelFormat

RenderTargetFormat7

public PixelFormat RenderTargetFormat7

Field Value

PixelFormat

ScissorTestEnable

Enable scissor-rectangle culling. All pixels ouside an active scissor rectangle are culled.

public bool ScissorTestEnable

Field Value

bool

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 RenderOutputDescription

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object)

Indicates whether this instance and a specified object are equal.

public override bool Equals(object obj)

Parameters

obj object

The 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 RenderOutputDescription
right RenderOutputDescription

Returns

bool

operator !=(RenderOutputDescription, RenderOutputDescription)

public static bool operator !=(RenderOutputDescription left, RenderOutputDescription right)

Parameters

left RenderOutputDescription
right RenderOutputDescription

Returns

bool