Package org.lwjgl.vulkan
Class VkAllocationCallbacks.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkAllocationCallbacks,VkAllocationCallbacks.Buffer>
-
- org.lwjgl.vulkan.VkAllocationCallbacks.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkAllocationCallbacks>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VkAllocationCallbacks
public static class VkAllocationCallbacks.Buffer extends org.lwjgl.system.StructBuffer<VkAllocationCallbacks,VkAllocationCallbacks.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkAllocationCallbacksstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkAllocationCallbacks.Bufferinstance 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 byVkAllocationCallbacks.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
pUserData
public long pUserData()
- Returns:
- the value of the
VkAllocationCallbacks.pUserData()field.
-
pfnAllocation
@Nullable public VkAllocationFunction pfnAllocation()
- Returns:
- the value of the
VkAllocationCallbacks.pfnAllocation()field.
-
pfnReallocation
@Nullable public VkReallocationFunction pfnReallocation()
- Returns:
- the value of the
VkAllocationCallbacks.pfnReallocation()field.
-
pfnFree
@Nullable public VkFreeFunction pfnFree()
- Returns:
- the value of the
VkAllocationCallbacks.pfnFree()field.
-
pfnInternalAllocation
@Nullable public VkInternalAllocationNotification pfnInternalAllocation()
- Returns:
- the value of the
VkAllocationCallbacks.pfnInternalAllocation()field.
-
pfnInternalFree
@Nullable public VkInternalFreeNotification pfnInternalFree()
- Returns:
- the value of the
VkAllocationCallbacks.pfnInternalFree()field.
-
pUserData
public VkAllocationCallbacks.Buffer pUserData(long value)
Sets the specified value to theVkAllocationCallbacks.pUserData()field.
-
pfnAllocation
public VkAllocationCallbacks.Buffer pfnAllocation(@Nullable VkAllocationFunctionI value)
Sets the specified value to theVkAllocationCallbacks.pfnAllocation()field.
-
pfnReallocation
public VkAllocationCallbacks.Buffer pfnReallocation(@Nullable VkReallocationFunctionI value)
Sets the specified value to theVkAllocationCallbacks.pfnReallocation()field.
-
pfnFree
public VkAllocationCallbacks.Buffer pfnFree(@Nullable VkFreeFunctionI value)
Sets the specified value to theVkAllocationCallbacks.pfnFree()field.
-
pfnInternalAllocation
public VkAllocationCallbacks.Buffer pfnInternalAllocation(@Nullable VkInternalAllocationNotificationI value)
Sets the specified value to theVkAllocationCallbacks.pfnInternalAllocation()field.
-
pfnInternalFree
public VkAllocationCallbacks.Buffer pfnInternalFree(@Nullable VkInternalFreeNotificationI value)
Sets the specified value to theVkAllocationCallbacks.pfnInternalFree()field.
-
-