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 ofVkAllocationCallbacks
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VkAllocationFunction
pfnAllocation()
Returns the value of thepfnAllocation
field.VkAllocationCallbacks.Buffer
pfnAllocation(VkAllocationFunctionI value)
Sets the specified value to thepfnAllocation
field.VkFreeFunction
pfnFree()
Returns the value of thepfnFree
field.VkAllocationCallbacks.Buffer
pfnFree(VkFreeFunctionI value)
Sets the specified value to thepfnFree
field.VkInternalAllocationNotification
pfnInternalAllocation()
Returns the value of thepfnInternalAllocation
field.VkAllocationCallbacks.Buffer
pfnInternalAllocation(VkInternalAllocationNotificationI value)
Sets the specified value to thepfnInternalAllocation
field.VkInternalFreeNotification
pfnInternalFree()
Returns the value of thepfnInternalFree
field.VkAllocationCallbacks.Buffer
pfnInternalFree(VkInternalFreeNotificationI value)
Sets the specified value to thepfnInternalFree
field.VkReallocationFunction
pfnReallocation()
Returns the value of thepfnReallocation
field.VkAllocationCallbacks.Buffer
pfnReallocation(VkReallocationFunctionI value)
Sets the specified value to thepfnReallocation
field.long
pUserData()
Returns the value of thepUserData
field.VkAllocationCallbacks.Buffer
pUserData(long value)
Sets the specified value to thepUserData
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkAllocationCallbacks.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 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 thepUserData
field.
-
pfnAllocation
public VkAllocationFunction pfnAllocation()
Returns the value of thepfnAllocation
field.
-
pfnReallocation
public VkReallocationFunction pfnReallocation()
Returns the value of thepfnReallocation
field.
-
pfnFree
public VkFreeFunction pfnFree()
Returns the value of thepfnFree
field.
-
pfnInternalAllocation
@Nullable public VkInternalAllocationNotification pfnInternalAllocation()
Returns the value of thepfnInternalAllocation
field.
-
pfnInternalFree
@Nullable public VkInternalFreeNotification pfnInternalFree()
Returns the value of thepfnInternalFree
field.
-
pUserData
public VkAllocationCallbacks.Buffer pUserData(long value)
Sets the specified value to thepUserData
field.
-
pfnAllocation
public VkAllocationCallbacks.Buffer pfnAllocation(VkAllocationFunctionI value)
Sets the specified value to thepfnAllocation
field.
-
pfnReallocation
public VkAllocationCallbacks.Buffer pfnReallocation(VkReallocationFunctionI value)
Sets the specified value to thepfnReallocation
field.
-
pfnFree
public VkAllocationCallbacks.Buffer pfnFree(VkFreeFunctionI value)
Sets the specified value to thepfnFree
field.
-
pfnInternalAllocation
public VkAllocationCallbacks.Buffer pfnInternalAllocation(@Nullable VkInternalAllocationNotificationI value)
Sets the specified value to thepfnInternalAllocation
field.
-
pfnInternalFree
public VkAllocationCallbacks.Buffer pfnInternalFree(@Nullable VkInternalFreeNotificationI value)
Sets the specified value to thepfnInternalFree
field.
-
-