Package org.lwjgl.vulkan
Class VkDeviceImageMemoryRequirements.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkDeviceImageMemoryRequirements,VkDeviceImageMemoryRequirements.Buffer>
-
- org.lwjgl.vulkan.VkDeviceImageMemoryRequirements.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkDeviceImageMemoryRequirements>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Direct Known Subclasses:
VkDeviceImageMemoryRequirementsKHR.Buffer
- Enclosing class:
- VkDeviceImageMemoryRequirements
public static class VkDeviceImageMemoryRequirements.Buffer extends org.lwjgl.system.StructBuffer<VkDeviceImageMemoryRequirements,VkDeviceImageMemoryRequirements.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkDeviceImageMemoryRequirementsstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VkImageCreateInfopCreateInfo()VkDeviceImageMemoryRequirements.BufferpCreateInfo(VkImageCreateInfo value)Sets the address of the specifiedVkImageCreateInfoto theVkDeviceImageMemoryRequirements.pCreateInfo()field.intplaneAspect()VkDeviceImageMemoryRequirements.BufferplaneAspect(int value)Sets the specified value to theVkDeviceImageMemoryRequirements.planeAspect()field.longpNext()VkDeviceImageMemoryRequirements.BufferpNext(long value)Sets the specified value to theVkDeviceImageMemoryRequirements.pNext()field.intsType()VkDeviceImageMemoryRequirements.BuffersType(int value)Sets the specified value to theVkDeviceImageMemoryRequirements.sType()field.VkDeviceImageMemoryRequirements.BuffersType$Default()Sets theSTRUCTURE_TYPE_DEVICE_IMAGE_MEMORY_REQUIREMENTSvalue to theVkDeviceImageMemoryRequirements.sType()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkDeviceImageMemoryRequirements.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 byVkDeviceImageMemoryRequirements.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
VkDeviceImageMemoryRequirements.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkDeviceImageMemoryRequirements.pNext()field.
-
pCreateInfo
public VkImageCreateInfo pCreateInfo()
- Returns:
- a
VkImageCreateInfoview of the struct pointed to by theVkDeviceImageMemoryRequirements.pCreateInfo()field.
-
planeAspect
public int planeAspect()
- Returns:
- the value of the
VkDeviceImageMemoryRequirements.planeAspect()field.
-
sType
public VkDeviceImageMemoryRequirements.Buffer sType(int value)
Sets the specified value to theVkDeviceImageMemoryRequirements.sType()field.
-
sType$Default
public VkDeviceImageMemoryRequirements.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_DEVICE_IMAGE_MEMORY_REQUIREMENTSvalue to theVkDeviceImageMemoryRequirements.sType()field.
-
pNext
public VkDeviceImageMemoryRequirements.Buffer pNext(long value)
Sets the specified value to theVkDeviceImageMemoryRequirements.pNext()field.
-
pCreateInfo
public VkDeviceImageMemoryRequirements.Buffer pCreateInfo(VkImageCreateInfo value)
Sets the address of the specifiedVkImageCreateInfoto theVkDeviceImageMemoryRequirements.pCreateInfo()field.
-
planeAspect
public VkDeviceImageMemoryRequirements.Buffer planeAspect(int value)
Sets the specified value to theVkDeviceImageMemoryRequirements.planeAspect()field.
-
-