public class VkPhysicalDeviceToolPropertiesEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
sType must be STRUCTURE_TYPE_PHYSICAL_DEVICE_TOOL_PROPERTIES_EXTpNext must be NULLGetPhysicalDeviceToolPropertiesEXT
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.name[VK_MAX_EXTENSION_NAME_SIZE] – a null-terminated UTF-8 string containing the name of the tool.version[VK_MAX_EXTENSION_NAME_SIZE] – a null-terminated UTF-8 string containing the version of the tool.purposes – a bitmask of VkToolPurposeFlagBitsEXT which is populated with purposes supported by the tool.description[VK_MAX_DESCRIPTION_SIZE] – a null-terminated UTF-8 string containing a description of the tool.layer[VK_MAX_EXTENSION_NAME_SIZE] – a null-terminated UTF-8 string that contains the name of the layer implementing the tool, if the tool is implemented in a layer - otherwise it may be an empty string.
struct VkPhysicalDeviceToolPropertiesEXT {
VkStructureType sType;
void * pNext;
char name[VK_MAX_EXTENSION_NAME_SIZE];
char version[VK_MAX_EXTENSION_NAME_SIZE];
VkToolPurposeFlagsEXT purposes;
char description[VK_MAX_DESCRIPTION_SIZE];
char layer[VK_MAX_EXTENSION_NAME_SIZE];
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceToolPropertiesEXT.Buffer
An array of
VkPhysicalDeviceToolPropertiesEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
DESCRIPTION
The struct member offsets.
|
static int |
LAYER
The struct member offsets.
|
static int |
NAME
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
PURPOSES
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
static int |
VERSION
The struct member offsets.
|
| Constructor and Description |
|---|
VkPhysicalDeviceToolPropertiesEXT(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceToolPropertiesEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDeviceToolPropertiesEXT |
calloc()
Returns a new
VkPhysicalDeviceToolPropertiesEXT instance allocated with memCalloc. |
static VkPhysicalDeviceToolPropertiesEXT.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceToolPropertiesEXT.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceToolPropertiesEXT |
callocStack()
Returns a new
VkPhysicalDeviceToolPropertiesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceToolPropertiesEXT.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceToolPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceToolPropertiesEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceToolPropertiesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceToolPropertiesEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceToolPropertiesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceToolPropertiesEXT |
create()
Returns a new
VkPhysicalDeviceToolPropertiesEXT instance allocated with BufferUtils. |
static VkPhysicalDeviceToolPropertiesEXT.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceToolPropertiesEXT.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceToolPropertiesEXT |
create(long address)
Returns a new
VkPhysicalDeviceToolPropertiesEXT instance for the specified memory address. |
static VkPhysicalDeviceToolPropertiesEXT.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceToolPropertiesEXT.Buffer instance at the specified memory. |
static VkPhysicalDeviceToolPropertiesEXT |
createSafe(long address)
|
static VkPhysicalDeviceToolPropertiesEXT.Buffer |
createSafe(long address,
int capacity)
|
java.nio.ByteBuffer |
description()
Returns a
ByteBuffer view of the description field. |
java.lang.String |
descriptionString()
Decodes the null-terminated string stored in the
description field. |
java.nio.ByteBuffer |
layer()
Returns a
ByteBuffer view of the layer field. |
java.lang.String |
layerString()
Decodes the null-terminated string stored in the
layer field. |
static VkPhysicalDeviceToolPropertiesEXT |
malloc()
Returns a new
VkPhysicalDeviceToolPropertiesEXT instance allocated with memAlloc. |
static VkPhysicalDeviceToolPropertiesEXT.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceToolPropertiesEXT.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceToolPropertiesEXT |
mallocStack()
Returns a new
VkPhysicalDeviceToolPropertiesEXT instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceToolPropertiesEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceToolPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceToolPropertiesEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceToolPropertiesEXT.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceToolPropertiesEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceToolPropertiesEXT instance allocated on the specified MemoryStack. |
java.nio.ByteBuffer |
name()
Returns a
ByteBuffer view of the name field. |
java.lang.String |
nameString()
Decodes the null-terminated string stored in the
name field. |
static java.nio.ByteBuffer |
ndescription(long struct)
Unsafe version of
description(). |
static java.lang.String |
ndescriptionString(long struct)
Unsafe version of
descriptionString(). |
static java.nio.ByteBuffer |
nlayer(long struct)
Unsafe version of
layer(). |
static java.lang.String |
nlayerString(long struct)
Unsafe version of
layerString(). |
static java.nio.ByteBuffer |
nname(long struct)
Unsafe version of
name(). |
static java.lang.String |
nnameString(long struct)
Unsafe version of
nameString(). |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
npurposes(long struct)
Unsafe version of
purposes(). |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
static java.nio.ByteBuffer |
nversion(long struct)
Unsafe version of
version(). |
static java.lang.String |
nversionString(long struct)
Unsafe version of
versionString(). |
long |
pNext()
Returns the value of the
pNext field. |
VkPhysicalDeviceToolPropertiesEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
int |
purposes()
Returns the value of the
purposes field. |
VkPhysicalDeviceToolPropertiesEXT |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkPhysicalDeviceToolPropertiesEXT |
set(VkPhysicalDeviceToolPropertiesEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDeviceToolPropertiesEXT |
sType(int value)
Sets the specified value to the
sType field. |
java.nio.ByteBuffer |
version()
Returns a
ByteBuffer view of the version field. |
java.lang.String |
versionString()
Decodes the null-terminated string stored in the
version field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int NAME
public static final int VERSION
public static final int PURPOSES
public static final int DESCRIPTION
public static final int LAYER
public VkPhysicalDeviceToolPropertiesEXT(java.nio.ByteBuffer container)
VkPhysicalDeviceToolPropertiesEXT 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 int sType()
sType field.public long pNext()
pNext field.public java.nio.ByteBuffer name()
ByteBuffer view of the name field.public java.lang.String nameString()
name field.public java.nio.ByteBuffer version()
ByteBuffer view of the version field.public java.lang.String versionString()
version field.public int purposes()
purposes field.public java.nio.ByteBuffer description()
ByteBuffer view of the description field.public java.lang.String descriptionString()
description field.public java.nio.ByteBuffer layer()
ByteBuffer view of the layer field.public java.lang.String layerString()
layer field.public VkPhysicalDeviceToolPropertiesEXT sType(int value)
sType field.public VkPhysicalDeviceToolPropertiesEXT pNext(long value)
pNext field.public VkPhysicalDeviceToolPropertiesEXT set(int sType, long pNext)
public VkPhysicalDeviceToolPropertiesEXT set(VkPhysicalDeviceToolPropertiesEXT src)
src - the source structpublic static VkPhysicalDeviceToolPropertiesEXT malloc()
VkPhysicalDeviceToolPropertiesEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceToolPropertiesEXT calloc()
VkPhysicalDeviceToolPropertiesEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceToolPropertiesEXT create()
VkPhysicalDeviceToolPropertiesEXT instance allocated with BufferUtils.public static VkPhysicalDeviceToolPropertiesEXT create(long address)
VkPhysicalDeviceToolPropertiesEXT instance for the specified memory address.@Nullable public static VkPhysicalDeviceToolPropertiesEXT createSafe(long address)
public static VkPhysicalDeviceToolPropertiesEXT.Buffer malloc(int capacity)
VkPhysicalDeviceToolPropertiesEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceToolPropertiesEXT.Buffer calloc(int capacity)
VkPhysicalDeviceToolPropertiesEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceToolPropertiesEXT.Buffer create(int capacity)
VkPhysicalDeviceToolPropertiesEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceToolPropertiesEXT.Buffer create(long address, int capacity)
VkPhysicalDeviceToolPropertiesEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceToolPropertiesEXT.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceToolPropertiesEXT mallocStack()
VkPhysicalDeviceToolPropertiesEXT instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceToolPropertiesEXT callocStack()
VkPhysicalDeviceToolPropertiesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceToolPropertiesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceToolPropertiesEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceToolPropertiesEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceToolPropertiesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceToolPropertiesEXT.Buffer mallocStack(int capacity)
VkPhysicalDeviceToolPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceToolPropertiesEXT.Buffer callocStack(int capacity)
VkPhysicalDeviceToolPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceToolPropertiesEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceToolPropertiesEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceToolPropertiesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceToolPropertiesEXT.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 int nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static java.nio.ByteBuffer nname(long struct)
name().public static java.lang.String nnameString(long struct)
nameString().public static java.nio.ByteBuffer nversion(long struct)
version().public static java.lang.String nversionString(long struct)
versionString().public static int npurposes(long struct)
purposes().public static java.nio.ByteBuffer ndescription(long struct)
description().public static java.lang.String ndescriptionString(long struct)
descriptionString().public static java.nio.ByteBuffer nlayer(long struct)
layer().public static java.lang.String nlayerString(long struct)
layerString().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.Copyright LWJGL. All Rights Reserved. License terms.