Package org.lwjgl.vulkan
Class VkMemoryAllocateInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkMemoryAllocateInfo,VkMemoryAllocateInfo.Buffer>
-
- org.lwjgl.vulkan.VkMemoryAllocateInfo.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkMemoryAllocateInfo>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VkMemoryAllocateInfo
public static class VkMemoryAllocateInfo.Buffer extends org.lwjgl.system.StructBuffer<VkMemoryAllocateInfo,VkMemoryAllocateInfo.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkMemoryAllocateInfostructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkMemoryAllocateInfo.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 byVkMemoryAllocateInfo.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
-
sType
public int sType()
- Returns:
- the value of the
VkMemoryAllocateInfo.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkMemoryAllocateInfo.pNext()field.
-
allocationSize
public long allocationSize()
- Returns:
- the value of the
VkMemoryAllocateInfo.allocationSize()field.
-
memoryTypeIndex
public int memoryTypeIndex()
- Returns:
- the value of the
VkMemoryAllocateInfo.memoryTypeIndex()field.
-
sType
public VkMemoryAllocateInfo.Buffer sType(int value)
Sets the specified value to theVkMemoryAllocateInfo.sType()field.
-
sType$Default
public VkMemoryAllocateInfo.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_MEMORY_ALLOCATE_INFOvalue to theVkMemoryAllocateInfo.sType()field.
-
pNext
public VkMemoryAllocateInfo.Buffer pNext(long value)
Sets the specified value to theVkMemoryAllocateInfo.pNext()field.
-
pNext
public VkMemoryAllocateInfo.Buffer pNext(VkDedicatedAllocationMemoryAllocateInfoNV value)
Prepends the specifiedVkDedicatedAllocationMemoryAllocateInfoNVvalue to thepNextchain.
-
pNext
public VkMemoryAllocateInfo.Buffer pNext(VkExportMemoryAllocateInfo value)
Prepends the specifiedVkExportMemoryAllocateInfovalue to thepNextchain.
-
pNext
public VkMemoryAllocateInfo.Buffer pNext(VkExportMemoryAllocateInfoKHR value)
Prepends the specifiedVkExportMemoryAllocateInfoKHRvalue to thepNextchain.
-
pNext
public VkMemoryAllocateInfo.Buffer pNext(VkExportMemoryAllocateInfoNV value)
Prepends the specifiedVkExportMemoryAllocateInfoNVvalue to thepNextchain.
-
pNext
public VkMemoryAllocateInfo.Buffer pNext(VkExportMemoryWin32HandleInfoKHR value)
Prepends the specifiedVkExportMemoryWin32HandleInfoKHRvalue to thepNextchain.
-
pNext
public VkMemoryAllocateInfo.Buffer pNext(VkExportMemoryWin32HandleInfoNV value)
Prepends the specifiedVkExportMemoryWin32HandleInfoNVvalue to thepNextchain.
-
pNext
public VkMemoryAllocateInfo.Buffer pNext(VkImportMemoryFdInfoKHR value)
Prepends the specifiedVkImportMemoryFdInfoKHRvalue to thepNextchain.
-
pNext
public VkMemoryAllocateInfo.Buffer pNext(VkImportMemoryHostPointerInfoEXT value)
Prepends the specifiedVkImportMemoryHostPointerInfoEXTvalue to thepNextchain.
-
pNext
public VkMemoryAllocateInfo.Buffer pNext(VkImportMemoryWin32HandleInfoKHR value)
Prepends the specifiedVkImportMemoryWin32HandleInfoKHRvalue to thepNextchain.
-
pNext
public VkMemoryAllocateInfo.Buffer pNext(VkImportMemoryWin32HandleInfoNV value)
Prepends the specifiedVkImportMemoryWin32HandleInfoNVvalue to thepNextchain.
-
pNext
public VkMemoryAllocateInfo.Buffer pNext(VkMemoryAllocateFlagsInfo value)
Prepends the specifiedVkMemoryAllocateFlagsInfovalue to thepNextchain.
-
pNext
public VkMemoryAllocateInfo.Buffer pNext(VkMemoryAllocateFlagsInfoKHR value)
Prepends the specifiedVkMemoryAllocateFlagsInfoKHRvalue to thepNextchain.
-
pNext
public VkMemoryAllocateInfo.Buffer pNext(VkMemoryDedicatedAllocateInfo value)
Prepends the specifiedVkMemoryDedicatedAllocateInfovalue to thepNextchain.
-
pNext
public VkMemoryAllocateInfo.Buffer pNext(VkMemoryDedicatedAllocateInfoKHR value)
Prepends the specifiedVkMemoryDedicatedAllocateInfoKHRvalue to thepNextchain.
-
pNext
public VkMemoryAllocateInfo.Buffer pNext(VkMemoryOpaqueCaptureAddressAllocateInfo value)
Prepends the specifiedVkMemoryOpaqueCaptureAddressAllocateInfovalue to thepNextchain.
-
pNext
public VkMemoryAllocateInfo.Buffer pNext(VkMemoryOpaqueCaptureAddressAllocateInfoKHR value)
Prepends the specifiedVkMemoryOpaqueCaptureAddressAllocateInfoKHRvalue to thepNextchain.
-
pNext
public VkMemoryAllocateInfo.Buffer pNext(VkMemoryPriorityAllocateInfoEXT value)
Prepends the specifiedVkMemoryPriorityAllocateInfoEXTvalue to thepNextchain.
-
allocationSize
public VkMemoryAllocateInfo.Buffer allocationSize(long value)
Sets the specified value to theVkMemoryAllocateInfo.allocationSize()field.
-
memoryTypeIndex
public VkMemoryAllocateInfo.Buffer memoryTypeIndex(int value)
Sets the specified value to theVkMemoryAllocateInfo.memoryTypeIndex()field.
-
-