Skip to content

Latest commit

 

History

History
70 lines (52 loc) · 2.48 KB

cd3dx12-view-instancing-desc.md

File metadata and controls

70 lines (52 loc) · 2.48 KB
title description keywords topic_type api_name api_location api_type ms.topic ms.date
CD3DX12_VIEW_INSTANCING_DESC structure (D3dx12.h)
A helper structure to enable easy initialization of a [**D3DX12_VIEW_INSTANCING_DESC**](/windows/win32/api/d3d12/ns-d3d12-d3d12_view_instancing_desc) structure.
CD3DX12_VIEW_INSTANCING_DESC structure
apiref
CD3DX12_VIEW_INSTANCING_DESC
d3dx12.h
HeaderDef
reference
07/29/2021

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