Search Results for

    Show / Hide Table of Contents

    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 GraphicsPipelineDescription struct.

    Declaration
    public GraphicsPipelineDescription(PrimitiveTopology primitiveTopology, InputLayouts inputLayouts, ResourceLayout[] resourceLayouts, GraphicsShaderStateDescription 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.

    GraphicsShaderStateDescription shaders

    The shader state description.

    RenderStateDescription renderStates

    The render state description.

    OutputDescription outputs

    Description of the output attachments.

    Fields

    InputLayouts

    Describes the input for 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

    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 resource layout's input array.

    Declaration
    public ResourceLayout[] ResourceLayouts
    Field Value
    Type Description
    ResourceLayout[]

    Shaders

    Describes the state of the shader.

    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

    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

    true if the specified object is equal to this instance; otherwise, false.

    Overrides
    ValueType.Equals(object)

    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
    ValueType.GetHashCode()

    Operators

    operator ==(GraphicsPipelineDescription, GraphicsPipelineDescription)

    Implements the operator ==.

    Declaration
    public static bool operator ==(GraphicsPipelineDescription value1, GraphicsPipelineDescription value2)
    Parameters
    Type Name Description
    GraphicsPipelineDescription value1

    The first value.

    GraphicsPipelineDescription 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
    GraphicsPipelineDescription value1

    The first value.

    GraphicsPipelineDescription value2

    The second value.

    Returns
    Type Description
    bool

    The result of the operator.

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX