Structure CD3DX12_VIEW_INSTANCING_DESC
Structure d’assistance pour faciliter l’initialisation d’une structure D3DX12_VIEW_INSTANCING_DESC .
Syntaxe
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;
};
Membres
CD3DX12_VIEW_INSTANCING_DESC
Constructeur par défaut. Crée une nouvelle instance non initialisée d’un CD3DX12_VIEW_INSTANCING_DESC.
CD3DX12_VIEW_INSTANCING_DESC(const D3D12_VIEW_INSTANCING_DESC&)
Constructeur qui crée une nouvelle instance d’un CD3DX12_VIEW_INSTANCING_DESC initialisé avec le contenu d’une structure D3DX12_VIEW_INSTANCING_DESC .
CD3DX12_VIEW_INSTANCING_DESC(CD3DX12_DEFAULT)
Constructeur qui crée une nouvelle instance d’un CD3DX12_VIEW_INSTANCING_DESC initialisé avec ces valeurs.
| Membre de données | value |
|---|---|
| ViewInstanceCount | 0 |
| pViewInstanceLocations | nullptr |
| Indicateurs | D3D12_VIEW_INSTANCING_FLAG_NONE |
CD3DX12_VIEW_INSTANCING_DESC(UINT, const D3D12_VIEW_INSTANCE_LOCATION*, D3D12_VIEW_INSTANCING_FLAGS)
Constructeur qui crée une nouvelle instance d’un CD3DX12_VIEW_INSTANCING_DESC initialisé avec les paramètres qui lui sont passés.
Spécifications
| Condition requise | Valeur |
|---|---|
| En-tête | D3dx12. h |