Package org.lwjgl.vulkan
Class VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing whether the dynamic vertex input state can be used.Description
If the
VkPhysicalDeviceVertexInputDynamicStateFeaturesEXTstructure is included in thepNextchain of theVkPhysicalDeviceFeatures2structure passed toGetPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported.VkPhysicalDeviceVertexInputDynamicStateFeaturesEXTcan also be used in thepNextchain ofVkDeviceCreateInfoto selectively enable these features.Valid Usage (Implicit)
Layout
struct VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT { VkStructureTypesType(); void *pNext(); VkBool32vertexInputDynamicState(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceVertexInputDynamicStateFeaturesEXT.BufferAn array ofVkPhysicalDeviceVertexInputDynamicStateFeaturesEXTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intPNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPE
VERTEXINPUTDYNAMICSTATEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceVertexInputDynamicStateFeaturesEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceVertexInputDynamicStateFeaturesEXTcalloc()Returns a newVkPhysicalDeviceVertexInputDynamicStateFeaturesEXTinstance allocated withmemCalloc.static VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceVertexInputDynamicStateFeaturesEXT.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceVertexInputDynamicStateFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceVertexInputDynamicStateFeaturesEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceVertexInputDynamicStateFeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceVertexInputDynamicStateFeaturesEXTcreate()Returns a newVkPhysicalDeviceVertexInputDynamicStateFeaturesEXTinstance allocated withBufferUtils.static VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT.Buffercreate(int capacity)Returns a newVkPhysicalDeviceVertexInputDynamicStateFeaturesEXT.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceVertexInputDynamicStateFeaturesEXTcreate(long address)Returns a newVkPhysicalDeviceVertexInputDynamicStateFeaturesEXTinstance for the specified memory address.static VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceVertexInputDynamicStateFeaturesEXT.Bufferinstance at the specified memory.static VkPhysicalDeviceVertexInputDynamicStateFeaturesEXTcreateSafe(long address)static VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT.BuffercreateSafe(long address, int capacity)static VkPhysicalDeviceVertexInputDynamicStateFeaturesEXTmalloc()Returns a newVkPhysicalDeviceVertexInputDynamicStateFeaturesEXTinstance allocated withmemAlloc.static VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceVertexInputDynamicStateFeaturesEXT.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceVertexInputDynamicStateFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceVertexInputDynamicStateFeaturesEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceVertexInputDynamicStateFeaturesEXTinstance allocated on the specifiedMemoryStack.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.static intnvertexInputDynamicState(long struct)Unsafe version ofvertexInputDynamicState().static voidnvertexInputDynamicState(long struct, int value)Unsafe version ofvertexInputDynamicState.longpNext()NULLor a pointer to a structure extending this structure.VkPhysicalDeviceVertexInputDynamicStateFeaturesEXTpNext(long value)Sets the specified value to thepNext()field.VkPhysicalDeviceVertexInputDynamicStateFeaturesEXTset(int sType, long pNext, boolean vertexInputDynamicState)Initializes this struct with the specified values.VkPhysicalDeviceVertexInputDynamicStateFeaturesEXTset(VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkPhysicalDeviceVertexInputDynamicStateFeaturesEXTsType(int value)Sets the specified value to thesType()field.VkPhysicalDeviceVertexInputDynamicStateFeaturesEXTsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_INPUT_DYNAMIC_STATE_FEATURES_EXTvalue to thesType()field.booleanvertexInputDynamicState()indicates that the implementation supports the following dynamic states:DYNAMIC_STATE_VERTEX_INPUT_EXTVkPhysicalDeviceVertexInputDynamicStateFeaturesEXTvertexInputDynamicState(boolean value)Sets the specified value to thevertexInputDynamicState()field.
-
-
-
Constructor Detail
-
VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT
public VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceVertexInputDynamicStateFeaturesEXTinstance 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.
-
vertexInputDynamicState
public boolean vertexInputDynamicState()
indicates that the implementation supports the following dynamic states:
-
sType
public VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_INPUT_DYNAMIC_STATE_FEATURES_EXTvalue to thesType()field.
-
pNext
public VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT pNext(long value)
Sets the specified value to thepNext()field.
-
vertexInputDynamicState
public VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT vertexInputDynamicState(boolean value)
Sets the specified value to thevertexInputDynamicState()field.
-
set
public VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT set(int sType, long pNext, boolean vertexInputDynamicState)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT set(VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT malloc()
Returns a newVkPhysicalDeviceVertexInputDynamicStateFeaturesEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT calloc()
Returns a newVkPhysicalDeviceVertexInputDynamicStateFeaturesEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT create()
Returns a newVkPhysicalDeviceVertexInputDynamicStateFeaturesEXTinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT create(long address)
Returns a newVkPhysicalDeviceVertexInputDynamicStateFeaturesEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT createSafe(long address)
-
malloc
public static VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceVertexInputDynamicStateFeaturesEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceVertexInputDynamicStateFeaturesEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT.Buffer create(int capacity)
Returns a newVkPhysicalDeviceVertexInputDynamicStateFeaturesEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceVertexInputDynamicStateFeaturesEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceVertexInputDynamicStateFeaturesEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceVertexInputDynamicStateFeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceVertexInputDynamicStateFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceVertexInputDynamicStateFeaturesEXT.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().
-
nvertexInputDynamicState
public static int nvertexInputDynamicState(long struct)
Unsafe version ofvertexInputDynamicState().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nvertexInputDynamicState
public static void nvertexInputDynamicState(long struct, int value)Unsafe version ofvertexInputDynamicState.
-
-