ngfx::D3DGraphicsPipeline

Inherits from ngfx::GraphicsPipeline, ngfx::D3DPipeline, ngfx::Pipeline

Public Classes

Name
struct Shaders
struct State

Public Functions

Name
void create(D3DGraphicsContext * ctx, const State & state, const std::vector< CD3DX12_ROOT_PARAMETER1 > & rootParameters, const std::vector< D3D12_INPUT_ELEMENT_DESC > & inputElements, const Shaders & shaders, DXGI_FORMAT colorFormat, DXGI_FORMAT depthFormat)

Public Attributes

Name
D3D_PRIMITIVE_TOPOLOGY d3dPrimitiveTopology

Additional inherited members

Public Classes inherited from ngfx::GraphicsPipeline

Name
struct Descriptor
struct State

Public Functions inherited from ngfx::GraphicsPipeline

Name
virtual ~GraphicsPipeline()
void getBindings(std::vector< uint32_t * > pDescriptorBindings, std::vector< uint32_t * > pVertexAttribBindings)

Public Attributes inherited from ngfx::GraphicsPipeline

Name
std::vector< uint32_t > descriptorBindings
std::vector< uint32_t > vertexAttributeBindings

Public Functions inherited from ngfx::D3DPipeline

Name
virtual ~D3DPipeline()

Protected Functions inherited from ngfx::D3DPipeline

Name
void createRootSignature(const std::vector< CD3DX12_ROOT_PARAMETER1 > & rootParameters, D3D12_ROOT_SIGNATURE_FLAGS rootSignatureFlags =D3D12_ROOT_SIGNATURE_FLAG_NONE)

Public Attributes inherited from ngfx::D3DPipeline

Name
ComPtr< ID3D12PipelineState > d3dPipelineState
ComPtr< ID3D12RootSignature > d3dRootSignature

Protected Attributes inherited from ngfx::D3DPipeline

Name
D3DGraphicsContext * ctx

Public Functions inherited from ngfx::Pipeline

Name
virtual ~Pipeline()

Public Functions Documentation

function create

void create(
    D3DGraphicsContext * ctx,
    const State & state,
    const std::vector< CD3DX12_ROOT_PARAMETER1 > & rootParameters,
    const std::vector< D3D12_INPUT_ELEMENT_DESC > & inputElements,
    const Shaders & shaders,
    DXGI_FORMAT colorFormat,
    DXGI_FORMAT depthFormat
)

Public Attributes Documentation

variable d3dPrimitiveTopology

D3D_PRIMITIVE_TOPOLOGY d3dPrimitiveTopology;

Updated on 3 April 2021 at 20:21:51 PDT