Package org.lwjgl.vulkan
Class VkExportMemoryAllocateInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkExportMemoryAllocateInfo,VkExportMemoryAllocateInfo.Buffer>
-
- org.lwjgl.vulkan.VkExportMemoryAllocateInfo.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkExportMemoryAllocateInfo>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Direct Known Subclasses:
VkExportMemoryAllocateInfoKHR.Buffer
- Enclosing class:
- VkExportMemoryAllocateInfo
public static class VkExportMemoryAllocateInfo.Buffer extends org.lwjgl.system.StructBuffer<VkExportMemoryAllocateInfo,VkExportMemoryAllocateInfo.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkExportMemoryAllocateInfostructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description inthandleTypes()VkExportMemoryAllocateInfo.BufferhandleTypes(int value)Sets the specified value to theVkExportMemoryAllocateInfo.handleTypes()field.longpNext()VkExportMemoryAllocateInfo.BufferpNext(long value)Sets the specified value to theVkExportMemoryAllocateInfo.pNext()field.intsType()VkExportMemoryAllocateInfo.BuffersType(int value)Sets the specified value to theVkExportMemoryAllocateInfo.sType()field.VkExportMemoryAllocateInfo.BuffersType$Default()Sets theSTRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFOvalue to theVkExportMemoryAllocateInfo.sType()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkExportMemoryAllocateInfo.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 byVkExportMemoryAllocateInfo.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
VkExportMemoryAllocateInfo.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkExportMemoryAllocateInfo.pNext()field.
-
handleTypes
public int handleTypes()
- Returns:
- the value of the
VkExportMemoryAllocateInfo.handleTypes()field.
-
sType
public VkExportMemoryAllocateInfo.Buffer sType(int value)
Sets the specified value to theVkExportMemoryAllocateInfo.sType()field.
-
sType$Default
public VkExportMemoryAllocateInfo.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFOvalue to theVkExportMemoryAllocateInfo.sType()field.
-
pNext
public VkExportMemoryAllocateInfo.Buffer pNext(long value)
Sets the specified value to theVkExportMemoryAllocateInfo.pNext()field.
-
handleTypes
public VkExportMemoryAllocateInfo.Buffer handleTypes(int value)
Sets the specified value to theVkExportMemoryAllocateInfo.handleTypes()field.
-
-