public class VkConformanceVersionKHR
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
major – the major version number of the conformance test suite.minor – the minor version number of the conformance test suite.subminor – the subminor version number of the conformance test suite.patch – the patch version number of the conformance test suite.
struct VkConformanceVersionKHR {
uint8_t major;
uint8_t minor;
uint8_t subminor;
uint8_t patch;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkConformanceVersionKHR.Buffer
An array of
VkConformanceVersionKHR structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
MAJOR
The struct member offsets.
|
static int |
MINOR
The struct member offsets.
|
static int |
PATCH
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
SUBMINOR
The struct member offsets.
|
| Constructor and Description |
|---|
VkConformanceVersionKHR(java.nio.ByteBuffer container)
Creates a
VkConformanceVersionKHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkConformanceVersionKHR |
calloc()
Returns a new
VkConformanceVersionKHR instance allocated with memCalloc. |
static VkConformanceVersionKHR.Buffer |
calloc(int capacity)
Returns a new
VkConformanceVersionKHR.Buffer instance allocated with memCalloc. |
static VkConformanceVersionKHR |
callocStack()
Returns a new
VkConformanceVersionKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkConformanceVersionKHR.Buffer |
callocStack(int capacity)
Returns a new
VkConformanceVersionKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkConformanceVersionKHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkConformanceVersionKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkConformanceVersionKHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkConformanceVersionKHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkConformanceVersionKHR |
create()
Returns a new
VkConformanceVersionKHR instance allocated with BufferUtils. |
static VkConformanceVersionKHR.Buffer |
create(int capacity)
Returns a new
VkConformanceVersionKHR.Buffer instance allocated with BufferUtils. |
static VkConformanceVersionKHR |
create(long address)
Returns a new
VkConformanceVersionKHR instance for the specified memory address. |
static VkConformanceVersionKHR.Buffer |
create(long address,
int capacity)
Create a
VkConformanceVersionKHR.Buffer instance at the specified memory. |
static VkConformanceVersionKHR |
createSafe(long address)
|
static VkConformanceVersionKHR.Buffer |
createSafe(long address,
int capacity)
|
byte |
major()
Returns the value of the
major field. |
VkConformanceVersionKHR |
major(byte value)
Sets the specified value to the
major field. |
static VkConformanceVersionKHR |
malloc()
Returns a new
VkConformanceVersionKHR instance allocated with memAlloc. |
static VkConformanceVersionKHR.Buffer |
malloc(int capacity)
Returns a new
VkConformanceVersionKHR.Buffer instance allocated with memAlloc. |
static VkConformanceVersionKHR |
mallocStack()
Returns a new
VkConformanceVersionKHR instance allocated on the thread-local MemoryStack. |
static VkConformanceVersionKHR.Buffer |
mallocStack(int capacity)
Returns a new
VkConformanceVersionKHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkConformanceVersionKHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkConformanceVersionKHR.Buffer instance allocated on the specified MemoryStack. |
static VkConformanceVersionKHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkConformanceVersionKHR instance allocated on the specified MemoryStack. |
byte |
minor()
Returns the value of the
minor field. |
VkConformanceVersionKHR |
minor(byte value)
Sets the specified value to the
minor field. |
static byte |
nmajor(long struct)
Unsafe version of
major(). |
static void |
nmajor(long struct,
byte value)
Unsafe version of
major. |
static byte |
nminor(long struct)
Unsafe version of
minor(). |
static void |
nminor(long struct,
byte value)
Unsafe version of
minor. |
static byte |
npatch(long struct)
Unsafe version of
patch(). |
static void |
npatch(long struct,
byte value)
Unsafe version of
patch. |
static byte |
nsubminor(long struct)
Unsafe version of
subminor(). |
static void |
nsubminor(long struct,
byte value)
Unsafe version of
subminor. |
byte |
patch()
Returns the value of the
patch field. |
VkConformanceVersionKHR |
patch(byte value)
Sets the specified value to the
patch field. |
VkConformanceVersionKHR |
set(byte major,
byte minor,
byte subminor,
byte patch)
Initializes this struct with the specified values.
|
VkConformanceVersionKHR |
set(VkConformanceVersionKHR src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
byte |
subminor()
Returns the value of the
subminor field. |
VkConformanceVersionKHR |
subminor(byte value)
Sets the specified value to the
subminor field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int MAJOR
public static final int MINOR
public static final int SUBMINOR
public static final int PATCH
public VkConformanceVersionKHR(java.nio.ByteBuffer container)
VkConformanceVersionKHR instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be
visible to the struct instance and vice versa.
The created instance holds a strong reference to the container object.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic byte major()
major field.public byte minor()
minor field.public byte subminor()
subminor field.public byte patch()
patch field.public VkConformanceVersionKHR major(byte value)
major field.public VkConformanceVersionKHR minor(byte value)
minor field.public VkConformanceVersionKHR subminor(byte value)
subminor field.public VkConformanceVersionKHR patch(byte value)
patch field.public VkConformanceVersionKHR set(byte major, byte minor, byte subminor, byte patch)
public VkConformanceVersionKHR set(VkConformanceVersionKHR src)
src - the source structpublic static VkConformanceVersionKHR malloc()
VkConformanceVersionKHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkConformanceVersionKHR calloc()
VkConformanceVersionKHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkConformanceVersionKHR create()
VkConformanceVersionKHR instance allocated with BufferUtils.public static VkConformanceVersionKHR create(long address)
VkConformanceVersionKHR instance for the specified memory address.@Nullable public static VkConformanceVersionKHR createSafe(long address)
public static VkConformanceVersionKHR.Buffer malloc(int capacity)
VkConformanceVersionKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkConformanceVersionKHR.Buffer calloc(int capacity)
VkConformanceVersionKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkConformanceVersionKHR.Buffer create(int capacity)
VkConformanceVersionKHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkConformanceVersionKHR.Buffer create(long address, int capacity)
VkConformanceVersionKHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkConformanceVersionKHR.Buffer createSafe(long address, int capacity)
public static VkConformanceVersionKHR mallocStack()
VkConformanceVersionKHR instance allocated on the thread-local MemoryStack.public static VkConformanceVersionKHR callocStack()
VkConformanceVersionKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkConformanceVersionKHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkConformanceVersionKHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkConformanceVersionKHR callocStack(org.lwjgl.system.MemoryStack stack)
VkConformanceVersionKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkConformanceVersionKHR.Buffer mallocStack(int capacity)
VkConformanceVersionKHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkConformanceVersionKHR.Buffer callocStack(int capacity)
VkConformanceVersionKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkConformanceVersionKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkConformanceVersionKHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkConformanceVersionKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkConformanceVersionKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static byte nmajor(long struct)
major().public static byte nminor(long struct)
minor().public static byte nsubminor(long struct)
subminor().public static byte npatch(long struct)
patch().public static void nmajor(long struct,
byte value)
major.public static void nminor(long struct,
byte value)
minor.public static void nsubminor(long struct,
byte value)
subminor.public static void npatch(long struct,
byte value)
patch.Copyright LWJGL. All Rights Reserved. License terms.