CD3DX12_VIEW_INSTANCING_DESC structure

A helper structure to enable easy initialization of a D3DX12_VIEW_INSTANCING_DESC structure.

Syntax

struct CD3DX12_VIEW_INSTANCING_DESC : public D3D12_VIEW_INSTANCING_DESC
{
    CD3DX12_VIEW_INSTANCING_DESC();
    explicit CD3DX12_VIEW_INSTANCING_DESC(const D3D12_VIEW_INSTANCING_DESC& o) noexcept;
    explicit CD3DX12_VIEW_INSTANCING_DESC(CD3DX12_DEFAULT) noexcept;
    explicit CD3DX12_VIEW_INSTANCING_DESC(
        UINT InViewInstanceCount,
        const D3D12_VIEW_INSTANCE_LOCATION* InViewInstanceLocations,
        D3D12_VIEW_INSTANCING_FLAGS InFlags) noexcept;
};

Members

CD3DX12_VIEW_INSTANCING_DESC

Default constructor. Creates a new, uninitialized, instance of a CD3DX12_VIEW_INSTANCING_DESC.

CD3DX12_VIEW_INSTANCING_DESC(const D3D12_VIEW_INSTANCING_DESC&)

Constructor that creates a new instance of a CD3DX12_VIEW_INSTANCING_DESC initialized with the contents of a D3DX12_VIEW_INSTANCING_DESC structure.

CD3DX12_VIEW_INSTANCING_DESC(CD3DX12_DEFAULT)

Constructor that creates a new instance of a CD3DX12_VIEW_INSTANCING_DESC initialized with these values.

Data member value
ViewInstanceCount 0
pViewInstanceLocations nullptr
Flags D3D12_VIEW_INSTANCING_FLAG_NONE

CD3DX12_VIEW_INSTANCING_DESC(UINT, const D3D12_VIEW_INSTANCE_LOCATION*, D3D12_VIEW_INSTANCING_FLAGS)

Constructor that creates a new instance of a CD3DX12_VIEW_INSTANCING_DESC initialized with the parameters passed to it.

Requirements

Requirement Value
Header D3dx12.h

See also