Search Results for

    Show / Hide Table of Contents

    Class DX12GraphicsPipelineState

    The DirectX version of the PipelineState.

    Inheritance
    object
    PipelineState
    GraphicsPipelineState
    DX12GraphicsPipelineState
    Implements
    IPipelineState
    Inherited Members
    GraphicsPipelineState.Description
    GraphicsPipelineState.InvalidatedViewport
    Namespace: Evergine.DirectX12
    Assembly: Evergine.DirectX12.dll
    Syntax
    public class DX12GraphicsPipelineState : GraphicsPipelineState, IPipelineState

    Constructors

    DX12GraphicsPipelineState(DX12GraphicsContext, ref GraphicsPipelineDescription)

    Initializes a new instance of the DX12GraphicsPipelineState class.

    Declaration
    public DX12GraphicsPipelineState(DX12GraphicsContext context, ref GraphicsPipelineDescription description)
    Parameters
    Type Name Description
    DX12GraphicsContext context

    The graphics context.

    GraphicsPipelineDescription description

    The graphics pipeline state description.

    Properties

    CbvUavSrvRootParameterInfo

    Gets the root parameter information for CBV, UAV, and SRV descriptors.

    Declaration
    public uint[] CbvUavSrvRootParameterInfo { get; }
    Property Value
    Type Description
    uint[]

    DynamicUniformRootParameterStartIndices

    Gets the root parameter start index for dynamic uniform buffers (CBVs with dynamic offsets) per resource space.

    Declaration
    public uint[] DynamicUniformRootParameterStartIndices { get; }
    Property Value
    Type Description
    uint[]

    Name

    Gets or sets a string identifying this instance. It can be used in graphics debugger tools.

    Declaration
    public override string Name { get; set; }
    Property Value
    Type Description
    string
    Overrides
    GraphicsPipelineState.Name

    NativePipeline

    Gets the native DirectX 12 pipeline state object.

    Declaration
    public ID3D12PipelineState NativePipeline { get; }
    Property Value
    Type Description
    ID3D12PipelineState

    ResourceSetsLayoutMask

    Gets a mask representing the resource sets layout used by this pipeline state.

    Declaration
    public FastBitSet32 ResourceSetsLayoutMask { get; }
    Property Value
    Type Description
    FastBitSet32

    RootSignature

    Gets the root signature associated with this pipeline state.

    Declaration
    public ID3D12RootSignature RootSignature { get; }
    Property Value
    Type Description
    ID3D12RootSignature

    SamplerRootParameterInfo

    Gets the root parameter information for sampler descriptors.

    Declaration
    public uint[] SamplerRootParameterInfo { get; }
    Property Value
    Type Description
    uint[]

    Methods

    Apply(ID3D12GraphicsCommandList)

    Apply only changes compared with the previous pipelineState.

    Declaration
    public void Apply(ID3D12GraphicsCommandList commandList)
    Parameters
    Type Name Description
    ID3D12GraphicsCommandList commandList

    The command list where to set this pipeline.

    ApplyRootSignature(ID3D12GraphicsCommandList)

    Sets the pipeline root signature to the given command list.

    Declaration
    public void ApplyRootSignature(ID3D12GraphicsCommandList commandList)
    Parameters
    Type Name Description
    ID3D12GraphicsCommandList commandList

    The command list where to set this pipeline.

    Dispose()

    Performs tasks defined by the application associated with freeing, releasing, or resetting unmanaged resources.

    Declaration
    public override void Dispose()
    Overrides
    PipelineState.Dispose()

    Implements

    IPipelineState

    Extension Methods

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