Struct GraphicsPipelineDescription
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 GraphicsPipelineDescription : IEquatable<GraphicsPipelineDescription>
  Constructors
GraphicsPipelineDescription(PrimitiveTopology, InputLayouts, ResourceLayout[], GraphicsShaderStateDescription, RenderStateDescription, OutputDescription)
Initializes a new instance of the GraphicsPipelineDescription struct.
Declaration
public GraphicsPipelineDescription(PrimitiveTopology primitiveTopology, InputLayouts inputLayouts, ResourceLayout[] resourceLayouts, GraphicsShaderStateDescription shaders, RenderStateDescription renderStates, OutputDescription outputs)
  Parameters
| Type | Name | Description | 
|---|---|---|
| PrimitiveTopology | primitiveTopology | Define how vertices are interpreted and rendered by the pipeline.  | 
      
| InputLayouts | inputLayouts | Describes the input vertex buffer data.  | 
      
| ResourceLayout[] | resourceLayouts | The resource layouts array.  | 
      
| GraphicsShaderStateDescription | shaders | The shader state description.  | 
      
| RenderStateDescription | renderStates | The render state description.  | 
      
| OutputDescription | outputs | Description of the output attachments.  | 
      
Fields
InputLayouts
Describes the input vertex buffer data.
Declaration
public InputLayouts InputLayouts
  Field Value
| Type | Description | 
|---|---|
| InputLayouts | 
Outputs
A description of the output attachments used by the GraphicsPipelineState.
Declaration
public OutputDescription Outputs
  Field Value
| Type | Description | 
|---|---|
| OutputDescription | 
PrimitiveTopology
Define how vertices are interpreted and rendered by the pipeline.
Declaration
public PrimitiveTopology PrimitiveTopology
  Field Value
| Type | Description | 
|---|---|
| PrimitiveTopology | 
RenderStates
The render state description.
Declaration
public RenderStateDescription RenderStates
  Field Value
| Type | Description | 
|---|---|
| RenderStateDescription | 
ResourceLayouts
Describes the resource layouts input array.
Declaration
public ResourceLayout[] ResourceLayouts
  Field Value
| Type | Description | 
|---|---|
| ResourceLayout[] | 
Shaders
The shader state description.
Declaration
public GraphicsShaderStateDescription Shaders
  Field Value
| Type | Description | 
|---|---|
| GraphicsShaderStateDescription | 
Methods
Equals(GraphicsPipelineDescription)
Returns a hash code for this instance.
Declaration
public bool Equals(GraphicsPipelineDescription other)
  Parameters
| Type | Name | Description | 
|---|---|---|
| GraphicsPipelineDescription | 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 ==(GraphicsPipelineDescription, GraphicsPipelineDescription)
Implements the operator ==.
Declaration
public static bool operator ==(GraphicsPipelineDescription value1, GraphicsPipelineDescription value2)
  Parameters
| Type | Name | Description | 
|---|---|---|
| GraphicsPipelineDescription | value1 | The value1.  | 
      
| GraphicsPipelineDescription | value2 | The value2.  | 
      
Returns
| Type | Description | 
|---|---|
| bool | The result of the operator.  | 
      
operator !=(GraphicsPipelineDescription, GraphicsPipelineDescription)
Implements the operator ==.
Declaration
public static bool operator !=(GraphicsPipelineDescription value1, GraphicsPipelineDescription value2)
  Parameters
| Type | Name | Description | 
|---|---|---|
| GraphicsPipelineDescription | value1 | The value1.  | 
      
| GraphicsPipelineDescription | value2 | The value2.  | 
      
Returns
| Type | Description | 
|---|---|
| bool | The result of the operator.  |