Struct OutputAttachmentDescription
Contains properties that describe the characteristics of a new pipeline state object.
Implements
Inherited Members
Namespace: Evergine.Common.Graphics
Assembly: Evergine.Common.dll
Syntax
public struct OutputAttachmentDescription : IEquatable<OutputAttachmentDescription>
Constructors
OutputAttachmentDescription(PixelFormat, bool)
Initializes a new instance of the OutputAttachmentDescription struct.
Declaration
public OutputAttachmentDescription(PixelFormat format, bool resolveMSAA = false)
Parameters
Type | Name | Description |
---|---|---|
PixelFormat | format | The format of the Texture attachment. |
bool | resolveMSAA | Indicates if the Texture with MSAA attachment need to be resolved. |
Fields
Format
The pixel format.
Declaration
public PixelFormat Format
Field Value
Type | Description |
---|---|
PixelFormat |
ResolveMSAA
Indicates if the Texture with MSAA attachment need to be resolved.
Declaration
public bool ResolveMSAA
Field Value
Type | Description |
---|---|
bool |
Methods
Equals(OutputAttachmentDescription)
Returns a hash code for this instance.
Declaration
public bool Equals(OutputAttachmentDescription other)
Parameters
Type | Name | Description |
---|---|---|
OutputAttachmentDescription | other | Other used to compare. |
Returns
Type | Description |
---|---|
bool | A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. |
Equals(object)
Determines whether the specified object is equal to this instance.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to compare with this instance. |
Returns
Type | Description |
---|---|
bool |
|
Overrides
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. |
Overrides
Operators
operator ==(OutputAttachmentDescription, OutputAttachmentDescription)
Implements the operator ==.
Declaration
public static bool operator ==(OutputAttachmentDescription value1, OutputAttachmentDescription value2)
Parameters
Type | Name | Description |
---|---|---|
OutputAttachmentDescription | value1 | The value1. |
OutputAttachmentDescription | value2 | The value2. |
Returns
Type | Description |
---|---|
bool | The result of the operator. |
operator !=(OutputAttachmentDescription, OutputAttachmentDescription)
Implements the operator ==.
Declaration
public static bool operator !=(OutputAttachmentDescription value1, OutputAttachmentDescription value2)
Parameters
Type | Name | Description |
---|---|---|
OutputAttachmentDescription | value1 | The value1. |
OutputAttachmentDescription | value2 | The value2. |
Returns
Type | Description |
---|---|
bool | The result of the operator. |