public class VkPhysicalDeviceTransformFeedbackFeaturesEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If the VkPhysicalDeviceTransformFeedbackFeaturesEXT structure is included in the pNext chain of VkPhysicalDeviceFeatures2, it is filled with values indicating whether each feature is supported. VkPhysicalDeviceTransformFeedbackFeaturesEXT can also be included in the pNext chain of VkDeviceCreateInfo to enable features.
transformFeedback – indicates whether the implementation supports transform feedback and shader modules can declare the TransformFeedback capability.geometryStreams – indicates whether the implementation supports the GeometryStreams SPIR-V capability.
struct VkPhysicalDeviceTransformFeedbackFeaturesEXT {
VkStructureType sType;
void * pNext;
VkBool32 transformFeedback;
VkBool32 geometryStreams;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer
An array of
VkPhysicalDeviceTransformFeedbackFeaturesEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
GEOMETRYSTREAMS
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
static int |
TRANSFORMFEEDBACK
The struct member offsets.
|
| Constructor and Description |
|---|
VkPhysicalDeviceTransformFeedbackFeaturesEXT(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceTransformFeedbackFeaturesEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDeviceTransformFeedbackFeaturesEXT |
calloc()
Returns a new
VkPhysicalDeviceTransformFeedbackFeaturesEXT instance allocated with memCalloc. |
static VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceTransformFeedbackFeaturesEXT |
callocStack()
Returns a new
VkPhysicalDeviceTransformFeedbackFeaturesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceTransformFeedbackFeaturesEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceTransformFeedbackFeaturesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceTransformFeedbackFeaturesEXT |
create()
Returns a new
VkPhysicalDeviceTransformFeedbackFeaturesEXT instance allocated with BufferUtils. |
static VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceTransformFeedbackFeaturesEXT |
create(long address)
Returns a new
VkPhysicalDeviceTransformFeedbackFeaturesEXT instance for the specified memory address. |
static VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer instance at the specified memory. |
static VkPhysicalDeviceTransformFeedbackFeaturesEXT |
createSafe(long address)
|
static VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer |
createSafe(long address,
int capacity)
|
boolean |
geometryStreams()
Returns the value of the
geometryStreams field. |
VkPhysicalDeviceTransformFeedbackFeaturesEXT |
geometryStreams(boolean value)
Sets the specified value to the
geometryStreams field. |
static VkPhysicalDeviceTransformFeedbackFeaturesEXT |
malloc()
Returns a new
VkPhysicalDeviceTransformFeedbackFeaturesEXT instance allocated with memAlloc. |
static VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceTransformFeedbackFeaturesEXT |
mallocStack()
Returns a new
VkPhysicalDeviceTransformFeedbackFeaturesEXT instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceTransformFeedbackFeaturesEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceTransformFeedbackFeaturesEXT instance allocated on the specified MemoryStack. |
static int |
ngeometryStreams(long struct)
Unsafe version of
geometryStreams(). |
static void |
ngeometryStreams(long struct,
int value)
Unsafe version of
geometryStreams. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
static int |
ntransformFeedback(long struct)
Unsafe version of
transformFeedback(). |
static void |
ntransformFeedback(long struct,
int value)
Unsafe version of
transformFeedback. |
long |
pNext()
Returns the value of the
pNext field. |
VkPhysicalDeviceTransformFeedbackFeaturesEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDeviceTransformFeedbackFeaturesEXT |
set(int sType,
long pNext,
boolean transformFeedback,
boolean geometryStreams)
Initializes this struct with the specified values.
|
VkPhysicalDeviceTransformFeedbackFeaturesEXT |
set(VkPhysicalDeviceTransformFeedbackFeaturesEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDeviceTransformFeedbackFeaturesEXT |
sType(int value)
Sets the specified value to the
sType field. |
boolean |
transformFeedback()
Returns the value of the
transformFeedback field. |
VkPhysicalDeviceTransformFeedbackFeaturesEXT |
transformFeedback(boolean value)
Sets the specified value to the
transformFeedback field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int TRANSFORMFEEDBACK
public static final int GEOMETRYSTREAMS
public VkPhysicalDeviceTransformFeedbackFeaturesEXT(java.nio.ByteBuffer container)
VkPhysicalDeviceTransformFeedbackFeaturesEXT instance at the current position of the specified ByteBuffer container. 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int sType()
sType field.public long pNext()
pNext field.public boolean transformFeedback()
transformFeedback field.public boolean geometryStreams()
geometryStreams field.public VkPhysicalDeviceTransformFeedbackFeaturesEXT sType(int value)
sType field.public VkPhysicalDeviceTransformFeedbackFeaturesEXT pNext(long value)
pNext field.public VkPhysicalDeviceTransformFeedbackFeaturesEXT transformFeedback(boolean value)
transformFeedback field.public VkPhysicalDeviceTransformFeedbackFeaturesEXT geometryStreams(boolean value)
geometryStreams field.public VkPhysicalDeviceTransformFeedbackFeaturesEXT set(int sType, long pNext, boolean transformFeedback, boolean geometryStreams)
public VkPhysicalDeviceTransformFeedbackFeaturesEXT set(VkPhysicalDeviceTransformFeedbackFeaturesEXT src)
src - the source structpublic static VkPhysicalDeviceTransformFeedbackFeaturesEXT malloc()
VkPhysicalDeviceTransformFeedbackFeaturesEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceTransformFeedbackFeaturesEXT calloc()
VkPhysicalDeviceTransformFeedbackFeaturesEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceTransformFeedbackFeaturesEXT create()
VkPhysicalDeviceTransformFeedbackFeaturesEXT instance allocated with BufferUtils.public static VkPhysicalDeviceTransformFeedbackFeaturesEXT create(long address)
VkPhysicalDeviceTransformFeedbackFeaturesEXT instance for the specified memory address.@Nullable public static VkPhysicalDeviceTransformFeedbackFeaturesEXT createSafe(long address)
public static VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer malloc(int capacity)
VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer calloc(int capacity)
VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer create(int capacity)
VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer create(long address, int capacity)
VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceTransformFeedbackFeaturesEXT mallocStack()
VkPhysicalDeviceTransformFeedbackFeaturesEXT instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceTransformFeedbackFeaturesEXT callocStack()
VkPhysicalDeviceTransformFeedbackFeaturesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceTransformFeedbackFeaturesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceTransformFeedbackFeaturesEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceTransformFeedbackFeaturesEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceTransformFeedbackFeaturesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer mallocStack(int capacity)
VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer callocStack(int capacity)
VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceTransformFeedbackFeaturesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static int ntransformFeedback(long struct)
transformFeedback().public static int ngeometryStreams(long struct)
geometryStreams().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void ntransformFeedback(long struct,
int value)
transformFeedback.public static void ngeometryStreams(long struct,
int value)
geometryStreams.Copyright LWJGL. All Rights Reserved. License terms.