Package org.lwjgl.vulkan
Class VkPhysicalDeviceProvokingVertexPropertiesEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceProvokingVertexPropertiesEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceProvokingVertexPropertiesEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing provoking vertex properties supported by an implementation.Description
If the
VkPhysicalDeviceProvokingVertexPropertiesEXTstructure is included in thepNextchain of theVkPhysicalDeviceProperties2structure passed toGetPhysicalDeviceProperties2, it is filled in with each corresponding implementation-dependent property.Valid Usage (Implicit)
Layout
struct VkPhysicalDeviceProvokingVertexPropertiesEXT { VkStructureTypesType(); void *pNext(); VkBool32provokingVertexModePerPipeline(); VkBool32transformFeedbackPreservesTriangleFanProvokingVertex(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceProvokingVertexPropertiesEXT.BufferAn array ofVkPhysicalDeviceProvokingVertexPropertiesEXTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intPNEXT
PROVOKINGVERTEXMODEPERPIPELINEThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPE
TRANSFORMFEEDBACKPRESERVESTRIANGLEFANPROVOKINGVERTEXThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceProvokingVertexPropertiesEXT(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceProvokingVertexPropertiesEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceProvokingVertexPropertiesEXTcalloc()Returns a newVkPhysicalDeviceProvokingVertexPropertiesEXTinstance allocated withmemCalloc.static VkPhysicalDeviceProvokingVertexPropertiesEXT.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceProvokingVertexPropertiesEXT.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceProvokingVertexPropertiesEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceProvokingVertexPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceProvokingVertexPropertiesEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceProvokingVertexPropertiesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceProvokingVertexPropertiesEXTcreate()Returns a newVkPhysicalDeviceProvokingVertexPropertiesEXTinstance allocated withBufferUtils.static VkPhysicalDeviceProvokingVertexPropertiesEXT.Buffercreate(int capacity)Returns a newVkPhysicalDeviceProvokingVertexPropertiesEXT.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceProvokingVertexPropertiesEXTcreate(long address)Returns a newVkPhysicalDeviceProvokingVertexPropertiesEXTinstance for the specified memory address.static VkPhysicalDeviceProvokingVertexPropertiesEXT.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceProvokingVertexPropertiesEXT.Bufferinstance at the specified memory.static VkPhysicalDeviceProvokingVertexPropertiesEXTcreateSafe(long address)static VkPhysicalDeviceProvokingVertexPropertiesEXT.BuffercreateSafe(long address, int capacity)static VkPhysicalDeviceProvokingVertexPropertiesEXTmalloc()Returns a newVkPhysicalDeviceProvokingVertexPropertiesEXTinstance allocated withmemAlloc.static VkPhysicalDeviceProvokingVertexPropertiesEXT.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceProvokingVertexPropertiesEXT.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceProvokingVertexPropertiesEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceProvokingVertexPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceProvokingVertexPropertiesEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceProvokingVertexPropertiesEXTinstance allocated on the specifiedMemoryStack.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnprovokingVertexModePerPipeline(long struct)Unsafe version ofprovokingVertexModePerPipeline().static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.static intntransformFeedbackPreservesTriangleFanProvokingVertex(long struct)Unsafe version oftransformFeedbackPreservesTriangleFanProvokingVertex().longpNext()NULLor a pointer to a structure extending this structure.VkPhysicalDeviceProvokingVertexPropertiesEXTpNext(long value)Sets the specified value to thepNext()field.booleanprovokingVertexModePerPipeline()indicates whether the implementation supports graphics pipelines with different provoking vertex modes within the same render pass instance.VkPhysicalDeviceProvokingVertexPropertiesEXTset(int sType, long pNext)Initializes this struct with the specified values.VkPhysicalDeviceProvokingVertexPropertiesEXTset(VkPhysicalDeviceProvokingVertexPropertiesEXT src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkPhysicalDeviceProvokingVertexPropertiesEXTsType(int value)Sets the specified value to thesType()field.VkPhysicalDeviceProvokingVertexPropertiesEXTsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_PROVOKING_VERTEX_PROPERTIES_EXTvalue to thesType()field.booleantransformFeedbackPreservesTriangleFanProvokingVertex()indicates whether the implementation can preserve the provoking vertex order when writing triangle fan vertices to transform feedback.
-
-
-
Constructor Detail
-
VkPhysicalDeviceProvokingVertexPropertiesEXT
public VkPhysicalDeviceProvokingVertexPropertiesEXT(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceProvokingVertexPropertiesEXTinstance 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.
-
provokingVertexModePerPipeline
public boolean provokingVertexModePerPipeline()
indicates whether the implementation supports graphics pipelines with different provoking vertex modes within the same render pass instance.
-
transformFeedbackPreservesTriangleFanProvokingVertex
public boolean transformFeedbackPreservesTriangleFanProvokingVertex()
indicates whether the implementation can preserve the provoking vertex order when writing triangle fan vertices to transform feedback.
-
sType
public VkPhysicalDeviceProvokingVertexPropertiesEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPhysicalDeviceProvokingVertexPropertiesEXT sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_PROVOKING_VERTEX_PROPERTIES_EXTvalue to thesType()field.
-
pNext
public VkPhysicalDeviceProvokingVertexPropertiesEXT pNext(long value)
Sets the specified value to thepNext()field.
-
set
public VkPhysicalDeviceProvokingVertexPropertiesEXT set(int sType, long pNext)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceProvokingVertexPropertiesEXT set(VkPhysicalDeviceProvokingVertexPropertiesEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceProvokingVertexPropertiesEXT malloc()
Returns a newVkPhysicalDeviceProvokingVertexPropertiesEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceProvokingVertexPropertiesEXT calloc()
Returns a newVkPhysicalDeviceProvokingVertexPropertiesEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceProvokingVertexPropertiesEXT create()
Returns a newVkPhysicalDeviceProvokingVertexPropertiesEXTinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceProvokingVertexPropertiesEXT create(long address)
Returns a newVkPhysicalDeviceProvokingVertexPropertiesEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceProvokingVertexPropertiesEXT createSafe(long address)
-
malloc
public static VkPhysicalDeviceProvokingVertexPropertiesEXT.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceProvokingVertexPropertiesEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceProvokingVertexPropertiesEXT.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceProvokingVertexPropertiesEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceProvokingVertexPropertiesEXT.Buffer create(int capacity)
Returns a newVkPhysicalDeviceProvokingVertexPropertiesEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceProvokingVertexPropertiesEXT.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceProvokingVertexPropertiesEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceProvokingVertexPropertiesEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDeviceProvokingVertexPropertiesEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceProvokingVertexPropertiesEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceProvokingVertexPropertiesEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceProvokingVertexPropertiesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceProvokingVertexPropertiesEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceProvokingVertexPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceProvokingVertexPropertiesEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceProvokingVertexPropertiesEXT.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().
-
nprovokingVertexModePerPipeline
public static int nprovokingVertexModePerPipeline(long struct)
Unsafe version ofprovokingVertexModePerPipeline().
-
ntransformFeedbackPreservesTriangleFanProvokingVertex
public static int ntransformFeedbackPreservesTriangleFanProvokingVertex(long struct)
Unsafe version oftransformFeedbackPreservesTriangleFanProvokingVertex().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
-