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.StructValidationNested 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, STYPEFields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionVkMemoryUnmapInfoKHR(ByteBuffer container) Creates aVkMemoryUnmapInfoKHRinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkMemoryUnmapInfoKHRcalloc()Returns a newVkMemoryUnmapInfoKHRinstance allocated withmemCalloc.static VkMemoryUnmapInfoKHR.Buffercalloc(int capacity) Returns a newVkMemoryUnmapInfoKHR.Bufferinstance allocated withmemCalloc.static VkMemoryUnmapInfoKHR.Buffercalloc(int capacity, MemoryStack stack) Returns a newVkMemoryUnmapInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkMemoryUnmapInfoKHRcalloc(MemoryStack stack) Returns a newVkMemoryUnmapInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkMemoryUnmapInfoKHRcreate()Returns a newVkMemoryUnmapInfoKHRinstance allocated withBufferUtils.static VkMemoryUnmapInfoKHR.Buffercreate(int capacity) Returns a newVkMemoryUnmapInfoKHR.Bufferinstance allocated withBufferUtils.static VkMemoryUnmapInfoKHRcreate(long address) Returns a newVkMemoryUnmapInfoKHRinstance for the specified memory address.static VkMemoryUnmapInfoKHR.Buffercreate(long address, int capacity) Create aVkMemoryUnmapInfoKHR.Bufferinstance at the specified memory.static @Nullable VkMemoryUnmapInfoKHRcreateSafe(long address) static @Nullable VkMemoryUnmapInfoKHR.BuffercreateSafe(long address, int capacity) flags(int value) Sets the specified value to theflagsfield.static VkMemoryUnmapInfoKHRmalloc()Returns a newVkMemoryUnmapInfoKHRinstance allocated withmemAlloc.static VkMemoryUnmapInfoKHR.Buffermalloc(int capacity) Returns a newVkMemoryUnmapInfoKHR.Bufferinstance allocated withmemAlloc.static VkMemoryUnmapInfoKHR.Buffermalloc(int capacity, MemoryStack stack) Returns a newVkMemoryUnmapInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkMemoryUnmapInfoKHRmalloc(MemoryStack stack) Returns a newVkMemoryUnmapInfoKHRinstance allocated on the specifiedMemoryStack.memory(long value) Sets the specified value to thememoryfield.pNext(long value) Sets the specified value to thepNextfield.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 thesTypefield.Sets theSTRUCTURE_TYPE_MEMORY_UNMAP_INFOvalue to thesTypefield.Methods inherited from class org.lwjgl.vulkan.VkMemoryUnmapInfo
flags, memory, nflags, nflags, nmemory, nmemory, npNext, npNext, nsType, nsType, pNext, set, sizeof, sTypeMethods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
VkMemoryUnmapInfoKHR
Creates aVkMemoryUnmapInfoKHRinstance at the current position of the specifiedByteBuffercontainer. 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 thesTypefield.- Overrides:
sTypein classVkMemoryUnmapInfo
-
sType$Default
Sets theSTRUCTURE_TYPE_MEMORY_UNMAP_INFOvalue to thesTypefield.- Overrides:
sType$Defaultin classVkMemoryUnmapInfo
-
pNext
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkMemoryUnmapInfo
-
flags
Sets the specified value to theflagsfield.- Overrides:
flagsin classVkMemoryUnmapInfo
-
memory
Sets the specified value to thememoryfield.- Overrides:
memoryin classVkMemoryUnmapInfo
-
set
Initializes this struct with the specified values.- Overrides:
setin classVkMemoryUnmapInfo
-
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newVkMemoryUnmapInfoKHRinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkMemoryUnmapInfoKHRinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkMemoryUnmapInfoKHRinstance allocated withBufferUtils. -
create
Returns a newVkMemoryUnmapInfoKHRinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkMemoryUnmapInfoKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkMemoryUnmapInfoKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkMemoryUnmapInfoKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aVkMemoryUnmapInfoKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newVkMemoryUnmapInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkMemoryUnmapInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newVkMemoryUnmapInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newVkMemoryUnmapInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-