Package org.lwjgl.vulkan
Class VkConformanceVersion.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkConformanceVersion,VkConformanceVersion.Buffer>
-
- org.lwjgl.vulkan.VkConformanceVersion.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkConformanceVersion>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Direct Known Subclasses:
VkConformanceVersionKHR.Buffer
- Enclosing class:
- VkConformanceVersion
public static class VkConformanceVersion.Buffer extends org.lwjgl.system.StructBuffer<VkConformanceVersion,VkConformanceVersion.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkConformanceVersionstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description bytemajor()VkConformanceVersion.Buffermajor(byte value)Sets the specified value to theVkConformanceVersion.major()field.byteminor()VkConformanceVersion.Bufferminor(byte value)Sets the specified value to theVkConformanceVersion.minor()field.bytepatch()VkConformanceVersion.Bufferpatch(byte value)Sets the specified value to theVkConformanceVersion.patch()field.bytesubminor()VkConformanceVersion.Buffersubminor(byte value)Sets the specified value to theVkConformanceVersion.subminor()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkConformanceVersion.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 byVkConformanceVersion.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
-
major
public byte major()
- Returns:
- the value of the
VkConformanceVersion.major()field.
-
minor
public byte minor()
- Returns:
- the value of the
VkConformanceVersion.minor()field.
-
subminor
public byte subminor()
- Returns:
- the value of the
VkConformanceVersion.subminor()field.
-
patch
public byte patch()
- Returns:
- the value of the
VkConformanceVersion.patch()field.
-
major
public VkConformanceVersion.Buffer major(byte value)
Sets the specified value to theVkConformanceVersion.major()field.
-
minor
public VkConformanceVersion.Buffer minor(byte value)
Sets the specified value to theVkConformanceVersion.minor()field.
-
subminor
public VkConformanceVersion.Buffer subminor(byte value)
Sets the specified value to theVkConformanceVersion.subminor()field.
-
patch
public VkConformanceVersion.Buffer patch(byte value)
Sets the specified value to theVkConformanceVersion.patch()field.
-
-