Package org.lwjgl.vulkan
Class VkAttachmentDescription2.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkAttachmentDescription2,VkAttachmentDescription2.Buffer>
-
- org.lwjgl.vulkan.VkAttachmentDescription2.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkAttachmentDescription2>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Direct Known Subclasses:
VkAttachmentDescription2KHR.Buffer
- Enclosing class:
- VkAttachmentDescription2
public static class VkAttachmentDescription2.Buffer extends org.lwjgl.system.StructBuffer<VkAttachmentDescription2,VkAttachmentDescription2.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkAttachmentDescription2structs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkAttachmentDescription2.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 byVkAttachmentDescription2.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
VkAttachmentDescription2.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkAttachmentDescription2.pNext()field.
-
flags
public int flags()
- Returns:
- the value of the
VkAttachmentDescription2.flags()field.
-
format
public int format()
- Returns:
- the value of the
VkAttachmentDescription2.format()field.
-
samples
public int samples()
- Returns:
- the value of the
VkAttachmentDescription2.samples()field.
-
loadOp
public int loadOp()
- Returns:
- the value of the
VkAttachmentDescription2.loadOp()field.
-
storeOp
public int storeOp()
- Returns:
- the value of the
VkAttachmentDescription2.storeOp()field.
-
stencilLoadOp
public int stencilLoadOp()
- Returns:
- the value of the
VkAttachmentDescription2.stencilLoadOp()field.
-
stencilStoreOp
public int stencilStoreOp()
- Returns:
- the value of the
VkAttachmentDescription2.stencilStoreOp()field.
-
initialLayout
public int initialLayout()
- Returns:
- the value of the
VkAttachmentDescription2.initialLayout()field.
-
finalLayout
public int finalLayout()
- Returns:
- the value of the
VkAttachmentDescription2.finalLayout()field.
-
sType
public VkAttachmentDescription2.Buffer sType(int value)
Sets the specified value to theVkAttachmentDescription2.sType()field.
-
sType$Default
public VkAttachmentDescription2.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_2value to theVkAttachmentDescription2.sType()field.
-
pNext
public VkAttachmentDescription2.Buffer pNext(long value)
Sets the specified value to theVkAttachmentDescription2.pNext()field.
-
pNext
public VkAttachmentDescription2.Buffer pNext(VkAttachmentDescriptionStencilLayout value)
Prepends the specifiedVkAttachmentDescriptionStencilLayoutvalue to thepNextchain.
-
pNext
public VkAttachmentDescription2.Buffer pNext(VkAttachmentDescriptionStencilLayoutKHR value)
Prepends the specifiedVkAttachmentDescriptionStencilLayoutKHRvalue to thepNextchain.
-
flags
public VkAttachmentDescription2.Buffer flags(int value)
Sets the specified value to theVkAttachmentDescription2.flags()field.
-
format
public VkAttachmentDescription2.Buffer format(int value)
Sets the specified value to theVkAttachmentDescription2.format()field.
-
samples
public VkAttachmentDescription2.Buffer samples(int value)
Sets the specified value to theVkAttachmentDescription2.samples()field.
-
loadOp
public VkAttachmentDescription2.Buffer loadOp(int value)
Sets the specified value to theVkAttachmentDescription2.loadOp()field.
-
storeOp
public VkAttachmentDescription2.Buffer storeOp(int value)
Sets the specified value to theVkAttachmentDescription2.storeOp()field.
-
stencilLoadOp
public VkAttachmentDescription2.Buffer stencilLoadOp(int value)
Sets the specified value to theVkAttachmentDescription2.stencilLoadOp()field.
-
stencilStoreOp
public VkAttachmentDescription2.Buffer stencilStoreOp(int value)
Sets the specified value to theVkAttachmentDescription2.stencilStoreOp()field.
-
initialLayout
public VkAttachmentDescription2.Buffer initialLayout(int value)
Sets the specified value to theVkAttachmentDescription2.initialLayout()field.
-
finalLayout
public VkAttachmentDescription2.Buffer finalLayout(int value)
Sets the specified value to theVkAttachmentDescription2.finalLayout()field.
-
-