Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkPhysicalDeviceTransformFeedbackPropertiesEXT

extends Struct<VkPhysicalDeviceTransformFeedbackPropertiesEXT>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Structure describing transform feedback properties that can be supported by an implementation.
Description

If the VkPhysicalDeviceTransformFeedbackPropertiesEXT structure is included in the pNext chain of the VkPhysicalDeviceProperties2 structure passed to GetPhysicalDeviceProperties2, it is filled in with each corresponding implementation-dependent property.

Valid Usage (Implicit)

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 and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
MAXTRANSFORMFEEDBACKBUFFERDATASIZE

The struct member offsets.

public static final int
MAXTRANSFORMFEEDBACKBUFFERDATASTRIDE

The struct member offsets.

public static final int
MAXTRANSFORMFEEDBACKBUFFERS

The struct member offsets.

public static final int
MAXTRANSFORMFEEDBACKBUFFERSIZE

The struct member offsets.

public static final int
MAXTRANSFORMFEEDBACKSTREAMDATASIZE

The struct member offsets.

public static final int
MAXTRANSFORMFEEDBACKSTREAMS

The struct member offsets.

public static final int
PNEXT

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
STYPE

The struct member offsets.

public static final int
TRANSFORMFEEDBACKDRAW

The struct member offsets.

public static final int
TRANSFORMFEEDBACKQUERIES

The struct member offsets.

public static final int
public static final int
TRANSFORMFEEDBACKSTREAMSLINESTRIANGLES

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
public
VkPhysicalDeviceTransformFeedbackPropertiesEXT(ByteBuffer container)

Creates a VkPhysicalDeviceTransformFeedbackPropertiesEXT instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public static VkPhysicalDeviceTransformFeedbackPropertiesEXT
calloc()

Returns a new VkPhysicalDeviceTransformFeedbackPropertiesEXT instance allocated with memCalloc.

public static VkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new VkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer instance allocated with memCalloc.

public static VkPhysicalDeviceTransformFeedbackPropertiesEXT
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPhysicalDeviceTransformFeedbackPropertiesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VkPhysicalDeviceTransformFeedbackPropertiesEXT
callocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static VkPhysicalDeviceTransformFeedbackPropertiesEXT
callocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static VkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer
callocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static VkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer
callocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
protected VkPhysicalDeviceTransformFeedbackPropertiesEXT
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static VkPhysicalDeviceTransformFeedbackPropertiesEXT
create()

Returns a new VkPhysicalDeviceTransformFeedbackPropertiesEXT instance allocated with BufferUtils.

public static VkPhysicalDeviceTransformFeedbackPropertiesEXT
create(long address)

Returns a new VkPhysicalDeviceTransformFeedbackPropertiesEXT instance for the specified memory address.

public static VkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer
create(int
the buffer capacity
capacity
)

Returns a new VkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer instance allocated with BufferUtils.

public static VkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a VkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer instance at the specified memory.

public static VkPhysicalDeviceTransformFeedbackPropertiesEXT
createSafe(long address)

Like create, but returns null if address is NULL.

public static VkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public static VkPhysicalDeviceTransformFeedbackPropertiesEXT
malloc()

Returns a new VkPhysicalDeviceTransformFeedbackPropertiesEXT instance allocated with memAlloc.

public static VkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new VkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer instance allocated with memAlloc.

public static VkPhysicalDeviceTransformFeedbackPropertiesEXT
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPhysicalDeviceTransformFeedbackPropertiesEXT instance allocated on the specified MemoryStack.

public static VkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer instance allocated on the specified MemoryStack.

public static VkPhysicalDeviceTransformFeedbackPropertiesEXT
mallocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static VkPhysicalDeviceTransformFeedbackPropertiesEXT
mallocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static VkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer
mallocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static VkPhysicalDeviceTransformFeedbackPropertiesEXT.Buffer
mallocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public int
maxTransformFeedbackBufferDataSize()

the maximum amount of data in bytes for each vertex that can be captured to a specific transform feedback buffer.

public int
maxTransformFeedbackBufferDataStride()

the maximum stride between each capture of vertex data to the buffer.

public int
maxTransformFeedbackBuffers()

the maximum number of transform feedback buffers that can be bound for capturing shader outputs from the last pre-rasterization shader stage.

public long
maxTransformFeedbackBufferSize()

the maximum size that can be specified when binding a buffer for transform feedback in CmdBindTransformFeedbackBuffersEXT.

public int
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.

public int
maxTransformFeedbackStreams()

the maximum number of vertex streams that can be output from geometry shaders declared with the GeometryStreams capability.

public static int
public static int
public static int
public static long
public static int
public static int
public static long
npNext(long struct)

Unsafe version of pNext.

public static void
npNext(long struct, long value)

Unsafe version of pNext.

public static int
nsType(long struct)

Unsafe version of sType.

public static void
nsType(long struct, int value)

Unsafe version of sType.

public static int
ntransformFeedbackDraw(long struct)

Unsafe version of transformFeedbackDraw.

public static int
ntransformFeedbackQueries(long struct)

Unsafe version of transformFeedbackQueries.

public static int
public static int
public long
pNext()

NULL or a pointer to a structure extending this structure.

public VkPhysicalDeviceTransformFeedbackPropertiesEXT
pNext(long value)

Sets the specified value to the pNext field.

public VkPhysicalDeviceTransformFeedbackPropertiesEXT
set(int sType, long pNext)

Initializes this struct with the specified values.

public VkPhysicalDeviceTransformFeedbackPropertiesEXT

Returns:

this struct
set
(VkPhysicalDeviceTransformFeedbackPropertiesEXT
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public int
sType()

a VkStructureType value identifying this structure.

public VkPhysicalDeviceTransformFeedbackPropertiesEXT
sType(int value)

Sets the specified value to the sType field.

public VkPhysicalDeviceTransformFeedbackPropertiesEXT
public boolean
transformFeedbackDraw()

TRUE if the implementation supports the CmdDrawIndirectByteCountEXT function otherwise the function must not be called.

public boolean
transformFeedbackQueries()

TRUE if the implementation supports the QUERY_TYPE_TRANSFORM_FEEDBACK_STREAM_EXT query type.

public boolean
transformFeedbackRasterizationStreamSelect()

TRUE if the implementation supports the GeometryStreams SPIR-V capability and the application can use VkPipelineRasterizationStateStreamCreateInfoEXT to modify which vertex stream output is used for rasterization.

public boolean
transformFeedbackStreamsLinesTriangles()

TRUE if the implementation supports the geometry shader OpExecutionMode of OutputLineStrip and OutputTriangleStrip in addition to OutputPoints when more than one vertex stream is output.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate