42 lines
1016 B
Plaintext
42 lines
1016 B
Plaintext
vkGetDeviceMemoryCommitment(3)
|
|
==============================
|
|
|
|
Name
|
|
----
|
|
vkGetDeviceMemoryCommitment - Query the current commitment for a VkDeviceMemory
|
|
|
|
C Specification
|
|
---------------
|
|
|
|
include::../protos/vkGetDeviceMemoryCommitment.txt[]
|
|
|
|
Parameters
|
|
----------
|
|
|
|
pname:device::
|
|
The device object from which pname:memory was allocated.
|
|
|
|
pname:memory::
|
|
The device memory object to query.
|
|
|
|
pname:pCommittedMemoryInBytes::
|
|
Pointer to a variable which will receive the current memory commitment, in bytes.
|
|
|
|
Description
|
|
-----------
|
|
|
|
fname:vkGetDeviceMemoryCommitment queries the commitment status of a stext:VkDeviceMemory that
|
|
was created with the ename:VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT set.
|
|
|
|
The number of bytes committed for the given memory object is returned in the
|
|
pname:pCommittedMemoryInBytes pointer.
|
|
|
|
include::../validity/protos/vkGetDeviceMemoryCommitment.txt[]
|
|
|
|
See Also
|
|
--------
|
|
|
|
flink:vkGetPhysicalDeviceMemoryProperties, flink:vkAllocateMemory, flink:vkFreeMemory
|
|
|
|
include::footer.txt[]
|