Skip to content

Latest commit

 

History

History
87 lines (67 loc) · 3.18 KB

nf-d3d12-id3d12resource-getheapproperties.md

File metadata and controls

87 lines (67 loc) · 3.18 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:d3d12.ID3D12Resource.GetHeapProperties
ID3D12Resource::GetHeapProperties (d3d12.h)
Retrieves the properties of the resource heap, for placed and committed resources.
GetHeapProperties
GetHeapProperties method
GetHeapProperties method
ID3D12Resource interface
ID3D12Resource interface
GetHeapProperties method
ID3D12Resource.GetHeapProperties
ID3D12Resource::GetHeapProperties
d3d12/ID3D12Resource::GetHeapProperties
direct3d12.id3d12resource_getheapproperties
direct3d12\id3d12resource_getheapproperties.htm
direct3d12
7F76986D-02F1-4E5A-B9A4-CFB021B72026
12/05/2018
GetHeapProperties, GetHeapProperties method, GetHeapProperties method,ID3D12Resource interface, ID3D12Resource interface,GetHeapProperties method, ID3D12Resource.GetHeapProperties, ID3D12Resource::GetHeapProperties, d3d12/ID3D12Resource::GetHeapProperties, direct3d12.id3d12resource_getheapproperties
d3d12.h
Windows
D3d12.lib
D3d12.dll
Windows
19H1
ID3D12Resource::GetHeapProperties
d3d12/ID3D12Resource::GetHeapProperties
c++
APIRef
kbSyntax
COM
d3d12.dll
ID3D12Resource.GetHeapProperties

ID3D12Resource::GetHeapProperties

-description

Retrieves the properties of the resource heap, for placed and committed resources.

-parameters

-param pHeapProperties [out, optional]

Type: D3D12_HEAP_PROPERTIES*

Pointer to a D3D12_HEAP_PROPERTIES structure, that on successful completion of the method will contain the resource heap properties.

-param pHeapFlags [out, optional]

Type: D3D12_HEAP_FLAGS*

Specifies a D3D12_HEAP_FLAGS variable, that on successful completion of the method will contain any miscellaneous heap flags.

-returns

Type: HRESULT

This method returns one of the Direct3D 12 Return Codes. If the resource was created as reserved, E_INVALIDARG is returned.

-remarks

This method only works on placed and committed resources, not on reserved resources. If the resource was created as reserved, E_INVALIDARG is returned. The pages could be mapped to none, one, or more heaps.

For more information, refer to Memory Management in Direct3D 12.

-see-also

ID3D12Resource