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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VkAllocationFunctionpfnAllocation()Returns the value of thepfnAllocationfield.VkAllocationCallbacks.BufferpfnAllocation(VkAllocationFunctionI value)Sets the specified value to thepfnAllocationfield.VkFreeFunctionpfnFree()Returns the value of thepfnFreefield.VkAllocationCallbacks.BufferpfnFree(VkFreeFunctionI value)Sets the specified value to thepfnFreefield.VkInternalAllocationNotificationpfnInternalAllocation()Returns the value of thepfnInternalAllocationfield.VkAllocationCallbacks.BufferpfnInternalAllocation(VkInternalAllocationNotificationI value)Sets the specified value to thepfnInternalAllocationfield.VkInternalFreeNotificationpfnInternalFree()Returns the value of thepfnInternalFreefield.VkAllocationCallbacks.BufferpfnInternalFree(VkInternalFreeNotificationI value)Sets the specified value to thepfnInternalFreefield.VkReallocationFunctionpfnReallocation()Returns the value of thepfnReallocationfield.VkAllocationCallbacks.BufferpfnReallocation(VkReallocationFunctionI value)Sets the specified value to thepfnReallocationfield.longpUserData()Returns the value of thepUserDatafield.VkAllocationCallbacks.BufferpUserData(long value)Sets the specified value to thepUserDatafield.
-
-
-
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 thepUserDatafield.
-
pfnAllocation
public VkAllocationFunction pfnAllocation()
Returns the value of thepfnAllocationfield.
-
pfnReallocation
public VkReallocationFunction pfnReallocation()
Returns the value of thepfnReallocationfield.
-
pfnFree
public VkFreeFunction pfnFree()
Returns the value of thepfnFreefield.
-
pfnInternalAllocation
@Nullable public VkInternalAllocationNotification pfnInternalAllocation()
Returns the value of thepfnInternalAllocationfield.
-
pfnInternalFree
@Nullable public VkInternalFreeNotification pfnInternalFree()
Returns the value of thepfnInternalFreefield.
-
pUserData
public VkAllocationCallbacks.Buffer pUserData(long value)
Sets the specified value to thepUserDatafield.
-
pfnAllocation
public VkAllocationCallbacks.Buffer pfnAllocation(VkAllocationFunctionI value)
Sets the specified value to thepfnAllocationfield.
-
pfnReallocation
public VkAllocationCallbacks.Buffer pfnReallocation(VkReallocationFunctionI value)
Sets the specified value to thepfnReallocationfield.
-
pfnFree
public VkAllocationCallbacks.Buffer pfnFree(VkFreeFunctionI value)
Sets the specified value to thepfnFreefield.
-
pfnInternalAllocation
public VkAllocationCallbacks.Buffer pfnInternalAllocation(@Nullable VkInternalAllocationNotificationI value)
Sets the specified value to thepfnInternalAllocationfield.
-
pfnInternalFree
public VkAllocationCallbacks.Buffer pfnInternalFree(@Nullable VkInternalFreeNotificationI value)
Sets the specified value to thepfnInternalFreefield.
-
-