Skip to content

LiteFX::Rendering::Backends::DirectX12InputAssembler

Implements the DirectX 12 input assembler state.

Synopsis

Declared in <litefx/backends/dx12.hpp>

class [[dllimport, dllexport]] DirectX12InputAssembler final
    : public InputAssembler<DirectX12VertexBufferLayout, DirectX12IndexBufferLayout>

Base Classes

NameDescription
InputAssembler<DirectX12VertexBufferLayout, DirectX12IndexBufferLayout>Represents a the input assembler state of a RenderPipeline.

Type Aliases

Member Functions

NameDescription
~DirectX12InputAssembler [destructor] [virtual]Destructor
controlPoints [virtual]The number of control points for a patch, if the topology is set to PrimitiveTopology::PatchList.
indexBufferLayout [virtual]Returns a pointer to the index buffer layout, or nullptr if the input assembler does not handle indices.
topology [virtual]Returns the primitive topology.
vertexBufferLayout [virtual]Returns a pointer the vertex buffer layout for binding provided with binding.
vertexBufferLayouts [virtual]Returns all vertex buffer layouts of the input assembly.

Static Member Functions

NameDescription
create create overloads

Protected Member Functions

NameDescription
operator= Assignment operators

Friends

NameDescription
LiteFX::SharedObject::AllocatorAn allocator used to allocate the shared object.
LiteFX::Rendering::Backends::DirectX12InputAssemblerBuilderBuilds a DirectX12InputAssembler.
LiteFX::Rendering::Backends::DirectX12InputAssembler::DirectX12InputAssemblerImpl
LiteFX::PimplPtrA smart pointer that manages an implementation instance for a public interface class.

See Also

DirectX12InputAssemblerBuilder