Package org.lwjgl.vulkan
Class VkBindMemoryStatusKHR
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkBindMemoryStatus>
org.lwjgl.vulkan.VkBindMemoryStatus
org.lwjgl.vulkan.VkBindMemoryStatusKHR
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
struct VkBindMemoryStatusKHR {
VkStructureType sType;
void const * pNext;
VkResult * pResult;
}-
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.VkBindMemoryStatus
ALIGNOF, PNEXT, PRESULT, SIZEOF, STYPEFields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionVkBindMemoryStatusKHR(ByteBuffer container) Creates aVkBindMemoryStatusKHRinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkBindMemoryStatusKHRcalloc()Returns a newVkBindMemoryStatusKHRinstance allocated withmemCalloc.static VkBindMemoryStatusKHR.Buffercalloc(int capacity) Returns a newVkBindMemoryStatusKHR.Bufferinstance allocated withmemCalloc.static VkBindMemoryStatusKHR.Buffercalloc(int capacity, MemoryStack stack) Returns a newVkBindMemoryStatusKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkBindMemoryStatusKHRcalloc(MemoryStack stack) Returns a newVkBindMemoryStatusKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkBindMemoryStatusKHRcreate()Returns a newVkBindMemoryStatusKHRinstance allocated withBufferUtils.static VkBindMemoryStatusKHR.Buffercreate(int capacity) Returns a newVkBindMemoryStatusKHR.Bufferinstance allocated withBufferUtils.static VkBindMemoryStatusKHRcreate(long address) Returns a newVkBindMemoryStatusKHRinstance for the specified memory address.static VkBindMemoryStatusKHR.Buffercreate(long address, int capacity) Create aVkBindMemoryStatusKHR.Bufferinstance at the specified memory.static @Nullable VkBindMemoryStatusKHRcreateSafe(long address) static @Nullable VkBindMemoryStatusKHR.BuffercreateSafe(long address, int capacity) static VkBindMemoryStatusKHRmalloc()Returns a newVkBindMemoryStatusKHRinstance allocated withmemAlloc.static VkBindMemoryStatusKHR.Buffermalloc(int capacity) Returns a newVkBindMemoryStatusKHR.Bufferinstance allocated withmemAlloc.static VkBindMemoryStatusKHR.Buffermalloc(int capacity, MemoryStack stack) Returns a newVkBindMemoryStatusKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkBindMemoryStatusKHRmalloc(MemoryStack stack) Returns a newVkBindMemoryStatusKHRinstance allocated on the specifiedMemoryStack.pNext(long value) Sets the specified value to thepNextfield.Sets the address of the specifiedIntBufferto thepResultfield.Initializes this struct with the specified values.set(VkBindMemoryStatusKHR src) Copies the specified struct data to this struct.sType(int value) Sets the specified value to thesTypefield.Sets theSTRUCTURE_TYPE_BIND_MEMORY_STATUSvalue to thesTypefield.Methods inherited from class org.lwjgl.vulkan.VkBindMemoryStatus
npNext, npNext, npResult, npResult, nsType, nsType, pNext, pResult, set, sizeof, sType, validateMethods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
VkBindMemoryStatusKHR
Creates aVkBindMemoryStatusKHRinstance 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 classVkBindMemoryStatus
-
sType$Default
Sets theSTRUCTURE_TYPE_BIND_MEMORY_STATUSvalue to thesTypefield.- Overrides:
sType$Defaultin classVkBindMemoryStatus
-
pNext
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkBindMemoryStatus
-
pResult
Sets the address of the specifiedIntBufferto thepResultfield.- Overrides:
pResultin classVkBindMemoryStatus
-
set
Initializes this struct with the specified values.- Overrides:
setin classVkBindMemoryStatus
-
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newVkBindMemoryStatusKHRinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkBindMemoryStatusKHRinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkBindMemoryStatusKHRinstance allocated withBufferUtils. -
create
Returns a newVkBindMemoryStatusKHRinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkBindMemoryStatusKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkBindMemoryStatusKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkBindMemoryStatusKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aVkBindMemoryStatusKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newVkBindMemoryStatusKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkBindMemoryStatusKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newVkBindMemoryStatusKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newVkBindMemoryStatusKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-