Package org.lwjgl.vulkan
Class VkPhysicalDeviceExtendedDynamicStateFeaturesEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceExtendedDynamicStateFeaturesEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceExtendedDynamicStateFeaturesEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing what extended dynamic state can be used.Description
If the
VkPhysicalDeviceExtendedDynamicStateFeaturesEXTstructure is included in thepNextchain of theVkPhysicalDeviceFeatures2structure passed toGetPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported.VkPhysicalDeviceExtendedDynamicStateFeaturesEXTcan also be used in thepNextchain ofVkDeviceCreateInfoto selectively enable these features.Valid Usage (Implicit)
Layout
struct VkPhysicalDeviceExtendedDynamicStateFeaturesEXT { VkStructureTypesType(); void *pNext(); VkBool32extendedDynamicState(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceExtendedDynamicStateFeaturesEXT.BufferAn array ofVkPhysicalDeviceExtendedDynamicStateFeaturesEXTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intEXTENDEDDYNAMICSTATE
PNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceExtendedDynamicStateFeaturesEXT(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceExtendedDynamicStateFeaturesEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceExtendedDynamicStateFeaturesEXTcalloc()Returns a newVkPhysicalDeviceExtendedDynamicStateFeaturesEXTinstance allocated withmemCalloc.static VkPhysicalDeviceExtendedDynamicStateFeaturesEXT.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceExtendedDynamicStateFeaturesEXT.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceExtendedDynamicStateFeaturesEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceExtendedDynamicStateFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceExtendedDynamicStateFeaturesEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceExtendedDynamicStateFeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceExtendedDynamicStateFeaturesEXTcreate()Returns a newVkPhysicalDeviceExtendedDynamicStateFeaturesEXTinstance allocated withBufferUtils.static VkPhysicalDeviceExtendedDynamicStateFeaturesEXT.Buffercreate(int capacity)Returns a newVkPhysicalDeviceExtendedDynamicStateFeaturesEXT.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceExtendedDynamicStateFeaturesEXTcreate(long address)Returns a newVkPhysicalDeviceExtendedDynamicStateFeaturesEXTinstance for the specified memory address.static VkPhysicalDeviceExtendedDynamicStateFeaturesEXT.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceExtendedDynamicStateFeaturesEXT.Bufferinstance at the specified memory.static VkPhysicalDeviceExtendedDynamicStateFeaturesEXTcreateSafe(long address)static VkPhysicalDeviceExtendedDynamicStateFeaturesEXT.BuffercreateSafe(long address, int capacity)booleanextendedDynamicState()indicates that the implementation supports the following dynamic states:DYNAMIC_STATE_CULL_MODEDYNAMIC_STATE_FRONT_FACEDYNAMIC_STATE_PRIMITIVE_TOPOLOGYDYNAMIC_STATE_VIEWPORT_WITH_COUNTDYNAMIC_STATE_SCISSOR_WITH_COUNTDYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDEDYNAMIC_STATE_DEPTH_TEST_ENABLEDYNAMIC_STATE_DEPTH_WRITE_ENABLEDYNAMIC_STATE_DEPTH_COMPARE_OPDYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLEDYNAMIC_STATE_STENCIL_TEST_ENABLEDYNAMIC_STATE_STENCIL_OPVkPhysicalDeviceExtendedDynamicStateFeaturesEXTextendedDynamicState(boolean value)Sets the specified value to theextendedDynamicState()field.static VkPhysicalDeviceExtendedDynamicStateFeaturesEXTmalloc()Returns a newVkPhysicalDeviceExtendedDynamicStateFeaturesEXTinstance allocated withmemAlloc.static VkPhysicalDeviceExtendedDynamicStateFeaturesEXT.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceExtendedDynamicStateFeaturesEXT.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceExtendedDynamicStateFeaturesEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceExtendedDynamicStateFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceExtendedDynamicStateFeaturesEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceExtendedDynamicStateFeaturesEXTinstance allocated on the specifiedMemoryStack.static intnextendedDynamicState(long struct)Unsafe version ofextendedDynamicState().static voidnextendedDynamicState(long struct, int value)Unsafe version ofextendedDynamicState.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.VkPhysicalDeviceExtendedDynamicStateFeaturesEXTpNext(long value)Sets the specified value to thepNext()field.VkPhysicalDeviceExtendedDynamicStateFeaturesEXTset(int sType, long pNext, boolean extendedDynamicState)Initializes this struct with the specified values.VkPhysicalDeviceExtendedDynamicStateFeaturesEXTset(VkPhysicalDeviceExtendedDynamicStateFeaturesEXT src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkPhysicalDeviceExtendedDynamicStateFeaturesEXTsType(int value)Sets the specified value to thesType()field.VkPhysicalDeviceExtendedDynamicStateFeaturesEXTsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_FEATURES_EXTvalue to thesType()field.
-
-
-
Constructor Detail
-
VkPhysicalDeviceExtendedDynamicStateFeaturesEXT
public VkPhysicalDeviceExtendedDynamicStateFeaturesEXT(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceExtendedDynamicStateFeaturesEXTinstance 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.
-
extendedDynamicState
public boolean extendedDynamicState()
indicates that the implementation supports the following dynamic states:DYNAMIC_STATE_CULL_MODEDYNAMIC_STATE_FRONT_FACEDYNAMIC_STATE_PRIMITIVE_TOPOLOGYDYNAMIC_STATE_VIEWPORT_WITH_COUNTDYNAMIC_STATE_SCISSOR_WITH_COUNTDYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDEDYNAMIC_STATE_DEPTH_TEST_ENABLEDYNAMIC_STATE_DEPTH_WRITE_ENABLEDYNAMIC_STATE_DEPTH_COMPARE_OPDYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLEDYNAMIC_STATE_STENCIL_TEST_ENABLEDYNAMIC_STATE_STENCIL_OP
-
sType
public VkPhysicalDeviceExtendedDynamicStateFeaturesEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPhysicalDeviceExtendedDynamicStateFeaturesEXT sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_FEATURES_EXTvalue to thesType()field.
-
pNext
public VkPhysicalDeviceExtendedDynamicStateFeaturesEXT pNext(long value)
Sets the specified value to thepNext()field.
-
extendedDynamicState
public VkPhysicalDeviceExtendedDynamicStateFeaturesEXT extendedDynamicState(boolean value)
Sets the specified value to theextendedDynamicState()field.
-
set
public VkPhysicalDeviceExtendedDynamicStateFeaturesEXT set(int sType, long pNext, boolean extendedDynamicState)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceExtendedDynamicStateFeaturesEXT set(VkPhysicalDeviceExtendedDynamicStateFeaturesEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceExtendedDynamicStateFeaturesEXT malloc()
Returns a newVkPhysicalDeviceExtendedDynamicStateFeaturesEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceExtendedDynamicStateFeaturesEXT calloc()
Returns a newVkPhysicalDeviceExtendedDynamicStateFeaturesEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceExtendedDynamicStateFeaturesEXT create()
Returns a newVkPhysicalDeviceExtendedDynamicStateFeaturesEXTinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceExtendedDynamicStateFeaturesEXT create(long address)
Returns a newVkPhysicalDeviceExtendedDynamicStateFeaturesEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceExtendedDynamicStateFeaturesEXT createSafe(long address)
-
malloc
public static VkPhysicalDeviceExtendedDynamicStateFeaturesEXT.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceExtendedDynamicStateFeaturesEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceExtendedDynamicStateFeaturesEXT.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceExtendedDynamicStateFeaturesEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceExtendedDynamicStateFeaturesEXT.Buffer create(int capacity)
Returns a newVkPhysicalDeviceExtendedDynamicStateFeaturesEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceExtendedDynamicStateFeaturesEXT.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceExtendedDynamicStateFeaturesEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceExtendedDynamicStateFeaturesEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDeviceExtendedDynamicStateFeaturesEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceExtendedDynamicStateFeaturesEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceExtendedDynamicStateFeaturesEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceExtendedDynamicStateFeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceExtendedDynamicStateFeaturesEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceExtendedDynamicStateFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceExtendedDynamicStateFeaturesEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceExtendedDynamicStateFeaturesEXT.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().
-
nextendedDynamicState
public static int nextendedDynamicState(long struct)
Unsafe version ofextendedDynamicState().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nextendedDynamicState
public static void nextendedDynamicState(long struct, int value)Unsafe version ofextendedDynamicState.
-
-