public class VkExtensionProperties
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
extensionName[VK_MAX_EXTENSION_NAME_SIZE] – an array of MAX_EXTENSION_NAME_SIZE char containing a null-terminated UTF-8 string which is the name of the extension.specVersion – the version of this extension. It is an integer, incremented with backward compatible changes.
struct VkExtensionProperties {
char extensionName[VK_MAX_EXTENSION_NAME_SIZE];
uint32_t specVersion;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkExtensionProperties.Buffer
An array of
VkExtensionProperties structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
EXTENSIONNAME
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
SPECVERSION
The struct member offsets.
|
| Constructor and Description |
|---|
VkExtensionProperties(java.nio.ByteBuffer container)
Creates a
VkExtensionProperties instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkExtensionProperties |
calloc()
Returns a new
VkExtensionProperties instance allocated with memCalloc. |
static VkExtensionProperties.Buffer |
calloc(int capacity)
Returns a new
VkExtensionProperties.Buffer instance allocated with memCalloc. |
static VkExtensionProperties |
callocStack()
Returns a new
VkExtensionProperties instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkExtensionProperties.Buffer |
callocStack(int capacity)
Returns a new
VkExtensionProperties.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkExtensionProperties.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkExtensionProperties.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkExtensionProperties |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkExtensionProperties instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkExtensionProperties |
create()
Returns a new
VkExtensionProperties instance allocated with BufferUtils. |
static VkExtensionProperties.Buffer |
create(int capacity)
Returns a new
VkExtensionProperties.Buffer instance allocated with BufferUtils. |
static VkExtensionProperties |
create(long address)
Returns a new
VkExtensionProperties instance for the specified memory address. |
static VkExtensionProperties.Buffer |
create(long address,
int capacity)
Create a
VkExtensionProperties.Buffer instance at the specified memory. |
static VkExtensionProperties |
createSafe(long address)
|
static VkExtensionProperties.Buffer |
createSafe(long address,
int capacity)
|
java.nio.ByteBuffer |
extensionName()
Returns a
ByteBuffer view of the extensionName field. |
java.lang.String |
extensionNameString()
Decodes the null-terminated string stored in the
extensionName field. |
static VkExtensionProperties |
malloc()
Returns a new
VkExtensionProperties instance allocated with memAlloc. |
static VkExtensionProperties.Buffer |
malloc(int capacity)
Returns a new
VkExtensionProperties.Buffer instance allocated with memAlloc. |
static VkExtensionProperties |
mallocStack()
Returns a new
VkExtensionProperties instance allocated on the thread-local MemoryStack. |
static VkExtensionProperties.Buffer |
mallocStack(int capacity)
Returns a new
VkExtensionProperties.Buffer instance allocated on the thread-local MemoryStack. |
static VkExtensionProperties.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkExtensionProperties.Buffer instance allocated on the specified MemoryStack. |
static VkExtensionProperties |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkExtensionProperties instance allocated on the specified MemoryStack. |
static java.nio.ByteBuffer |
nextensionName(long struct)
Unsafe version of
extensionName(). |
static java.lang.String |
nextensionNameString(long struct)
Unsafe version of
extensionNameString(). |
static int |
nspecVersion(long struct)
Unsafe version of
specVersion(). |
int |
sizeof() |
int |
specVersion()
Returns the value of the
specVersion field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int EXTENSIONNAME
public static final int SPECVERSION
public VkExtensionProperties(java.nio.ByteBuffer container)
VkExtensionProperties 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 java.nio.ByteBuffer extensionName()
ByteBuffer view of the extensionName field.public java.lang.String extensionNameString()
extensionName field.public int specVersion()
specVersion field.public static VkExtensionProperties malloc()
VkExtensionProperties instance allocated with memAlloc. The instance must be explicitly freed.public static VkExtensionProperties calloc()
VkExtensionProperties instance allocated with memCalloc. The instance must be explicitly freed.public static VkExtensionProperties create()
VkExtensionProperties instance allocated with BufferUtils.public static VkExtensionProperties create(long address)
VkExtensionProperties instance for the specified memory address.@Nullable public static VkExtensionProperties createSafe(long address)
public static VkExtensionProperties.Buffer malloc(int capacity)
VkExtensionProperties.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkExtensionProperties.Buffer calloc(int capacity)
VkExtensionProperties.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkExtensionProperties.Buffer create(int capacity)
VkExtensionProperties.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkExtensionProperties.Buffer create(long address, int capacity)
VkExtensionProperties.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkExtensionProperties.Buffer createSafe(long address, int capacity)
public static VkExtensionProperties mallocStack()
VkExtensionProperties instance allocated on the thread-local MemoryStack.public static VkExtensionProperties callocStack()
VkExtensionProperties instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkExtensionProperties mallocStack(org.lwjgl.system.MemoryStack stack)
VkExtensionProperties instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkExtensionProperties callocStack(org.lwjgl.system.MemoryStack stack)
VkExtensionProperties instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkExtensionProperties.Buffer mallocStack(int capacity)
VkExtensionProperties.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkExtensionProperties.Buffer callocStack(int capacity)
VkExtensionProperties.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkExtensionProperties.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkExtensionProperties.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkExtensionProperties.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkExtensionProperties.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 java.nio.ByteBuffer nextensionName(long struct)
extensionName().public static java.lang.String nextensionNameString(long struct)
extensionNameString().public static int nspecVersion(long struct)
specVersion().Copyright LWJGL. All Rights Reserved. License terms.