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.StructValidation
Nested 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, STYPE
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionVkBindMemoryStatusKHR
(ByteBuffer container) Creates aVkBindMemoryStatusKHR
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkBindMemoryStatusKHR
calloc()
Returns a newVkBindMemoryStatusKHR
instance allocated withmemCalloc
.static VkBindMemoryStatusKHR.Buffer
calloc
(int capacity) Returns a newVkBindMemoryStatusKHR.Buffer
instance allocated withmemCalloc
.static VkBindMemoryStatusKHR.Buffer
calloc
(int capacity, MemoryStack stack) Returns a newVkBindMemoryStatusKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkBindMemoryStatusKHR
calloc
(MemoryStack stack) Returns a newVkBindMemoryStatusKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkBindMemoryStatusKHR
create()
Returns a newVkBindMemoryStatusKHR
instance allocated withBufferUtils
.static VkBindMemoryStatusKHR.Buffer
create
(int capacity) Returns a newVkBindMemoryStatusKHR.Buffer
instance allocated withBufferUtils
.static VkBindMemoryStatusKHR
create
(long address) Returns a newVkBindMemoryStatusKHR
instance for the specified memory address.static VkBindMemoryStatusKHR.Buffer
create
(long address, int capacity) Create aVkBindMemoryStatusKHR.Buffer
instance at the specified memory.static @Nullable VkBindMemoryStatusKHR
createSafe
(long address) static @Nullable VkBindMemoryStatusKHR.Buffer
createSafe
(long address, int capacity) static VkBindMemoryStatusKHR
malloc()
Returns a newVkBindMemoryStatusKHR
instance allocated withmemAlloc
.static VkBindMemoryStatusKHR.Buffer
malloc
(int capacity) Returns a newVkBindMemoryStatusKHR.Buffer
instance allocated withmemAlloc
.static VkBindMemoryStatusKHR.Buffer
malloc
(int capacity, MemoryStack stack) Returns a newVkBindMemoryStatusKHR.Buffer
instance allocated on the specifiedMemoryStack
.static VkBindMemoryStatusKHR
malloc
(MemoryStack stack) Returns a newVkBindMemoryStatusKHR
instance allocated on the specifiedMemoryStack
.pNext
(long value) Sets the specified value to thepNext
field.Sets the address of the specifiedIntBuffer
to thepResult
field.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 thesType
field.Sets theSTRUCTURE_TYPE_BIND_MEMORY_STATUS
value to thesType
field.Methods inherited from class org.lwjgl.vulkan.VkBindMemoryStatus
npNext, npNext, npResult, npResult, nsType, nsType, pNext, pResult, set, sizeof, sType, validate
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
-
VkBindMemoryStatusKHR
Creates aVkBindMemoryStatusKHR
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 classVkBindMemoryStatus
-
sType$Default
Sets theSTRUCTURE_TYPE_BIND_MEMORY_STATUS
value to thesType
field.- Overrides:
sType$Default
in classVkBindMemoryStatus
-
pNext
Sets the specified value to thepNext
field.- Overrides:
pNext
in classVkBindMemoryStatus
-
pResult
Sets the address of the specifiedIntBuffer
to thepResult
field.- Overrides:
pResult
in classVkBindMemoryStatus
-
set
Initializes this struct with the specified values.- Overrides:
set
in classVkBindMemoryStatus
-
set
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
Returns a newVkBindMemoryStatusKHR
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newVkBindMemoryStatusKHR
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newVkBindMemoryStatusKHR
instance allocated withBufferUtils
. -
create
Returns a newVkBindMemoryStatusKHR
instance for the specified memory address. -
createSafe
-
malloc
Returns a newVkBindMemoryStatusKHR.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newVkBindMemoryStatusKHR.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newVkBindMemoryStatusKHR.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aVkBindMemoryStatusKHR.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
malloc
Returns a newVkBindMemoryStatusKHR
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newVkBindMemoryStatusKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newVkBindMemoryStatusKHR.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newVkBindMemoryStatusKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-