Package org.lwjgl.vulkan
Class VkPhysicalDeviceIndexTypeUint8FeaturesEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceIndexTypeUint8FeaturesEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceIndexTypeUint8FeaturesEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing whether uint8 index type can be used.Description
If the
VkPhysicalDeviceIndexTypeUint8FeaturesEXTstructure is included in thepNextchain ofVkPhysicalDeviceFeatures2, it is filled with values indicating whether the feature is supported.VkPhysicalDeviceIndexTypeUint8FeaturesEXTcan also be used in thepNextchain ofVkDeviceCreateInfoto enable features.Valid Usage (Implicit)
Member documentation
indexTypeUint8– indicates thatINDEX_TYPE_UINT8_EXTcan be used withCmdBindIndexBuffer.
Layout
struct VkPhysicalDeviceIndexTypeUint8FeaturesEXT { VkStructureType sType; void * pNext; VkBool32 indexTypeUint8; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceIndexTypeUint8FeaturesEXT.BufferAn array ofVkPhysicalDeviceIndexTypeUint8FeaturesEXTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intINDEXTYPEUINT8
PNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceIndexTypeUint8FeaturesEXT(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceIndexTypeUint8FeaturesEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceIndexTypeUint8FeaturesEXTcalloc()Returns a newVkPhysicalDeviceIndexTypeUint8FeaturesEXTinstance allocated withmemCalloc.static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceIndexTypeUint8FeaturesEXT.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceIndexTypeUint8FeaturesEXTcallocStack()Returns a newVkPhysicalDeviceIndexTypeUint8FeaturesEXTinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.BuffercallocStack(int capacity)Returns a newVkPhysicalDeviceIndexTypeUint8FeaturesEXT.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceIndexTypeUint8FeaturesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceIndexTypeUint8FeaturesEXTcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceIndexTypeUint8FeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceIndexTypeUint8FeaturesEXTcreate()Returns a newVkPhysicalDeviceIndexTypeUint8FeaturesEXTinstance allocated withBufferUtils.static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffercreate(int capacity)Returns a newVkPhysicalDeviceIndexTypeUint8FeaturesEXT.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceIndexTypeUint8FeaturesEXTcreate(long address)Returns a newVkPhysicalDeviceIndexTypeUint8FeaturesEXTinstance for the specified memory address.static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceIndexTypeUint8FeaturesEXT.Bufferinstance at the specified memory.static VkPhysicalDeviceIndexTypeUint8FeaturesEXTcreateSafe(long address)static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.BuffercreateSafe(long address, int capacity)booleanindexTypeUint8()Returns the value of theindexTypeUint8field.VkPhysicalDeviceIndexTypeUint8FeaturesEXTindexTypeUint8(boolean value)Sets the specified value to theindexTypeUint8field.static VkPhysicalDeviceIndexTypeUint8FeaturesEXTmalloc()Returns a newVkPhysicalDeviceIndexTypeUint8FeaturesEXTinstance allocated withmemAlloc.static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceIndexTypeUint8FeaturesEXT.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceIndexTypeUint8FeaturesEXTmallocStack()Returns a newVkPhysicalDeviceIndexTypeUint8FeaturesEXTinstance allocated on the thread-localMemoryStack.static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.BuffermallocStack(int capacity)Returns a newVkPhysicalDeviceIndexTypeUint8FeaturesEXT.Bufferinstance allocated on the thread-localMemoryStack.static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceIndexTypeUint8FeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceIndexTypeUint8FeaturesEXTmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceIndexTypeUint8FeaturesEXTinstance allocated on the specifiedMemoryStack.static intnindexTypeUint8(long struct)Unsafe version ofindexTypeUint8().static voidnindexTypeUint8(long struct, int value)Unsafe version ofindexTypeUint8.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.longpNext()Returns the value of thepNextfield.VkPhysicalDeviceIndexTypeUint8FeaturesEXTpNext(long value)Sets the specified value to thepNextfield.VkPhysicalDeviceIndexTypeUint8FeaturesEXTset(int sType, long pNext, boolean indexTypeUint8)Initializes this struct with the specified values.VkPhysicalDeviceIndexTypeUint8FeaturesEXTset(VkPhysicalDeviceIndexTypeUint8FeaturesEXT src)Copies the specified struct data to this struct.intsizeof()intsType()Returns the value of thesTypefield.VkPhysicalDeviceIndexTypeUint8FeaturesEXTsType(int value)Sets the specified value to thesTypefield.
-
-
-
Constructor Detail
-
VkPhysicalDeviceIndexTypeUint8FeaturesEXT
public VkPhysicalDeviceIndexTypeUint8FeaturesEXT(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceIndexTypeUint8FeaturesEXTinstance at the current position of the specifiedByteBuffercontainer. 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.
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
sType
public int sType()
Returns the value of thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
indexTypeUint8
public boolean indexTypeUint8()
Returns the value of theindexTypeUint8field.
-
sType
public VkPhysicalDeviceIndexTypeUint8FeaturesEXT sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkPhysicalDeviceIndexTypeUint8FeaturesEXT pNext(long value)
Sets the specified value to thepNextfield.
-
indexTypeUint8
public VkPhysicalDeviceIndexTypeUint8FeaturesEXT indexTypeUint8(boolean value)
Sets the specified value to theindexTypeUint8field.
-
set
public VkPhysicalDeviceIndexTypeUint8FeaturesEXT set(int sType, long pNext, boolean indexTypeUint8)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceIndexTypeUint8FeaturesEXT set(VkPhysicalDeviceIndexTypeUint8FeaturesEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceIndexTypeUint8FeaturesEXT malloc()
Returns a newVkPhysicalDeviceIndexTypeUint8FeaturesEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceIndexTypeUint8FeaturesEXT calloc()
Returns a newVkPhysicalDeviceIndexTypeUint8FeaturesEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceIndexTypeUint8FeaturesEXT create()
Returns a newVkPhysicalDeviceIndexTypeUint8FeaturesEXTinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceIndexTypeUint8FeaturesEXT create(long address)
Returns a newVkPhysicalDeviceIndexTypeUint8FeaturesEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceIndexTypeUint8FeaturesEXT createSafe(long address)
-
malloc
public static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceIndexTypeUint8FeaturesEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceIndexTypeUint8FeaturesEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer create(int capacity)
Returns a newVkPhysicalDeviceIndexTypeUint8FeaturesEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceIndexTypeUint8FeaturesEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkPhysicalDeviceIndexTypeUint8FeaturesEXT mallocStack()
Returns a newVkPhysicalDeviceIndexTypeUint8FeaturesEXTinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkPhysicalDeviceIndexTypeUint8FeaturesEXT callocStack()
Returns a newVkPhysicalDeviceIndexTypeUint8FeaturesEXTinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkPhysicalDeviceIndexTypeUint8FeaturesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceIndexTypeUint8FeaturesEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkPhysicalDeviceIndexTypeUint8FeaturesEXT callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceIndexTypeUint8FeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
mallocStack
public static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer mallocStack(int capacity)
Returns a newVkPhysicalDeviceIndexTypeUint8FeaturesEXT.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer callocStack(int capacity)
Returns a newVkPhysicalDeviceIndexTypeUint8FeaturesEXT.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceIndexTypeUint8FeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
callocStack
public static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceIndexTypeUint8FeaturesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nsType
public static int nsType(long struct)
Unsafe version ofsType().
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext().
-
nindexTypeUint8
public static int nindexTypeUint8(long struct)
Unsafe version ofindexTypeUint8().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nindexTypeUint8
public static void nindexTypeUint8(long struct, int value)Unsafe version ofindexTypeUint8.
-
-