Struct MeshShaderPipelineDescription
Contains properties that describe the characteristics of a new mesh shader pipeline state object.
Namespace: Evergine.Common.Graphics.MeshShader
Assembly: Evergine.Common.dll
Syntax
public struct MeshShaderPipelineDescription
Constructors
MeshShaderPipelineDescription(PrimitiveTopology, InputLayouts, ResourceLayout[], MeshShaderStateDescription, RenderStateDescription, OutputDescription)
Initializes a new instance of the MeshShaderPipelineDescription struct.
Declaration
public MeshShaderPipelineDescription(PrimitiveTopology primitiveTopology, InputLayouts inputLayouts, ResourceLayout[] resourceLayouts, MeshShaderStateDescription shaders, RenderStateDescription renderStates, OutputDescription outputs)
Parameters
| Type | Name | Description |
|---|---|---|
| PrimitiveTopology | primitiveTopology | Defines how vertices are interpreted and rendered by the pipeline. |
| InputLayouts | inputLayouts | Describes the input vertex buffer data. |
| ResourceLayout[] | resourceLayouts | The resource layouts array. |
| MeshShaderStateDescription | shaders | The shader state description. |
| RenderStateDescription | renderStates | The render state description. |
| OutputDescription | outputs | Description of the output attachments. |
Fields
Outputs
A description of the output attachments used by the GraphicsPipelineState.
Declaration
public OutputDescription Outputs
Field Value
| Type | Description |
|---|---|
| OutputDescription |
PrimitiveTopology
Defines how vertices are interpreted and rendered by the pipeline.
Declaration
public PrimitiveTopology PrimitiveTopology
Field Value
| Type | Description |
|---|---|
| PrimitiveTopology |
RenderStates
The rendering state description.
Declaration
public RenderStateDescription RenderStates
Field Value
| Type | Description |
|---|---|
| RenderStateDescription |
ResourceLayouts
Describes the layout of resource inputs.
Declaration
public ResourceLayout[] ResourceLayouts
Field Value
| Type | Description |
|---|---|
| ResourceLayout[] |
Shaders
Describes the state of the shader.
Declaration
public MeshShaderStateDescription Shaders
Field Value
| Type | Description |
|---|---|
| MeshShaderStateDescription |
Methods
Equals(MeshShaderPipelineDescription)
Returns a hash code for this instance.
Declaration
public bool Equals(MeshShaderPipelineDescription other)
Parameters
| Type | Name | Description |
|---|---|---|
| MeshShaderPipelineDescription | other | Object to be compared. |
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 hash tables. |
Overrides
Operators
operator ==(MeshShaderPipelineDescription, MeshShaderPipelineDescription)
Implements the operator ==.
Declaration
public static bool operator ==(MeshShaderPipelineDescription value1, MeshShaderPipelineDescription value2)
Parameters
| Type | Name | Description |
|---|---|---|
| MeshShaderPipelineDescription | value1 | The first value. |
| MeshShaderPipelineDescription | value2 | The second value. |
Returns
| Type | Description |
|---|---|
| bool | The result of the operator. |
operator !=(MeshShaderPipelineDescription, MeshShaderPipelineDescription)
Implements the operator ==.
Declaration
public static bool operator !=(MeshShaderPipelineDescription value1, MeshShaderPipelineDescription value2)
Parameters
| Type | Name | Description |
|---|---|---|
| MeshShaderPipelineDescription | value1 | The first value. |
| MeshShaderPipelineDescription | value2 | The second value. |
Returns
| Type | Description |
|---|---|
| bool | The result of the operator. |