Package org.lwjgl.vulkan
Class VkPhysicalDeviceTransformFeedbackFeaturesEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceTransformFeedbackFeaturesEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceTransformFeedbackFeaturesEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing transform feedback features that can be supported by an implementation.Description
If the
VkPhysicalDeviceTransformFeedbackFeaturesEXTstructure is included in thepNextchain of theVkPhysicalDeviceFeatures2structure passed toGetPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported.VkPhysicalDeviceTransformFeedbackFeaturesEXTcan also be used in thepNextchain ofVkDeviceCreateInfoto selectively enable these features.Valid Usage (Implicit)
Layout
struct VkPhysicalDeviceTransformFeedbackFeaturesEXT { VkStructureTypesType(); void *pNext(); VkBool32transformFeedback(); VkBool32geometryStreams(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceTransformFeedbackFeaturesEXT.BufferAn array ofVkPhysicalDeviceTransformFeedbackFeaturesEXTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intGEOMETRYSTREAMS
PNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPE
TRANSFORMFEEDBACKThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceTransformFeedbackFeaturesEXT(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceTransformFeedbackFeaturesEXTinstance 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 VkPhysicalDeviceTransformFeedbackFeaturesEXTcalloc()Returns a newVkPhysicalDeviceTransformFeedbackFeaturesEXTinstance allocated withmemCalloc.static VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceTransformFeedbackFeaturesEXT.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceTransformFeedbackFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceTransformFeedbackFeaturesEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceTransformFeedbackFeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceTransformFeedbackFeaturesEXTcallocStack()Deprecated.static VkPhysicalDeviceTransformFeedbackFeaturesEXT.BuffercallocStack(int capacity)Deprecated.static VkPhysicalDeviceTransformFeedbackFeaturesEXT.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPhysicalDeviceTransformFeedbackFeaturesEXTcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static VkPhysicalDeviceTransformFeedbackFeaturesEXTcreate()Returns a newVkPhysicalDeviceTransformFeedbackFeaturesEXTinstance allocated withBufferUtils.static VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffercreate(int capacity)Returns a newVkPhysicalDeviceTransformFeedbackFeaturesEXT.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceTransformFeedbackFeaturesEXTcreate(long address)Returns a newVkPhysicalDeviceTransformFeedbackFeaturesEXTinstance for the specified memory address.static VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceTransformFeedbackFeaturesEXT.Bufferinstance at the specified memory.static VkPhysicalDeviceTransformFeedbackFeaturesEXTcreateSafe(long address)static VkPhysicalDeviceTransformFeedbackFeaturesEXT.BuffercreateSafe(long address, int capacity)booleangeometryStreams()indicates whether the implementation supports theGeometryStreamsSPIR-V capability.VkPhysicalDeviceTransformFeedbackFeaturesEXTgeometryStreams(boolean value)Sets the specified value to thegeometryStreams()field.static VkPhysicalDeviceTransformFeedbackFeaturesEXTmalloc()Returns a newVkPhysicalDeviceTransformFeedbackFeaturesEXTinstance allocated withmemAlloc.static VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceTransformFeedbackFeaturesEXT.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceTransformFeedbackFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceTransformFeedbackFeaturesEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceTransformFeedbackFeaturesEXTinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceTransformFeedbackFeaturesEXTmallocStack()Deprecated.static VkPhysicalDeviceTransformFeedbackFeaturesEXT.BuffermallocStack(int capacity)Deprecated.static VkPhysicalDeviceTransformFeedbackFeaturesEXT.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPhysicalDeviceTransformFeedbackFeaturesEXTmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static intngeometryStreams(long struct)Unsafe version ofgeometryStreams().static voidngeometryStreams(long struct, int value)Unsafe version ofgeometryStreams.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 intntransformFeedback(long struct)Unsafe version oftransformFeedback().static voidntransformFeedback(long struct, int value)Unsafe version oftransformFeedback.longpNext()NULLor a pointer to a structure extending this structure.VkPhysicalDeviceTransformFeedbackFeaturesEXTpNext(long value)Sets the specified value to thepNext()field.VkPhysicalDeviceTransformFeedbackFeaturesEXTset(int sType, long pNext, boolean transformFeedback, boolean geometryStreams)Initializes this struct with the specified values.VkPhysicalDeviceTransformFeedbackFeaturesEXTset(VkPhysicalDeviceTransformFeedbackFeaturesEXT src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkPhysicalDeviceTransformFeedbackFeaturesEXTsType(int value)Sets the specified value to thesType()field.VkPhysicalDeviceTransformFeedbackFeaturesEXTsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_FEATURES_EXTvalue to thesType()field.booleantransformFeedback()indicates whether the implementation supports transform feedback and shader modules can declare theTransformFeedbackcapability.VkPhysicalDeviceTransformFeedbackFeaturesEXTtransformFeedback(boolean value)Sets the specified value to thetransformFeedback()field.
-
-
-
Constructor Detail
-
VkPhysicalDeviceTransformFeedbackFeaturesEXT
public VkPhysicalDeviceTransformFeedbackFeaturesEXT(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceTransformFeedbackFeaturesEXTinstance 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.
-
transformFeedback
public boolean transformFeedback()
indicates whether the implementation supports transform feedback and shader modules can declare theTransformFeedbackcapability.
-
geometryStreams
public boolean geometryStreams()
indicates whether the implementation supports theGeometryStreamsSPIR-V capability.
-
sType
public VkPhysicalDeviceTransformFeedbackFeaturesEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPhysicalDeviceTransformFeedbackFeaturesEXT sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_FEATURES_EXTvalue to thesType()field.
-
pNext
public VkPhysicalDeviceTransformFeedbackFeaturesEXT pNext(long value)
Sets the specified value to thepNext()field.
-
transformFeedback
public VkPhysicalDeviceTransformFeedbackFeaturesEXT transformFeedback(boolean value)
Sets the specified value to thetransformFeedback()field.
-
geometryStreams
public VkPhysicalDeviceTransformFeedbackFeaturesEXT geometryStreams(boolean value)
Sets the specified value to thegeometryStreams()field.
-
set
public VkPhysicalDeviceTransformFeedbackFeaturesEXT set(int sType, long pNext, boolean transformFeedback, boolean geometryStreams)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceTransformFeedbackFeaturesEXT set(VkPhysicalDeviceTransformFeedbackFeaturesEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceTransformFeedbackFeaturesEXT malloc()
Returns a newVkPhysicalDeviceTransformFeedbackFeaturesEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceTransformFeedbackFeaturesEXT calloc()
Returns a newVkPhysicalDeviceTransformFeedbackFeaturesEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceTransformFeedbackFeaturesEXT create()
Returns a newVkPhysicalDeviceTransformFeedbackFeaturesEXTinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceTransformFeedbackFeaturesEXT create(long address)
Returns a newVkPhysicalDeviceTransformFeedbackFeaturesEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceTransformFeedbackFeaturesEXT createSafe(long address)
-
malloc
public static VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceTransformFeedbackFeaturesEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceTransformFeedbackFeaturesEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer create(int capacity)
Returns a newVkPhysicalDeviceTransformFeedbackFeaturesEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceTransformFeedbackFeaturesEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkPhysicalDeviceTransformFeedbackFeaturesEXT mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceTransformFeedbackFeaturesEXT callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDeviceTransformFeedbackFeaturesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceTransformFeedbackFeaturesEXT callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDeviceTransformFeedbackFeaturesEXT.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 VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkPhysicalDeviceTransformFeedbackFeaturesEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceTransformFeedbackFeaturesEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceTransformFeedbackFeaturesEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceTransformFeedbackFeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceTransformFeedbackFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceTransformFeedbackFeaturesEXT.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().
-
ntransformFeedback
public static int ntransformFeedback(long struct)
Unsafe version oftransformFeedback().
-
ngeometryStreams
public static int ngeometryStreams(long struct)
Unsafe version ofgeometryStreams().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
ntransformFeedback
public static void ntransformFeedback(long struct, int value)Unsafe version oftransformFeedback.
-
ngeometryStreams
public static void ngeometryStreams(long struct, int value)Unsafe version ofgeometryStreams.
-
-