Package org.lwjgl.vulkan
Class VkMemoryUnmapInfoKHR
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkMemoryUnmapInfo>
org.lwjgl.vulkan.VkMemoryUnmapInfo
org.lwjgl.vulkan.VkMemoryUnmapInfoKHR
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
struct VkMemoryUnmapInfoKHR {
VkStructureType sType;
void const * pNext;
VkMemoryUnmapFlags flags;
VkDeviceMemory memory;
}
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Fields inherited from class org.lwjgl.vulkan.VkMemoryUnmapInfo
ALIGNOF, FLAGS, MEMORY, PNEXT, SIZEOF, STYPE
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionVkMemoryUnmapInfoKHR
(ByteBuffer container) Creates aVkMemoryUnmapInfoKHR
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkMemoryUnmapInfoKHR
calloc()
Returns a newVkMemoryUnmapInfoKHR
instance allocated withmemCalloc
.static VkMemoryUnmapInfoKHR.Buffer
calloc
(int capacity) Returns a newVkMemoryUnmapInfoKHR.Buffer
instance allocated withmemCalloc
.static VkMemoryUnmapInfoKHR.Buffer
calloc
(int capacity, MemoryStack stack) Returns a newVkMemoryUnmapInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkMemoryUnmapInfoKHR
calloc
(MemoryStack stack) Returns a newVkMemoryUnmapInfoKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkMemoryUnmapInfoKHR
create()
Returns a newVkMemoryUnmapInfoKHR
instance allocated withBufferUtils
.static VkMemoryUnmapInfoKHR.Buffer
create
(int capacity) Returns a newVkMemoryUnmapInfoKHR.Buffer
instance allocated withBufferUtils
.static VkMemoryUnmapInfoKHR
create
(long address) Returns a newVkMemoryUnmapInfoKHR
instance for the specified memory address.static VkMemoryUnmapInfoKHR.Buffer
create
(long address, int capacity) Create aVkMemoryUnmapInfoKHR.Buffer
instance at the specified memory.static @Nullable VkMemoryUnmapInfoKHR
createSafe
(long address) static @Nullable VkMemoryUnmapInfoKHR.Buffer
createSafe
(long address, int capacity) flags
(int value) Sets the specified value to theflags
field.static VkMemoryUnmapInfoKHR
malloc()
Returns a newVkMemoryUnmapInfoKHR
instance allocated withmemAlloc
.static VkMemoryUnmapInfoKHR.Buffer
malloc
(int capacity) Returns a newVkMemoryUnmapInfoKHR.Buffer
instance allocated withmemAlloc
.static VkMemoryUnmapInfoKHR.Buffer
malloc
(int capacity, MemoryStack stack) Returns a newVkMemoryUnmapInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
.static VkMemoryUnmapInfoKHR
malloc
(MemoryStack stack) Returns a newVkMemoryUnmapInfoKHR
instance allocated on the specifiedMemoryStack
.memory
(long value) Sets the specified value to thememory
field.pNext
(long value) Sets the specified value to thepNext
field.set
(int sType, long pNext, int flags, long memory) Initializes this struct with the specified values.set
(VkMemoryUnmapInfoKHR src) Copies the specified struct data to this struct.sType
(int value) Sets the specified value to thesType
field.Sets theSTRUCTURE_TYPE_MEMORY_UNMAP_INFO
value to thesType
field.Methods inherited from class org.lwjgl.vulkan.VkMemoryUnmapInfo
flags, memory, nflags, nflags, nmemory, nmemory, npNext, npNext, nsType, nsType, pNext, set, sizeof, sType
Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
VkMemoryUnmapInfoKHR
Creates aVkMemoryUnmapInfoKHR
instance at the current position of the specifiedByteBuffer
container. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Details
-
sType
Sets the specified value to thesType
field.- Overrides:
sType
in classVkMemoryUnmapInfo
-
sType$Default
Sets theSTRUCTURE_TYPE_MEMORY_UNMAP_INFO
value to thesType
field.- Overrides:
sType$Default
in classVkMemoryUnmapInfo
-
pNext
Sets the specified value to thepNext
field.- Overrides:
pNext
in classVkMemoryUnmapInfo
-
flags
Sets the specified value to theflags
field.- Overrides:
flags
in classVkMemoryUnmapInfo
-
memory
Sets the specified value to thememory
field.- Overrides:
memory
in classVkMemoryUnmapInfo
-
set
Initializes this struct with the specified values.- Overrides:
set
in classVkMemoryUnmapInfo
-
set
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
Returns a newVkMemoryUnmapInfoKHR
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newVkMemoryUnmapInfoKHR
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newVkMemoryUnmapInfoKHR
instance allocated withBufferUtils
. -
create
Returns a newVkMemoryUnmapInfoKHR
instance for the specified memory address. -
createSafe
-
malloc
Returns a newVkMemoryUnmapInfoKHR.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newVkMemoryUnmapInfoKHR.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newVkMemoryUnmapInfoKHR.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aVkMemoryUnmapInfoKHR.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
malloc
Returns a newVkMemoryUnmapInfoKHR
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newVkMemoryUnmapInfoKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newVkMemoryUnmapInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newVkMemoryUnmapInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-