Package org.lwjgl.vulkan
Class VkSubpassDependency2KHR.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkSubpassDependency2KHR,VkSubpassDependency2KHR.Buffer>
-
- org.lwjgl.vulkan.VkSubpassDependency2KHR.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.lang.Iterable<VkSubpassDependency2KHR>
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
- Enclosing class:
- VkSubpassDependency2KHR
public static class VkSubpassDependency2KHR.Buffer extends org.lwjgl.system.StructBuffer<VkSubpassDependency2KHR,VkSubpassDependency2KHR.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkSubpassDependency2KHR
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
dependencyFlags()
Returns the value of thedependencyFlags
field.VkSubpassDependency2KHR.Buffer
dependencyFlags(int value)
Sets the specified value to thedependencyFlags
field.int
dstAccessMask()
Returns the value of thedstAccessMask
field.VkSubpassDependency2KHR.Buffer
dstAccessMask(int value)
Sets the specified value to thedstAccessMask
field.int
dstStageMask()
Returns the value of thedstStageMask
field.VkSubpassDependency2KHR.Buffer
dstStageMask(int value)
Sets the specified value to thedstStageMask
field.int
dstSubpass()
Returns the value of thedstSubpass
field.VkSubpassDependency2KHR.Buffer
dstSubpass(int value)
Sets the specified value to thedstSubpass
field.long
pNext()
Returns the value of thepNext
field.VkSubpassDependency2KHR.Buffer
pNext(long value)
Sets the specified value to thepNext
field.int
srcAccessMask()
Returns the value of thesrcAccessMask
field.VkSubpassDependency2KHR.Buffer
srcAccessMask(int value)
Sets the specified value to thesrcAccessMask
field.int
srcStageMask()
Returns the value of thesrcStageMask
field.VkSubpassDependency2KHR.Buffer
srcStageMask(int value)
Sets the specified value to thesrcStageMask
field.int
srcSubpass()
Returns the value of thesrcSubpass
field.VkSubpassDependency2KHR.Buffer
srcSubpass(int value)
Sets the specified value to thesrcSubpass
field.int
sType()
Returns the value of thesType
field.VkSubpassDependency2KHR.Buffer
sType(int value)
Sets the specified value to thesType
field.int
viewOffset()
Returns the value of theviewOffset
field.VkSubpassDependency2KHR.Buffer
viewOffset(int value)
Sets the specified value to theviewOffset
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkSubpassDependency2KHR.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 byVkSubpassDependency2KHR.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 thesType
field.
-
pNext
public long pNext()
Returns the value of thepNext
field.
-
srcSubpass
public int srcSubpass()
Returns the value of thesrcSubpass
field.
-
dstSubpass
public int dstSubpass()
Returns the value of thedstSubpass
field.
-
srcStageMask
public int srcStageMask()
Returns the value of thesrcStageMask
field.
-
dstStageMask
public int dstStageMask()
Returns the value of thedstStageMask
field.
-
srcAccessMask
public int srcAccessMask()
Returns the value of thesrcAccessMask
field.
-
dstAccessMask
public int dstAccessMask()
Returns the value of thedstAccessMask
field.
-
dependencyFlags
public int dependencyFlags()
Returns the value of thedependencyFlags
field.
-
viewOffset
public int viewOffset()
Returns the value of theviewOffset
field.
-
sType
public VkSubpassDependency2KHR.Buffer sType(int value)
Sets the specified value to thesType
field.
-
pNext
public VkSubpassDependency2KHR.Buffer pNext(long value)
Sets the specified value to thepNext
field.
-
srcSubpass
public VkSubpassDependency2KHR.Buffer srcSubpass(int value)
Sets the specified value to thesrcSubpass
field.
-
dstSubpass
public VkSubpassDependency2KHR.Buffer dstSubpass(int value)
Sets the specified value to thedstSubpass
field.
-
srcStageMask
public VkSubpassDependency2KHR.Buffer srcStageMask(int value)
Sets the specified value to thesrcStageMask
field.
-
dstStageMask
public VkSubpassDependency2KHR.Buffer dstStageMask(int value)
Sets the specified value to thedstStageMask
field.
-
srcAccessMask
public VkSubpassDependency2KHR.Buffer srcAccessMask(int value)
Sets the specified value to thesrcAccessMask
field.
-
dstAccessMask
public VkSubpassDependency2KHR.Buffer dstAccessMask(int value)
Sets the specified value to thedstAccessMask
field.
-
dependencyFlags
public VkSubpassDependency2KHR.Buffer dependencyFlags(int value)
Sets the specified value to thedependencyFlags
field.
-
viewOffset
public VkSubpassDependency2KHR.Buffer viewOffset(int value)
Sets the specified value to theviewOffset
field.
-
-