Package org.lwjgl.vulkan
Class VkPhysicalDeviceExtendedDynamicState2FeaturesEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceExtendedDynamicState2FeaturesEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceExtendedDynamicState2FeaturesEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing what extended dynamic state can be used.Description
If the
VkPhysicalDeviceExtendedDynamicState2FeaturesEXTstructure is included in thepNextchain of theVkPhysicalDeviceFeatures2structure passed toGetPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported.VkPhysicalDeviceExtendedDynamicState2FeaturesEXTcan also be used in thepNextchain ofVkDeviceCreateInfoto selectively enable these features.Valid Usage (Implicit)
Layout
struct VkPhysicalDeviceExtendedDynamicState2FeaturesEXT { VkStructureTypesType(); void *pNext(); VkBool32extendedDynamicState2(); VkBool32extendedDynamicState2LogicOp(); VkBool32extendedDynamicState2PatchControlPoints(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceExtendedDynamicState2FeaturesEXT.BufferAn array ofVkPhysicalDeviceExtendedDynamicState2FeaturesEXTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intEXTENDEDDYNAMICSTATE2
EXTENDEDDYNAMICSTATE2LOGICOP
EXTENDEDDYNAMICSTATE2PATCHCONTROLPOINTS
PNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceExtendedDynamicState2FeaturesEXT(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceExtendedDynamicState2FeaturesEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceExtendedDynamicState2FeaturesEXTcalloc()Returns a newVkPhysicalDeviceExtendedDynamicState2FeaturesEXTinstance allocated withmemCalloc.static VkPhysicalDeviceExtendedDynamicState2FeaturesEXT.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceExtendedDynamicState2FeaturesEXT.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceExtendedDynamicState2FeaturesEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceExtendedDynamicState2FeaturesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceExtendedDynamicState2FeaturesEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceExtendedDynamicState2FeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceExtendedDynamicState2FeaturesEXTcreate()Returns a newVkPhysicalDeviceExtendedDynamicState2FeaturesEXTinstance allocated withBufferUtils.static VkPhysicalDeviceExtendedDynamicState2FeaturesEXT.Buffercreate(int capacity)Returns a newVkPhysicalDeviceExtendedDynamicState2FeaturesEXT.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceExtendedDynamicState2FeaturesEXTcreate(long address)Returns a newVkPhysicalDeviceExtendedDynamicState2FeaturesEXTinstance for the specified memory address.static VkPhysicalDeviceExtendedDynamicState2FeaturesEXT.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceExtendedDynamicState2FeaturesEXT.Bufferinstance at the specified memory.static VkPhysicalDeviceExtendedDynamicState2FeaturesEXTcreateSafe(long address)static VkPhysicalDeviceExtendedDynamicState2FeaturesEXT.BuffercreateSafe(long address, int capacity)booleanextendedDynamicState2()indicates that the implementation supports the following dynamic states:DYNAMIC_STATE_DEPTH_BIAS_ENABLEDYNAMIC_STATE_PRIMITIVE_RESTART_ENABLEDYNAMIC_STATE_RASTERIZER_DISCARD_ENABLEVkPhysicalDeviceExtendedDynamicState2FeaturesEXTextendedDynamicState2(boolean value)Sets the specified value to theextendedDynamicState2()field.booleanextendedDynamicState2LogicOp()indicates that the implementation supports the following dynamic state:DYNAMIC_STATE_LOGIC_OP_EXTVkPhysicalDeviceExtendedDynamicState2FeaturesEXTextendedDynamicState2LogicOp(boolean value)Sets the specified value to theextendedDynamicState2LogicOp()field.booleanextendedDynamicState2PatchControlPoints()indicates that the implementation supports the following dynamic state:DYNAMIC_STATE_PATCH_CONTROL_POINTS_EXTVkPhysicalDeviceExtendedDynamicState2FeaturesEXTextendedDynamicState2PatchControlPoints(boolean value)Sets the specified value to theextendedDynamicState2PatchControlPoints()field.static VkPhysicalDeviceExtendedDynamicState2FeaturesEXTmalloc()Returns a newVkPhysicalDeviceExtendedDynamicState2FeaturesEXTinstance allocated withmemAlloc.static VkPhysicalDeviceExtendedDynamicState2FeaturesEXT.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceExtendedDynamicState2FeaturesEXT.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceExtendedDynamicState2FeaturesEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceExtendedDynamicState2FeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceExtendedDynamicState2FeaturesEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceExtendedDynamicState2FeaturesEXTinstance allocated on the specifiedMemoryStack.static intnextendedDynamicState2(long struct)Unsafe version ofextendedDynamicState2().static voidnextendedDynamicState2(long struct, int value)Unsafe version ofextendedDynamicState2.static intnextendedDynamicState2LogicOp(long struct)Unsafe version ofextendedDynamicState2LogicOp().static voidnextendedDynamicState2LogicOp(long struct, int value)Unsafe version ofextendedDynamicState2LogicOp.static intnextendedDynamicState2PatchControlPoints(long struct)Unsafe version ofextendedDynamicState2PatchControlPoints().static voidnextendedDynamicState2PatchControlPoints(long struct, int value)Unsafe version ofextendedDynamicState2PatchControlPoints.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.VkPhysicalDeviceExtendedDynamicState2FeaturesEXTpNext(long value)Sets the specified value to thepNext()field.VkPhysicalDeviceExtendedDynamicState2FeaturesEXTset(int sType, long pNext, boolean extendedDynamicState2, boolean extendedDynamicState2LogicOp, boolean extendedDynamicState2PatchControlPoints)Initializes this struct with the specified values.VkPhysicalDeviceExtendedDynamicState2FeaturesEXTset(VkPhysicalDeviceExtendedDynamicState2FeaturesEXT src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkPhysicalDeviceExtendedDynamicState2FeaturesEXTsType(int value)Sets the specified value to thesType()field.VkPhysicalDeviceExtendedDynamicState2FeaturesEXTsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_2_FEATURES_EXTvalue to thesType()field.
-
-
-
Constructor Detail
-
VkPhysicalDeviceExtendedDynamicState2FeaturesEXT
public VkPhysicalDeviceExtendedDynamicState2FeaturesEXT(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceExtendedDynamicState2FeaturesEXTinstance 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.
-
extendedDynamicState2
public boolean extendedDynamicState2()
indicates that the implementation supports the following dynamic states:
-
extendedDynamicState2LogicOp
public boolean extendedDynamicState2LogicOp()
indicates that the implementation supports the following dynamic state:
-
extendedDynamicState2PatchControlPoints
public boolean extendedDynamicState2PatchControlPoints()
indicates that the implementation supports the following dynamic state:
-
sType
public VkPhysicalDeviceExtendedDynamicState2FeaturesEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPhysicalDeviceExtendedDynamicState2FeaturesEXT sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_2_FEATURES_EXTvalue to thesType()field.
-
pNext
public VkPhysicalDeviceExtendedDynamicState2FeaturesEXT pNext(long value)
Sets the specified value to thepNext()field.
-
extendedDynamicState2
public VkPhysicalDeviceExtendedDynamicState2FeaturesEXT extendedDynamicState2(boolean value)
Sets the specified value to theextendedDynamicState2()field.
-
extendedDynamicState2LogicOp
public VkPhysicalDeviceExtendedDynamicState2FeaturesEXT extendedDynamicState2LogicOp(boolean value)
Sets the specified value to theextendedDynamicState2LogicOp()field.
-
extendedDynamicState2PatchControlPoints
public VkPhysicalDeviceExtendedDynamicState2FeaturesEXT extendedDynamicState2PatchControlPoints(boolean value)
Sets the specified value to theextendedDynamicState2PatchControlPoints()field.
-
set
public VkPhysicalDeviceExtendedDynamicState2FeaturesEXT set(int sType, long pNext, boolean extendedDynamicState2, boolean extendedDynamicState2LogicOp, boolean extendedDynamicState2PatchControlPoints)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceExtendedDynamicState2FeaturesEXT set(VkPhysicalDeviceExtendedDynamicState2FeaturesEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceExtendedDynamicState2FeaturesEXT malloc()
Returns a newVkPhysicalDeviceExtendedDynamicState2FeaturesEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceExtendedDynamicState2FeaturesEXT calloc()
Returns a newVkPhysicalDeviceExtendedDynamicState2FeaturesEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceExtendedDynamicState2FeaturesEXT create()
Returns a newVkPhysicalDeviceExtendedDynamicState2FeaturesEXTinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceExtendedDynamicState2FeaturesEXT create(long address)
Returns a newVkPhysicalDeviceExtendedDynamicState2FeaturesEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceExtendedDynamicState2FeaturesEXT createSafe(long address)
-
malloc
public static VkPhysicalDeviceExtendedDynamicState2FeaturesEXT.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceExtendedDynamicState2FeaturesEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceExtendedDynamicState2FeaturesEXT.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceExtendedDynamicState2FeaturesEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceExtendedDynamicState2FeaturesEXT.Buffer create(int capacity)
Returns a newVkPhysicalDeviceExtendedDynamicState2FeaturesEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceExtendedDynamicState2FeaturesEXT.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceExtendedDynamicState2FeaturesEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceExtendedDynamicState2FeaturesEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDeviceExtendedDynamicState2FeaturesEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceExtendedDynamicState2FeaturesEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceExtendedDynamicState2FeaturesEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceExtendedDynamicState2FeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceExtendedDynamicState2FeaturesEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceExtendedDynamicState2FeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceExtendedDynamicState2FeaturesEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceExtendedDynamicState2FeaturesEXT.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().
-
nextendedDynamicState2
public static int nextendedDynamicState2(long struct)
Unsafe version ofextendedDynamicState2().
-
nextendedDynamicState2LogicOp
public static int nextendedDynamicState2LogicOp(long struct)
Unsafe version ofextendedDynamicState2LogicOp().
-
nextendedDynamicState2PatchControlPoints
public static int nextendedDynamicState2PatchControlPoints(long struct)
Unsafe version ofextendedDynamicState2PatchControlPoints().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nextendedDynamicState2
public static void nextendedDynamicState2(long struct, int value)Unsafe version ofextendedDynamicState2.
-
nextendedDynamicState2LogicOp
public static void nextendedDynamicState2LogicOp(long struct, int value)Unsafe version ofextendedDynamicState2LogicOp.
-
nextendedDynamicState2PatchControlPoints
public static void nextendedDynamicState2PatchControlPoints(long struct, int value)Unsafe version ofextendedDynamicState2PatchControlPoints.
-
-