Partager via


structure CD3DX12_HEAP_DESC

Structure d’assistance pour permettre l’initialisation facile d’une structure de D3D12_HEAP_DESC .

Syntaxe

struct CD3DX12_HEAP_DESC  : public D3D12_HEAP_DESC{
   CD3DX12_HEAP_DESC();
   explicit CD3DX12_HEAP_DESC(const D3D12_HEAP_DESC &o);
   CD3DX12_HEAP_DESC(UINT64 size, D3D12_HEAP_PROPERTIES properties, UINT64 alignment = 0, D3D12_HEAP_FLAGS flags = D3D12_HEAP_FLAG_NONE);
   CD3DX12_HEAP_DESC(UINT64 size, D3D12_HEAP_TYPE type, UINT64 alignment = 0, D3D12_HEAP_FLAGS flags = D3D12_HEAP_FLAG_NONE);
   CD3DX12_HEAP_DESC(UINT64 size, D3D12_CPU_PAGE_PROPERTY cpuPageProperty, D3D12_MEMORY_POOL memoryPoolPreference, UINT64 alignment = 0, D3D12_HEAP_FLAGS flags = D3D12_HEAP_FLAG_NONE);
   CD3DX12_HEAP_DESC(const D3D12_RESOURCE_ALLOCATION_INFO& resAllocInfo, D3D12_HEAP_PROPERTIES properties, D3D12_HEAP_FLAGS flags = D3D12_HEAP_FLAG_NONE);
   CD3DX12_HEAP_DESC(const D3D12_RESOURCE_ALLOCATION_INFO& resAllocInfo, D3D12_HEAP_TYPE type, D3D12_HEAP_FLAGS flags = D3D12_HEAP_FLAG_NONE);
   CD3DX12_HEAP_DESC(const D3D12_RESOURCE_ALLOCATION_INFO& resAllocInfo, D3D12_CPU_PAGE_PROPERTY cpuPageProperty, D3D12_MEMORY_POOL memoryPoolPreference, D3D12_HEAP_FLAGS flags = D3D12_HEAP_FLAG_NONE);
   operator const D3D12_HEAP_DESC&() const;
};

Membres

CD3DX12_HEAP_DESC()

Crée un nouveau instance non initialisé d’un CD3DX12_HEAP_DESC.

explicit CD3DX12_HEAP_DESC(const D3D12_HEAP_DESC &o)

Crée un instance d’un CD3DX12_HEAP_DESC, initialisé avec le contenu d’une autre structure D3D12_HEAP_DESC.

CD3DX12_HEAP_DESC(taille UINT64, propriétés D3D12_HEAP_PROPERTIES, alignement UINT64 = 0, indicateurs D3D12_HEAP_FLAGS = D3D12_HEAP_FLAG_NONE)

Crée une instance d’un CD3DX12_HEAP_DESC, initialisant les paramètres suivants :

Taille UINT64

propriétés D3D12_HEAP_PROPERTIES

(opt) Alignement UINT64 = 0

(opt) indicateurs de D3D12_HEAP_FLAGS = D3D12_HEAP_FLAG_NONE

CD3DX12_HEAP_DESC(taille UINT64, type D3D12_HEAP_TYPE, alignement UINT64 = 0, indicateurs D3D12_HEAP_FLAGS = D3D12_HEAP_FLAG_NONE)

Crée une instance d’un CD3DX12_HEAP_DESC, initialisant les paramètres suivants :

Taille UINT64

D3D12_HEAP_TYPE type

(opt) Alignement UINT64 = 0

(opt) indicateurs de D3D12_HEAP_FLAGS = D3D12_HEAP_FLAG_NONE

CD3DX12_HEAP_DESC(taille UINT64, D3D12_CPU_PAGE_PROPERTY cpuPageProperty, D3D12_MEMORY_POOL memoryPoolPreference, alignement UINT64 = 0, indicateurs D3D12_HEAP_FLAGS = D3D12_HEAP_FLAG_NONE)

Crée une instance d’un CD3DX12_HEAP_DESC, initialisant les paramètres suivants :

Taille UINT64

D3D12_CPU_PAGE_PROPERTY cpuPageProperty

D3D12_MEMORY_POOL memoryPoolPreference

(opt) Alignement UINT64 = 0

(opt) indicateurs de D3D12_HEAP_FLAGS = D3D12_HEAP_FLAG_NONE

CD3DX12_HEAP_DESC(const D3D12_RESOURCE_ALLOCATION_INFO& resAllocInfo, D3D12_HEAP_PROPERTIES properties, D3D12_HEAP_FLAGS flags = D3D12_HEAP_FLAG_NONE)

Crée une instance d’un CD3DX12_HEAP_DESC, initialisant les paramètres suivants :

& D3D12_RESOURCE_ALLOCATION_INFO resAllocInfo

propriétés D3D12_HEAP_PROPERTIES

(opt) indicateurs de D3D12_HEAP_FLAGS = D3D12_HEAP_FLAG_NONE

CD3DX12_HEAP_DESC(const D3D12_RESOURCE_ALLOCATION_INFO& resAllocInfo, type D3D12_HEAP_TYPE, indicateurs D3D12_HEAP_FLAGS = D3D12_HEAP_FLAG_NONE)

Crée une instance d’un CD3DX12_HEAP_DESC, initialisant les paramètres suivants :

& D3D12_RESOURCE_ALLOCATION_INFO resAllocInfo

D3D12_HEAP_TYPE type

(opt) indicateurs de D3D12_HEAP_FLAGS = D3D12_HEAP_FLAG_NONE

CD3DX12_HEAP_DESC(const D3D12_RESOURCE_ALLOCATION_INFO& resAllocInfo, D3D12_CPU_PAGE_PROPERTY cpuPageProperty, D3D12_MEMORY_POOL memoryPoolPreference, D3D12_HEAP_FLAGS flags = D3D12_HEAP_FLAG_NONE)

Crée une instance d’un CD3DX12_HEAP_DESC, initialisant les paramètres suivants :

& D3D12_RESOURCE_ALLOCATION_INFO resAllocInfo

D3D12_CPU_PAGE_PROPERTY cpuPageProperty

D3D12_MEMORY_POOL memoryPoolPreference

(opt) indicateurs de D3D12_HEAP_FLAGS = D3D12_HEAP_FLAG_NONE

operator const D3D12_HEAP_DESC&() const

Définit l’opérateur & pass-by-reference pour le type de structure CD3DX12_HEAP_DESC.

Spécifications

Condition requise Valeur
En-tête
D3dx12.h

Voir aussi

D3D12_HEAP_DESC

Structures d’assistance pour D3D12