Package org.lwjgl.vulkan
Class VkPhysicalDeviceTransformFeedbackPropertiesEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceTransformFeedbackPropertiesEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
public class VkPhysicalDeviceTransformFeedbackPropertiesEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResource
Structure describing transform feedback properties that can be supported by an implementation.Description
If the
VkPhysicalDeviceTransformFeedbackPropertiesEXT
structure is included in thepNext
chain ofVkPhysicalDeviceProperties2
, it is filled with the implementation-dependent limits and properties.Valid Usage (Implicit)
Member documentation
sType
– the type of this structure.pNext
–NULL
or a pointer to an extension-specific structure.maxTransformFeedbackStreams
– the maximum number of vertex streams that can be output from geometry shaders declared with theGeometryStreams
capability. If the implementation does not supportVkPhysicalDeviceTransformFeedbackFeaturesEXT
::geometryStreams
thenmaxTransformFeedbackStreams
must be set to 1.maxTransformFeedbackBuffers
– the maximum number of transform feedback buffers that can be bound for capturing shader outputs from the last vertex processing stage.maxTransformFeedbackBufferSize
– the maximum size that can be specified when binding a buffer for transform feedback inCmdBindTransformFeedbackBuffersEXT
.maxTransformFeedbackStreamDataSize
– the maximum amount of data in bytes for each vertex that captured to one or more transform feedback buffers associated with a specific vertex stream.maxTransformFeedbackBufferDataSize
– the maximum amount of data in bytes for each vertex that can be captured to a specific transform feedback buffer.maxTransformFeedbackBufferDataStride
– the maximum stride between each capture of vertex data to the buffer.transformFeedbackQueries
– true if the implementation supports theQUERY_TYPE_TRANSFORM_FEEDBACK_STREAM_EXT
query type.transformFeedbackQueries
is false if queries of this type cannot be created.transformFeedbackStreamsLinesTriangles
– true if the implementation supports the geometry shaderOpExecutionMode
ofOutputLineStrip
andOutputTriangleStrip
in addition toOutputPoints
when more than one vertex stream is output. IftransformFeedbackStreamsLinesTriangles
is false the implementation only supports anOpExecutionMode
ofOutputPoints
when more than one vertex stream is output from the geometry shader.transformFeedbackRasterizationStreamSelect
– true if the implementation supports theGeometryStreams
SPIR-V capability and the application can useVkPipelineRasterizationStateStreamCreateInfoEXT
to modify which vertex stream output is used for rasterization. Otherwise vertex stream 0 must always be used for rasterization.transformFeedbackDraw
– true if the implementation supports theCmdDrawIndirectByteCountEXT
function otherwise the function must not be called.
Layout
struct VkPhysicalDeviceTransformFeedbackPropertiesEXT { VkStructureType sType; void * pNext; uint32_t maxTransformFeedbackStreams; uint32_t maxTransformFeedbackBuffers; VkDeviceSize maxTransformFeedbackBufferSize; uint32_t maxTransformFeedbackStreamDataSize; uint32_t maxTransformFeedbackBufferDataSize; uint32_t maxTransformFeedbackBufferDataStride; VkBool32 transformFeedbackQueries; VkBool32 transformFeedbackStreamsLinesTriangles; VkBool32 transformFeedbackRasterizationStreamSelect; VkBool32 transformFeedbackDraw; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer
An array ofVkPhysicalDeviceTransformFeedbackPropertiesEXT
structs.
-
Field Summary
Fields Modifier and Type Field Description static int
ALIGNOF
The struct alignment in bytes.static int
MAXTRANSFORMFEEDBACKBUFFERDATASIZE
MAXTRANSFORMFEEDBACKBUFFERDATASTRIDE
MAXTRANSFORMFEEDBACKBUFFERS
MAXTRANSFORMFEEDBACKBUFFERSIZE
MAXTRANSFORMFEEDBACKSTREAMDATASIZE
MAXTRANSFORMFEEDBACKSTREAMS
PNEXTThe struct member offsets.static int
SIZEOF
The struct size in bytes.static int
STYPE
TRANSFORMFEEDBACKDRAW
TRANSFORMFEEDBACKQUERIES
TRANSFORMFEEDBACKRASTERIZATIONSTREAMSELECT
TRANSFORMFEEDBACKSTREAMSLINESTRIANGLESThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceTransformFeedbackPropertiesEXT(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceTransformFeedbackPropertiesEXT
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceTransformFeedbackPropertiesEXT
calloc()
Returns a newVkPhysicalDeviceTransformFeedbackPropertiesEXT
instance allocated withmemCalloc
.static VkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer
calloc(int capacity)
Returns a newVkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer
instance allocated withmemCalloc
.static VkPhysicalDeviceTransformFeedbackPropertiesEXT
callocStack()
Returns a newVkPhysicalDeviceTransformFeedbackPropertiesEXT
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer
callocStack(int capacity)
Returns a newVkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceTransformFeedbackPropertiesEXT
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceTransformFeedbackPropertiesEXT
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceTransformFeedbackPropertiesEXT
create()
Returns a newVkPhysicalDeviceTransformFeedbackPropertiesEXT
instance allocated withBufferUtils
.static VkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer
create(int capacity)
Returns a newVkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer
instance allocated withBufferUtils
.static VkPhysicalDeviceTransformFeedbackPropertiesEXT
create(long address)
Returns a newVkPhysicalDeviceTransformFeedbackPropertiesEXT
instance for the specified memory address.static VkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer
create(long address, int capacity)
Create aVkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer
instance at the specified memory.static VkPhysicalDeviceTransformFeedbackPropertiesEXT
createSafe(long address)
static VkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer
createSafe(long address, int capacity)
static VkPhysicalDeviceTransformFeedbackPropertiesEXT
malloc()
Returns a newVkPhysicalDeviceTransformFeedbackPropertiesEXT
instance allocated withmemAlloc
.static VkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer
malloc(int capacity)
Returns a newVkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer
instance allocated withmemAlloc
.static VkPhysicalDeviceTransformFeedbackPropertiesEXT
mallocStack()
Returns a newVkPhysicalDeviceTransformFeedbackPropertiesEXT
instance allocated on the thread-localMemoryStack
.static VkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer
mallocStack(int capacity)
Returns a newVkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer
instance allocated on the thread-localMemoryStack
.static VkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer
instance allocated on the specifiedMemoryStack
.static VkPhysicalDeviceTransformFeedbackPropertiesEXT
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceTransformFeedbackPropertiesEXT
instance allocated on the specifiedMemoryStack
.int
maxTransformFeedbackBufferDataSize()
Returns the value of themaxTransformFeedbackBufferDataSize
field.int
maxTransformFeedbackBufferDataStride()
Returns the value of themaxTransformFeedbackBufferDataStride
field.int
maxTransformFeedbackBuffers()
Returns the value of themaxTransformFeedbackBuffers
field.long
maxTransformFeedbackBufferSize()
Returns the value of themaxTransformFeedbackBufferSize
field.int
maxTransformFeedbackStreamDataSize()
Returns the value of themaxTransformFeedbackStreamDataSize
field.int
maxTransformFeedbackStreams()
Returns the value of themaxTransformFeedbackStreams
field.static int
nmaxTransformFeedbackBufferDataSize(long struct)
Unsafe version ofmaxTransformFeedbackBufferDataSize()
.static int
nmaxTransformFeedbackBufferDataStride(long struct)
Unsafe version ofmaxTransformFeedbackBufferDataStride()
.static int
nmaxTransformFeedbackBuffers(long struct)
Unsafe version ofmaxTransformFeedbackBuffers()
.static long
nmaxTransformFeedbackBufferSize(long struct)
Unsafe version ofmaxTransformFeedbackBufferSize()
.static int
nmaxTransformFeedbackStreamDataSize(long struct)
Unsafe version ofmaxTransformFeedbackStreamDataSize()
.static int
nmaxTransformFeedbackStreams(long struct)
Unsafe version ofmaxTransformFeedbackStreams()
.static long
npNext(long struct)
Unsafe version ofpNext()
.static void
npNext(long struct, long value)
Unsafe version ofpNext
.static int
nsType(long struct)
Unsafe version ofsType()
.static void
nsType(long struct, int value)
Unsafe version ofsType
.static int
ntransformFeedbackDraw(long struct)
Unsafe version oftransformFeedbackDraw()
.static int
ntransformFeedbackQueries(long struct)
Unsafe version oftransformFeedbackQueries()
.static int
ntransformFeedbackRasterizationStreamSelect(long struct)
Unsafe version oftransformFeedbackRasterizationStreamSelect()
.static int
ntransformFeedbackStreamsLinesTriangles(long struct)
Unsafe version oftransformFeedbackStreamsLinesTriangles()
.long
pNext()
Returns the value of thepNext
field.VkPhysicalDeviceTransformFeedbackPropertiesEXT
pNext(long value)
Sets the specified value to thepNext
field.VkPhysicalDeviceTransformFeedbackPropertiesEXT
set(int sType, long pNext)
Initializes this struct with the specified values.VkPhysicalDeviceTransformFeedbackPropertiesEXT
set(VkPhysicalDeviceTransformFeedbackPropertiesEXT src)
Copies the specified struct data to this struct.int
sizeof()
int
sType()
Returns the value of thesType
field.VkPhysicalDeviceTransformFeedbackPropertiesEXT
sType(int value)
Sets the specified value to thesType
field.boolean
transformFeedbackDraw()
Returns the value of thetransformFeedbackDraw
field.boolean
transformFeedbackQueries()
Returns the value of thetransformFeedbackQueries
field.boolean
transformFeedbackRasterizationStreamSelect()
Returns the value of thetransformFeedbackRasterizationStreamSelect
field.boolean
transformFeedbackStreamsLinesTriangles()
Returns the value of thetransformFeedbackStreamsLinesTriangles
field.
-
-
-
Field Detail
-
SIZEOF
The struct size in bytes.
-
ALIGNOF
The struct alignment in bytes.
-
STYPE, PNEXT, MAXTRANSFORMFEEDBACKSTREAMS, MAXTRANSFORMFEEDBACKBUFFERS, MAXTRANSFORMFEEDBACKBUFFERSIZE, MAXTRANSFORMFEEDBACKSTREAMDATASIZE, MAXTRANSFORMFEEDBACKBUFFERDATASIZE, MAXTRANSFORMFEEDBACKBUFFERDATASTRIDE, TRANSFORMFEEDBACKQUERIES, TRANSFORMFEEDBACKSTREAMSLINESTRIANGLES, TRANSFORMFEEDBACKRASTERIZATIONSTREAMSELECT, TRANSFORMFEEDBACKDRAW
The struct member offsets.
-
-
Constructor Detail
-
VkPhysicalDeviceTransformFeedbackPropertiesEXT
public VkPhysicalDeviceTransformFeedbackPropertiesEXT(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceTransformFeedbackPropertiesEXT
instance at the current position of the specifiedByteBuffer
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.
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeof
in classorg.lwjgl.system.Struct
-
sType
public int sType()
Returns the value of thesType
field.
-
pNext
public long pNext()
Returns the value of thepNext
field.
-
maxTransformFeedbackStreams
public int maxTransformFeedbackStreams()
Returns the value of themaxTransformFeedbackStreams
field.
-
maxTransformFeedbackBuffers
public int maxTransformFeedbackBuffers()
Returns the value of themaxTransformFeedbackBuffers
field.
-
maxTransformFeedbackBufferSize
public long maxTransformFeedbackBufferSize()
Returns the value of themaxTransformFeedbackBufferSize
field.
-
maxTransformFeedbackStreamDataSize
public int maxTransformFeedbackStreamDataSize()
Returns the value of themaxTransformFeedbackStreamDataSize
field.
-
maxTransformFeedbackBufferDataSize
public int maxTransformFeedbackBufferDataSize()
Returns the value of themaxTransformFeedbackBufferDataSize
field.
-
maxTransformFeedbackBufferDataStride
public int maxTransformFeedbackBufferDataStride()
Returns the value of themaxTransformFeedbackBufferDataStride
field.
-
transformFeedbackQueries
public boolean transformFeedbackQueries()
Returns the value of thetransformFeedbackQueries
field.
-
transformFeedbackStreamsLinesTriangles
public boolean transformFeedbackStreamsLinesTriangles()
Returns the value of thetransformFeedbackStreamsLinesTriangles
field.
-
transformFeedbackRasterizationStreamSelect
public boolean transformFeedbackRasterizationStreamSelect()
Returns the value of thetransformFeedbackRasterizationStreamSelect
field.
-
transformFeedbackDraw
public boolean transformFeedbackDraw()
Returns the value of thetransformFeedbackDraw
field.
-
sType
public VkPhysicalDeviceTransformFeedbackPropertiesEXT sType(int value)
Sets the specified value to thesType
field.
-
pNext
public VkPhysicalDeviceTransformFeedbackPropertiesEXT pNext(long value)
Sets the specified value to thepNext
field.
-
set
public VkPhysicalDeviceTransformFeedbackPropertiesEXT set(int sType, long pNext)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceTransformFeedbackPropertiesEXT set(VkPhysicalDeviceTransformFeedbackPropertiesEXT src)
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceTransformFeedbackPropertiesEXT malloc()
Returns a newVkPhysicalDeviceTransformFeedbackPropertiesEXT
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceTransformFeedbackPropertiesEXT calloc()
Returns a newVkPhysicalDeviceTransformFeedbackPropertiesEXT
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceTransformFeedbackPropertiesEXT create()
Returns a newVkPhysicalDeviceTransformFeedbackPropertiesEXT
instance allocated withBufferUtils
.
-
create
public static VkPhysicalDeviceTransformFeedbackPropertiesEXT create(long address)
Returns a newVkPhysicalDeviceTransformFeedbackPropertiesEXT
instance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceTransformFeedbackPropertiesEXT createSafe(long address)
-
malloc
public static VkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer create(int capacity)
Returns a newVkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkPhysicalDeviceTransformFeedbackPropertiesEXT mallocStack()
Returns a newVkPhysicalDeviceTransformFeedbackPropertiesEXT
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkPhysicalDeviceTransformFeedbackPropertiesEXT callocStack()
Returns a newVkPhysicalDeviceTransformFeedbackPropertiesEXT
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkPhysicalDeviceTransformFeedbackPropertiesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceTransformFeedbackPropertiesEXT
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkPhysicalDeviceTransformFeedbackPropertiesEXT callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceTransformFeedbackPropertiesEXT
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
mallocStack
public static VkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer mallocStack(int capacity)
Returns a newVkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer callocStack(int capacity)
Returns a newVkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacity
-
mallocStack
public static VkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
callocStack
public static VkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer
instance allocated on the specifiedMemoryStack
and 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()
.
-
nmaxTransformFeedbackStreams
public static int nmaxTransformFeedbackStreams(long struct)
Unsafe version ofmaxTransformFeedbackStreams()
.
-
nmaxTransformFeedbackBuffers
public static int nmaxTransformFeedbackBuffers(long struct)
Unsafe version ofmaxTransformFeedbackBuffers()
.
-
nmaxTransformFeedbackBufferSize
public static long nmaxTransformFeedbackBufferSize(long struct)
Unsafe version ofmaxTransformFeedbackBufferSize()
.
-
nmaxTransformFeedbackStreamDataSize
public static int nmaxTransformFeedbackStreamDataSize(long struct)
Unsafe version ofmaxTransformFeedbackStreamDataSize()
.
-
nmaxTransformFeedbackBufferDataSize
public static int nmaxTransformFeedbackBufferDataSize(long struct)
Unsafe version ofmaxTransformFeedbackBufferDataSize()
.
-
nmaxTransformFeedbackBufferDataStride
public static int nmaxTransformFeedbackBufferDataStride(long struct)
Unsafe version ofmaxTransformFeedbackBufferDataStride()
.
-
ntransformFeedbackQueries
public static int ntransformFeedbackQueries(long struct)
Unsafe version oftransformFeedbackQueries()
.
-
ntransformFeedbackStreamsLinesTriangles
public static int ntransformFeedbackStreamsLinesTriangles(long struct)
Unsafe version oftransformFeedbackStreamsLinesTriangles()
.
-
ntransformFeedbackRasterizationStreamSelect
public static int ntransformFeedbackRasterizationStreamSelect(long struct)
Unsafe version oftransformFeedbackRasterizationStreamSelect()
.
-
ntransformFeedbackDraw
public static int ntransformFeedbackDraw(long struct)
Unsafe version oftransformFeedbackDraw()
.
-
nsType
public static void nsType(long struct, int value)
Unsafe version ofsType
.
-
npNext
public static void npNext(long struct, long value)
Unsafe version ofpNext
.
-
-