CD3DX12_HEAP_DESC結構
協助程序結構,可讓您輕鬆初始化 D3D12_HEAP_DESC 結構。
語法
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;
};
成員
-
CD3DX12_HEAP_DESC()
-
建立新的未初始化CD3DX12_HEAP_DESC實例。
-
explicit CD3DX12_HEAP_DESC(const D3D12_HEAP_DESC &o)
-
建立CD3DX12_HEAP_DESC的新實例,以另一個 D3D12_HEAP_DESC 結構的內容初始化。
-
CD3DX12_HEAP_DESC(UINT64 大小、D3D12_HEAP_PROPERTIES屬性、UINT64 對齊方式 = 0、D3D12_HEAP_FLAGS旗標 = D3D12_HEAP_FLAG_NONE)
-
建立CD3DX12_HEAP_DESC的新實例,初始化下列參數:
UINT64 大小
(選擇)UINT64 對齊 = 0
-
CD3DX12_HEAP_DESC(UINT64 size, D3D12_HEAP_TYPE type, UINT64 alignment = 0, D3D12_HEAP_FLAGS flags = D3D12_HEAP_FLAG_NONE)
-
建立CD3DX12_HEAP_DESC的新實例,初始化下列參數:
UINT64 大小
(選擇)UINT64 對齊 = 0
-
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的新實例,初始化下列參數:
UINT64 大小
D3D12_CPU_PAGE_PROPERTY cpuPageProperty
D3D12_MEMORY_POOL memoryPoolPreference
(選擇)UINT64 對齊 = 0
-
CD3DX12_HEAP_DESC(const D3D12_RESOURCE_ALLOCATION_INFO& resAllocInfo, D3D12_HEAP_PROPERTIES屬性, D3D12_HEAP_FLAGS旗標 = D3D12_HEAP_FLAG_NONE)
-
建立CD3DX12_HEAP_DESC的新實例,初始化下列參數:
D3D12_RESOURCE_ALLOCATION_INFO& resAllocInfo
-
CD3DX12_HEAP_DESC(const D3D12_RESOURCE_ALLOCATION_INFO& resAllocInfo, D3D12_HEAP_TYPE type, D3D12_HEAP_FLAGS flags = D3D12_HEAP_FLAG_NONE)
-
建立CD3DX12_HEAP_DESC的新實例,初始化下列參數:
D3D12_RESOURCE_ALLOCATION_INFO& resAllocInfo
-
CD3DX12_HEAP_DESC(const D3D12_RESOURCE_ALLOCATION_INFO& resAllocInfo、D3D12_CPU_PAGE_PROPERTY cpuPageProperty、D3D12_MEMORY_POOL memoryPoolPreference、D3D12_HEAP_FLAGS旗標 = D3D12_HEAP_FLAG_NONE)
-
建立CD3DX12_HEAP_DESC的新實例,初始化下列參數:
D3D12_RESOURCE_ALLOCATION_INFO& resAllocInfo
D3D12_CPU_PAGE_PROPERTY cpuPageProperty
-
operator const D3D12_HEAP_DESC&() const
-
定義CD3DX12_HEAP_DESC結構類型的 和 傳址運算符。
需求
需求 | 值 |
---|---|
頁首 |
|