CD3DX12_HEAP_PROPERTIES structure
A helper structure to enable easy initialization of a D3D12_HEAP_PROPERTIES structure.
Syntax
struct CD3DX12_HEAP_PROPERTIES : public D3D12_HEAP_PROPERTIES{
CD3DX12_HEAP_PROPERTIES();
explicit CD3DX12_HEAP_PROPERTIES(const D3D12_HEAP_PROPERTIES &o);
CD3DX12_HEAP_PROPERTIES(D3D12_CPU_PAGE_PROPERTY cpuPageProperty, D3D12_MEMORY_POOL memoryPoolPreference, UINT creationNodeMask = 1, UINT nodeMask = 1);
explicit CD3DX12_HEAP_PROPERTIES(D3D12_HEAP_TYPE type, UINT creationNodeMask = 1, UINT nodeMask = 1);
operator const D3D12_HEAP_PROPERTIES&() const;
bool inline operator==( const D3D12_HEAP_PROPERTIES& l, const D3D12_HEAP_PROPERTIES& r );
bool inline operator!=( const D3D12_HEAP_PROPERTIES& l, const D3D12_HEAP_PROPERTIES& r );
};
Members
-
CD3DX12_HEAP_PROPERTIES()
-
Creates a new, uninitialized, instance of a CD3DX12_HEAP_PROPERTIES.
-
explicit CD3DX12_HEAP_PROPERTIES(const D3D12_HEAP_PROPERTIES &o)
-
Creates a new instance of a CD3DX12_HEAP_PROPERTIES, initialized with the contents of another D3D12_HEAP_PROPERTIES structure.
-
CD3DX12_HEAP_PROPERTIES(D3D12_CPU_PAGE_PROPERTY cpuPageProperty, D3D12_MEMORY_POOL memoryPoolPreference, UINT creationNodeMask = 1, UINT nodeMask = 1)
-
Creates a new instance of a CD3DX12_HEAP_PROPERTIES, initializing the following parameters:
D3D12_CPU_PAGE_PROPERTY cpuPageProperty
D3D12_MEMORY_POOL memoryPoolPreference
(opt) UINT creationNodeMask = 1
(opt) UINT nodeMask = 1
-
explicit CD3DX12_HEAP_PROPERTIES(D3D12_HEAP_TYPE type, UINT creationNodeMask = 1, UINT nodeMask = 1)
-
Creates a new instance of a CD3DX12_HEAP_PROPERTIES, initializing the following parameters:
D3D12_HEAP_TYPE type
(opt) UINT creationNodeMask = 1
(opt) UINT nodeMask = 1
-
operator const D3D12_HEAP_PROPERTIES&() const
-
Defines the & pass-by-reference operator for the parent structure type.
-
inline operator==( const D3D12_HEAP_PROPERTIES& l, const D3D12_HEAP_PROPERTIES& r )
-
Tests for equality between the specified D3D12_HEAP_PROPERTIES instances, based on equality of all member fields.
-
inline operator!=( const D3D12_HEAP_PROPERTIES& l, const D3D12_HEAP_PROPERTIES& r )
-
Tests for inequality between the specified D3D12_HEAP_PROPERTIES instances. Implemented by taking the inverse of the operator== value.
Requirements
Requirement | Value |
---|---|
Header |
|