Search Results for

    Show / Hide Table of Contents

    Class DX12RaytracingPipelineState

    DX12 Raytracing pipeline state.

    Inheritance
    object
    PipelineState
    RaytracingPipelineState
    DX12RaytracingPipelineState
    Implements
    IPipelineState
    Inherited Members
    RaytracingPipelineState.disposed
    RaytracingPipelineState.Description
    Namespace: Evergine.DirectX12
    Assembly: Evergine.DirectX12.dll
    Syntax
    public class DX12RaytracingPipelineState : RaytracingPipelineState, IPipelineState

    Constructors

    DX12RaytracingPipelineState(DX12GraphicsContext, ref RaytracingPipelineDescription)

    Initializes a new instance of the DX12RaytracingPipelineState class.

    Declaration
    public DX12RaytracingPipelineState(DX12GraphicsContext context, ref RaytracingPipelineDescription description)
    Parameters
    Type Name Description
    DX12GraphicsContext context

    The graphics context.

    RaytracingPipelineDescription description

    The raytracing pipeline state description.

    Fields

    nativePipeline

    DX12 native pipeline as an ID3D12StateObject.

    Declaration
    public ID3D12StateObject nativePipeline
    Field Value
    Type Description
    ID3D12StateObject

    shaderBindingTable

    Generates the shader binding table.

    Declaration
    public DX12ShaderTable shaderBindingTable
    Field Value
    Type Description
    DX12ShaderTable

    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[]

    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)

    Applies the pipeline state to the given command list.

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

    The command list to apply the pipeline state to.

    Apply(ID3D12GraphicsCommandList, DX12RaytracingPipelineState)

    Applies only changes compared with the previous pipelineState.

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

    The command list where to set this pipeline.

    DX12RaytracingPipelineState previousPipeline

    The previous pipelineState.

    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 to apply the pipeline root signature to.

    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