public static class VkAllocationCallbacks.Buffer extends org.lwjgl.system.StructBuffer<VkAllocationCallbacks,VkAllocationCallbacks.Buffer> implements org.lwjgl.system.NativeResource
VkAllocationCallbacks structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
VkAllocationCallbacks.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
VkAllocationFunction |
pfnAllocation()
Returns the value of the
pfnAllocation field. |
VkAllocationCallbacks.Buffer |
pfnAllocation(VkAllocationFunctionI value)
Sets the specified value to the
pfnAllocation field. |
VkFreeFunction |
pfnFree()
Returns the value of the
pfnFree field. |
VkAllocationCallbacks.Buffer |
pfnFree(VkFreeFunctionI value)
Sets the specified value to the
pfnFree field. |
VkInternalAllocationNotification |
pfnInternalAllocation()
Returns the value of the
pfnInternalAllocation field. |
VkAllocationCallbacks.Buffer |
pfnInternalAllocation(VkInternalAllocationNotificationI value)
Sets the specified value to the
pfnInternalAllocation field. |
VkInternalFreeNotification |
pfnInternalFree()
Returns the value of the
pfnInternalFree field. |
VkAllocationCallbacks.Buffer |
pfnInternalFree(VkInternalFreeNotificationI value)
Sets the specified value to the
pfnInternalFree field. |
VkReallocationFunction |
pfnReallocation()
Returns the value of the
pfnReallocation field. |
VkAllocationCallbacks.Buffer |
pfnReallocation(VkReallocationFunctionI value)
Sets the specified value to the
pfnReallocation field. |
long |
pUserData()
Returns the value of the
pUserData field. |
VkAllocationCallbacks.Buffer |
pUserData(long value)
Sets the specified value to the
pUserData field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
VkAllocationCallbacks.Buffer instance backed by the specified container.
Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by VkAllocationCallbacks.SIZEOF, and its mark will be undefined.
The created buffer instance holds a strong reference to the container object.
public Buffer(long address,
int cap)
public long pUserData()
pUserData field.public VkAllocationFunction pfnAllocation()
pfnAllocation field.public VkReallocationFunction pfnReallocation()
pfnReallocation field.public VkFreeFunction pfnFree()
pfnFree field.@Nullable public VkInternalAllocationNotification pfnInternalAllocation()
pfnInternalAllocation field.@Nullable public VkInternalFreeNotification pfnInternalFree()
pfnInternalFree field.public VkAllocationCallbacks.Buffer pUserData(long value)
pUserData field.public VkAllocationCallbacks.Buffer pfnAllocation(VkAllocationFunctionI value)
pfnAllocation field.public VkAllocationCallbacks.Buffer pfnReallocation(VkReallocationFunctionI value)
pfnReallocation field.public VkAllocationCallbacks.Buffer pfnFree(VkFreeFunctionI value)
pfnFree field.public VkAllocationCallbacks.Buffer pfnInternalAllocation(@Nullable VkInternalAllocationNotificationI value)
pfnInternalAllocation field.public VkAllocationCallbacks.Buffer pfnInternalFree(@Nullable VkInternalFreeNotificationI value)
pfnInternalFree field.Copyright LWJGL. All Rights Reserved. License terms.