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 of theVkPhysicalDeviceFeatures2structure passed toGetPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported.VkPhysicalDeviceIndexTypeUint8FeaturesEXTcan also be used in thepNextchain ofVkDeviceCreateInfoto selectively enable these features.Valid Usage (Implicit)
Layout
struct VkPhysicalDeviceIndexTypeUint8FeaturesEXT { VkStructureTypesType(); void *pNext(); VkBool32indexTypeUint8(); }
-
-
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 Deprecated 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 VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceIndexTypeUint8FeaturesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceIndexTypeUint8FeaturesEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceIndexTypeUint8FeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceIndexTypeUint8FeaturesEXTcallocStack()Deprecated.static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.BuffercallocStack(int capacity)Deprecated.static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPhysicalDeviceIndexTypeUint8FeaturesEXTcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.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()indicates thatINDEX_TYPE_UINT8_EXTcan be used withCmdBindIndexBuffer.VkPhysicalDeviceIndexTypeUint8FeaturesEXTindexTypeUint8(boolean value)Sets the specified value to theindexTypeUint8()field.static VkPhysicalDeviceIndexTypeUint8FeaturesEXTmalloc()Returns a newVkPhysicalDeviceIndexTypeUint8FeaturesEXTinstance allocated withmemAlloc.static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceIndexTypeUint8FeaturesEXT.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceIndexTypeUint8FeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceIndexTypeUint8FeaturesEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceIndexTypeUint8FeaturesEXTinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceIndexTypeUint8FeaturesEXTmallocStack()Deprecated.static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.BuffermallocStack(int capacity)Deprecated.static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPhysicalDeviceIndexTypeUint8FeaturesEXTmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.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()NULLor a pointer to a structure extending this structure.VkPhysicalDeviceIndexTypeUint8FeaturesEXTpNext(long value)Sets the specified value to thepNext()field.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()the type of this structure.VkPhysicalDeviceIndexTypeUint8FeaturesEXTsType(int value)Sets the specified value to thesType()field.VkPhysicalDeviceIndexTypeUint8FeaturesEXTsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_INDEX_TYPE_UINT8_FEATURES_EXTvalue to thesType()field.
-
-
-
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()
the type of this structure.
-
pNext
public long pNext()
NULLor a pointer to a structure extending this structure.
-
indexTypeUint8
public boolean indexTypeUint8()
indicates thatINDEX_TYPE_UINT8_EXTcan be used withCmdBindIndexBuffer.
-
sType
public VkPhysicalDeviceIndexTypeUint8FeaturesEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPhysicalDeviceIndexTypeUint8FeaturesEXT sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_INDEX_TYPE_UINT8_FEATURES_EXTvalue to thesType()field.
-
pNext
public VkPhysicalDeviceIndexTypeUint8FeaturesEXT pNext(long value)
Sets the specified value to thepNext()field.
-
indexTypeUint8
public VkPhysicalDeviceIndexTypeUint8FeaturesEXT indexTypeUint8(boolean value)
Sets the specified value to theindexTypeUint8()field.
-
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
@Deprecated public static VkPhysicalDeviceIndexTypeUint8FeaturesEXT mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceIndexTypeUint8FeaturesEXT callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDeviceIndexTypeUint8FeaturesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceIndexTypeUint8FeaturesEXT callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkPhysicalDeviceIndexTypeUint8FeaturesEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceIndexTypeUint8FeaturesEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceIndexTypeUint8FeaturesEXT calloc(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
-
malloc
public static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer malloc(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
-
calloc
public static VkPhysicalDeviceIndexTypeUint8FeaturesEXT.Buffer calloc(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.
-
-