Package org.lwjgl.vulkan
Class VkImageStencilUsageCreateInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkImageStencilUsageCreateInfo,VkImageStencilUsageCreateInfo.Buffer>
-
- org.lwjgl.vulkan.VkImageStencilUsageCreateInfo.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkImageStencilUsageCreateInfo>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Direct Known Subclasses:
VkImageStencilUsageCreateInfoEXT.Buffer
- Enclosing class:
- VkImageStencilUsageCreateInfo
public static class VkImageStencilUsageCreateInfo.Buffer extends org.lwjgl.system.StructBuffer<VkImageStencilUsageCreateInfo,VkImageStencilUsageCreateInfo.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkImageStencilUsageCreateInfostructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longpNext()VkImageStencilUsageCreateInfo.BufferpNext(long value)Sets the specified value to theVkImageStencilUsageCreateInfo.pNext()field.intstencilUsage()VkImageStencilUsageCreateInfo.BufferstencilUsage(int value)Sets the specified value to theVkImageStencilUsageCreateInfo.stencilUsage()field.intsType()VkImageStencilUsageCreateInfo.BuffersType(int value)Sets the specified value to theVkImageStencilUsageCreateInfo.sType()field.VkImageStencilUsageCreateInfo.BuffersType$Default()Sets theSTRUCTURE_TYPE_IMAGE_STENCIL_USAGE_CREATE_INFOvalue to theVkImageStencilUsageCreateInfo.sType()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkImageStencilUsageCreateInfo.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 byVkImageStencilUsageCreateInfo.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
VkImageStencilUsageCreateInfo.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkImageStencilUsageCreateInfo.pNext()field.
-
stencilUsage
public int stencilUsage()
- Returns:
- the value of the
VkImageStencilUsageCreateInfo.stencilUsage()field.
-
sType
public VkImageStencilUsageCreateInfo.Buffer sType(int value)
Sets the specified value to theVkImageStencilUsageCreateInfo.sType()field.
-
sType$Default
public VkImageStencilUsageCreateInfo.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_IMAGE_STENCIL_USAGE_CREATE_INFOvalue to theVkImageStencilUsageCreateInfo.sType()field.
-
pNext
public VkImageStencilUsageCreateInfo.Buffer pNext(long value)
Sets the specified value to theVkImageStencilUsageCreateInfo.pNext()field.
-
stencilUsage
public VkImageStencilUsageCreateInfo.Buffer stencilUsage(int value)
Sets the specified value to theVkImageStencilUsageCreateInfo.stencilUsage()field.
-
-