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 ofVkPhysicalDeviceFeatures2, it is filled with values indicating whether each feature is supported.VkPhysicalDeviceTransformFeedbackFeaturesEXTcan also be used in thepNextchain ofVkDeviceCreateInfoto enable features.Valid Usage (Implicit)
Member documentation
transformFeedback– indicates whether the implementation supports transform feedback and shader modules can declare theTransformFeedbackcapability.geometryStreams– indicates whether the implementation supports theGeometryStreamsSPIR-V capability.
Layout
struct VkPhysicalDeviceTransformFeedbackFeaturesEXT { VkStructureType sType; void * pNext; VkBool32 transformFeedback; VkBool32 geometryStreams; }
-
-
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 Modifier and Type Method Description static VkPhysicalDeviceTransformFeedbackFeaturesEXTcalloc()Returns a newVkPhysicalDeviceTransformFeedbackFeaturesEXTinstance allocated withmemCalloc.static VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceTransformFeedbackFeaturesEXT.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceTransformFeedbackFeaturesEXTcallocStack()Returns a newVkPhysicalDeviceTransformFeedbackFeaturesEXTinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceTransformFeedbackFeaturesEXT.BuffercallocStack(int capacity)Returns a newVkPhysicalDeviceTransformFeedbackFeaturesEXT.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceTransformFeedbackFeaturesEXT.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceTransformFeedbackFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceTransformFeedbackFeaturesEXTcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceTransformFeedbackFeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.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()Returns the value of thegeometryStreamsfield.VkPhysicalDeviceTransformFeedbackFeaturesEXTgeometryStreams(boolean value)Sets the specified value to thegeometryStreamsfield.static VkPhysicalDeviceTransformFeedbackFeaturesEXTmalloc()Returns a newVkPhysicalDeviceTransformFeedbackFeaturesEXTinstance allocated withmemAlloc.static VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceTransformFeedbackFeaturesEXT.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceTransformFeedbackFeaturesEXTmallocStack()Returns a newVkPhysicalDeviceTransformFeedbackFeaturesEXTinstance allocated on the thread-localMemoryStack.static VkPhysicalDeviceTransformFeedbackFeaturesEXT.BuffermallocStack(int capacity)Returns a newVkPhysicalDeviceTransformFeedbackFeaturesEXT.Bufferinstance allocated on the thread-localMemoryStack.static VkPhysicalDeviceTransformFeedbackFeaturesEXT.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceTransformFeedbackFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceTransformFeedbackFeaturesEXTmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceTransformFeedbackFeaturesEXTinstance allocated on the specifiedMemoryStack.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()Returns the value of thepNextfield.VkPhysicalDeviceTransformFeedbackFeaturesEXTpNext(long value)Sets the specified value to thepNextfield.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()Returns the value of thesTypefield.VkPhysicalDeviceTransformFeedbackFeaturesEXTsType(int value)Sets the specified value to thesTypefield.booleantransformFeedback()Returns the value of thetransformFeedbackfield.VkPhysicalDeviceTransformFeedbackFeaturesEXTtransformFeedback(boolean value)Sets the specified value to thetransformFeedbackfield.
-
-
-
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()
Returns the value of thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
transformFeedback
public boolean transformFeedback()
Returns the value of thetransformFeedbackfield.
-
geometryStreams
public boolean geometryStreams()
Returns the value of thegeometryStreamsfield.
-
sType
public VkPhysicalDeviceTransformFeedbackFeaturesEXT sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkPhysicalDeviceTransformFeedbackFeaturesEXT pNext(long value)
Sets the specified value to thepNextfield.
-
transformFeedback
public VkPhysicalDeviceTransformFeedbackFeaturesEXT transformFeedback(boolean value)
Sets the specified value to thetransformFeedbackfield.
-
geometryStreams
public VkPhysicalDeviceTransformFeedbackFeaturesEXT geometryStreams(boolean value)
Sets the specified value to thegeometryStreamsfield.
-
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
public static VkPhysicalDeviceTransformFeedbackFeaturesEXT mallocStack()
Returns a newVkPhysicalDeviceTransformFeedbackFeaturesEXTinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkPhysicalDeviceTransformFeedbackFeaturesEXT callocStack()
Returns a newVkPhysicalDeviceTransformFeedbackFeaturesEXTinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkPhysicalDeviceTransformFeedbackFeaturesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceTransformFeedbackFeaturesEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkPhysicalDeviceTransformFeedbackFeaturesEXT callocStack(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
-
mallocStack
public static VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer mallocStack(int capacity)
Returns a newVkPhysicalDeviceTransformFeedbackFeaturesEXT.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer callocStack(int capacity)
Returns a newVkPhysicalDeviceTransformFeedbackFeaturesEXT.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer mallocStack(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
-
callocStack
public static VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer callocStack(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.
-
-