public class VkPhysicalDeviceIndexTypeUint8FeaturesEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If the VkPhysicalDeviceIndexTypeUint8FeaturesEXT structure is included in the pNext chain of VkPhysicalDeviceFeatures2, it is filled with values indicating whether the feature is supported. VkPhysicalDeviceIndexTypeUint8FeaturesEXT can also be included in the pNext chain of VkDeviceCreateInfo to enable features.
indexTypeUint8 – indicates that INDEX_TYPE_UINT8_EXT can be used with CmdBindIndexBuffer.
struct VkPhysicalDeviceIndexTypeUint8FeaturesEXT {
VkStructureType sType;
void * pNext;
VkBool32 indexTypeUint8;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer
An array of
VkPhysicalDeviceIndexTypeUint8FeaturesEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
INDEXTYPEUINT8
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkPhysicalDeviceIndexTypeUint8FeaturesEXT(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceIndexTypeUint8FeaturesEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDeviceIndexTypeUint8FeaturesEXT |
calloc()
Returns a new
VkPhysicalDeviceIndexTypeUint8FeaturesEXT instance allocated with memCalloc. |
static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceIndexTypeUint8FeaturesEXT |
callocStack()
Returns a new
VkPhysicalDeviceIndexTypeUint8FeaturesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceIndexTypeUint8FeaturesEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceIndexTypeUint8FeaturesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceIndexTypeUint8FeaturesEXT |
create()
Returns a new
VkPhysicalDeviceIndexTypeUint8FeaturesEXT instance allocated with BufferUtils. |
static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceIndexTypeUint8FeaturesEXT |
create(long address)
Returns a new
VkPhysicalDeviceIndexTypeUint8FeaturesEXT instance for the specified memory address. |
static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer instance at the specified memory. |
static VkPhysicalDeviceIndexTypeUint8FeaturesEXT |
createSafe(long address)
|
static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer |
createSafe(long address,
int capacity)
|
boolean |
indexTypeUint8()
Returns the value of the
indexTypeUint8 field. |
VkPhysicalDeviceIndexTypeUint8FeaturesEXT |
indexTypeUint8(boolean value)
Sets the specified value to the
indexTypeUint8 field. |
static VkPhysicalDeviceIndexTypeUint8FeaturesEXT |
malloc()
Returns a new
VkPhysicalDeviceIndexTypeUint8FeaturesEXT instance allocated with memAlloc. |
static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceIndexTypeUint8FeaturesEXT |
mallocStack()
Returns a new
VkPhysicalDeviceIndexTypeUint8FeaturesEXT instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceIndexTypeUint8FeaturesEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceIndexTypeUint8FeaturesEXT instance allocated on the specified MemoryStack. |
static int |
nindexTypeUint8(long struct)
Unsafe version of
indexTypeUint8(). |
static void |
nindexTypeUint8(long struct,
int value)
Unsafe version of
indexTypeUint8. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
long |
pNext()
Returns the value of the
pNext field. |
VkPhysicalDeviceIndexTypeUint8FeaturesEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDeviceIndexTypeUint8FeaturesEXT |
set(int sType,
long pNext,
boolean indexTypeUint8)
Initializes this struct with the specified values.
|
VkPhysicalDeviceIndexTypeUint8FeaturesEXT |
set(VkPhysicalDeviceIndexTypeUint8FeaturesEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDeviceIndexTypeUint8FeaturesEXT |
sType(int value)
Sets the specified value to the
sType 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 INDEXTYPEUINT8
public VkPhysicalDeviceIndexTypeUint8FeaturesEXT(java.nio.ByteBuffer container)
VkPhysicalDeviceIndexTypeUint8FeaturesEXT 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 boolean indexTypeUint8()
indexTypeUint8 field.public VkPhysicalDeviceIndexTypeUint8FeaturesEXT sType(int value)
sType field.public VkPhysicalDeviceIndexTypeUint8FeaturesEXT pNext(long value)
pNext field.public VkPhysicalDeviceIndexTypeUint8FeaturesEXT indexTypeUint8(boolean value)
indexTypeUint8 field.public VkPhysicalDeviceIndexTypeUint8FeaturesEXT set(int sType, long pNext, boolean indexTypeUint8)
public VkPhysicalDeviceIndexTypeUint8FeaturesEXT set(VkPhysicalDeviceIndexTypeUint8FeaturesEXT src)
src - the source structpublic static VkPhysicalDeviceIndexTypeUint8FeaturesEXT malloc()
VkPhysicalDeviceIndexTypeUint8FeaturesEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceIndexTypeUint8FeaturesEXT calloc()
VkPhysicalDeviceIndexTypeUint8FeaturesEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceIndexTypeUint8FeaturesEXT create()
VkPhysicalDeviceIndexTypeUint8FeaturesEXT instance allocated with BufferUtils.public static VkPhysicalDeviceIndexTypeUint8FeaturesEXT create(long address)
VkPhysicalDeviceIndexTypeUint8FeaturesEXT instance for the specified memory address.@Nullable public static VkPhysicalDeviceIndexTypeUint8FeaturesEXT createSafe(long address)
public static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer malloc(int capacity)
VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer calloc(int capacity)
VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer create(int capacity)
VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer create(long address, int capacity)
VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceIndexTypeUint8FeaturesEXT mallocStack()
VkPhysicalDeviceIndexTypeUint8FeaturesEXT instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceIndexTypeUint8FeaturesEXT callocStack()
VkPhysicalDeviceIndexTypeUint8FeaturesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceIndexTypeUint8FeaturesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceIndexTypeUint8FeaturesEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceIndexTypeUint8FeaturesEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceIndexTypeUint8FeaturesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer mallocStack(int capacity)
VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer callocStack(int capacity)
VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceIndexTypeUint8FeaturesEXT.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 int nindexTypeUint8(long struct)
indexTypeUint8().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nindexTypeUint8(long struct,
int value)
indexTypeUint8.Copyright LWJGL. All Rights Reserved. License terms.