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