Restarting the assembly of primitives discards the most recent index values if those elements formed an incomplete primitive, and restarts the primitive assembly using the subsequent indices, but only assembling the immediately following element through the end of the originally specified elements. The primitive restart index value comparison is performed before adding the vertexOffset value to the index value.
primitiveTopologyListRestart feature is not enabled, and topology is PRIMITIVE_TOPOLOGY_POINT_LIST, PRIMITIVE_TOPOLOGY_LINE_LIST, PRIMITIVE_TOPOLOGY_TRIANGLE_LIST, PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY, or PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY, primitiveRestartEnable must be FALSEprimitiveTopologyPatchListRestart feature is not enabled, and topology is PRIMITIVE_TOPOLOGY_PATCH_LIST, primitiveRestartEnable must be FALSEgeometryShader feature is not enabled, topology must not be any of PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY, PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY, PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY or PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCYtessellationShader feature is not enabled, topology must not be PRIMITIVE_TOPOLOGY_PATCH_LISTVK_KHR_portability_subset extension is enabled, and VkPhysicalDevicePortabilitySubsetFeaturesKHR::triangleFans is FALSE, topology must not be PRIMITIVE_TOPOLOGY_TRIANGLE_FANsType must be STRUCTURE_TYPE_PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFOpNext must be NULLflags must be 0topology must be a valid VkPrimitiveTopology value
struct VkPipelineInputAssemblyStateCreateInfo {
VkStructureType sType;
void const * pNext;
VkPipelineInputAssemblyStateCreateFlags flags;
VkPrimitiveTopology topology;
VkBool32 primitiveRestartEnable;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkPipelineInputAssemblyStateCreateInfo.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | FLAGS
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | PRIMITIVERESTARTENABLE
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 | TOPOLOGY
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkPipelineInputAssemblyStateCreateInfo(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkPipelineInputAssemblyStateCreateInfo | |
| public static VkPipelineInputAssemblyStateCreateInfo. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkPipelineInputAssemblyStateCreateInfo | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPipelineInputAssemblyStateCreateInfo. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkPipelineInputAssemblyStateCreateInfo | |
| public static VkPipelineInputAssemblyStateCreateInfo | |
| public static VkPipelineInputAssemblyStateCreateInfo. | |
| public static VkPipelineInputAssemblyStateCreateInfo. | |
| protected VkPipelineInputAssemblyStateCreateInfo | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static VkPipelineInputAssemblyStateCreateInfo | |
| public static VkPipelineInputAssemblyStateCreateInfo | create(long address)
Returns a new |
| public static VkPipelineInputAssemblyStateCreateInfo. | create(int
the buffer capacity capacity)Returns a new |
| public static VkPipelineInputAssemblyStateCreateInfo. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkPipelineInputAssemblyStateCreateInfo | |
| public static VkPipelineInputAssemblyStateCreateInfo. | |
| public int | |
| public VkPipelineInputAssemblyStateCreateInfo | |
| public static VkPipelineInputAssemblyStateCreateInfo | |
| public static VkPipelineInputAssemblyStateCreateInfo. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkPipelineInputAssemblyStateCreateInfo | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPipelineInputAssemblyStateCreateInfo. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkPipelineInputAssemblyStateCreateInfo | |
| public static VkPipelineInputAssemblyStateCreateInfo | |
| public static VkPipelineInputAssemblyStateCreateInfo. | |
| public static VkPipelineInputAssemblyStateCreateInfo. | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public long | |
| public VkPipelineInputAssemblyStateCreateInfo | |
| public boolean | primitiveRestartEnable()
controls whether a special vertex index value is treated as restarting the assembly of primitives. |
| public VkPipelineInputAssemblyStateCreateInfo | |
| public VkPipelineInputAssemblyStateCreateInfo | set(int sType, long pNext, int flags, int topology, boolean primitiveRestartEnable)
Initializes this struct with the specified values. |
| public VkPipelineInputAssemblyStateCreateInfo | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkPipelineInputAssemblyStateCreateInfo | |
| public VkPipelineInputAssemblyStateCreateInfo | sType$Default()
Sets the |
| public int | |
| public VkPipelineInputAssemblyStateCreateInfo |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| FLAGS | back to summary |
|---|---|
| public static final int FLAGS The struct member offsets. | |
| PNEXT | back to summary |
|---|---|
| public static final int PNEXT The struct member offsets. | |
| PRIMITIVERESTARTENABLE | back to summary |
|---|---|
| public static final int PRIMITIVERESTARTENABLE The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| STYPE | back to summary |
|---|---|
| public static final int STYPE The struct member offsets. | |
| TOPOLOGY | back to summary |
|---|---|
| public static final int TOPOLOGY The struct member offsets. | |
| VkPipelineInputAssemblyStateCreateInfo | back to summary |
|---|---|
| protected VkPipelineInputAssemblyStateCreateInfo(long address, ByteBuffer container) | |
| VkPipelineInputAssemblyStateCreateInfo | back to summary |
|---|---|
| public VkPipelineInputAssemblyStateCreateInfo(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkPipelineInputAssemblyStateCreateInfo calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkPipelineInputAssemblyStateCreateInfo. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkPipelineInputAssemblyStateCreateInfo calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkPipelineInputAssemblyStateCreateInfo. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static VkPipelineInputAssemblyStateCreateInfo callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkPipelineInputAssemblyStateCreateInfo callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkPipelineInputAssemblyStateCreateInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkPipelineInputAssemblyStateCreateInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected VkPipelineInputAssemblyStateCreateInfo create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkPipelineInputAssemblyStateCreateInfo create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkPipelineInputAssemblyStateCreateInfo create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkPipelineInputAssemblyStateCreateInfo. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkPipelineInputAssemblyStateCreateInfo. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkPipelineInputAssemblyStateCreateInfo createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkPipelineInputAssemblyStateCreateInfo. Like
| |
| flags | back to summary |
|---|---|
| public int flags() reserved for future use.
| |
| flags | back to summary |
|---|---|
| public VkPipelineInputAssemblyStateCreateInfo flags(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static VkPipelineInputAssemblyStateCreateInfo malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkPipelineInputAssemblyStateCreateInfo. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkPipelineInputAssemblyStateCreateInfo malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkPipelineInputAssemblyStateCreateInfo. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static VkPipelineInputAssemblyStateCreateInfo mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkPipelineInputAssemblyStateCreateInfo mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkPipelineInputAssemblyStateCreateInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkPipelineInputAssemblyStateCreateInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| nflags | back to summary |
|---|---|
| public static int nflags(long struct) Unsafe version of | |
| nflags | back to summary |
|---|---|
| public static void nflags(long struct, int value) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static long npNext(long struct) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static void npNext(long struct, long value) Unsafe version of | |
| nprimitiveRestartEnable | back to summary |
|---|---|
| public static int nprimitiveRestartEnable(long struct) Unsafe version of | |
| nprimitiveRestartEnable | back to summary |
|---|---|
| public static void nprimitiveRestartEnable(long struct, int value) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static int nsType(long struct) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static void nsType(long struct, int value) Unsafe version of | |
| ntopology | back to summary |
|---|---|
| public static int ntopology(long struct) Unsafe version of | |
| ntopology | back to summary |
|---|---|
| public static void ntopology(long struct, int value) Unsafe version of | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkPipelineInputAssemblyStateCreateInfo pNext(long value) Sets the specified value to the | |
| primitiveRestartEnable | back to summary |
|---|---|
| public boolean primitiveRestartEnable() controls whether a special vertex index value is treated as restarting the assembly of primitives. This enable only applies to indexed draws (
| |
| primitiveRestartEnable | back to summary |
|---|---|
| public VkPipelineInputAssemblyStateCreateInfo primitiveRestartEnable(boolean value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkPipelineInputAssemblyStateCreateInfo set(int sType, long pNext, int flags, int topology, boolean primitiveRestartEnable) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkPipelineInputAssemblyStateCreateInfo set(VkPipelineInputAssemblyStateCreateInfo src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| sType | back to summary |
|---|---|
| public int sType() a
| |
| sType | back to summary |
|---|---|
| public VkPipelineInputAssemblyStateCreateInfo sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkPipelineInputAssemblyStateCreateInfo sType$Default() Sets the | |
| topology | back to summary |
|---|---|
| public int topology() a
| |
| topology | back to summary |
|---|---|
| public VkPipelineInputAssemblyStateCreateInfo topology(int value) Sets the specified value to the | |
VkPipelineInputAssemblyStateCreateInfo structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkPipelineInputAssemblyStateCreateInfo |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkPipelineInputAssemblyStateCreateInfo ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| flags | back to summary |
|---|---|
public int flags()
| |
| flags | back to summary |
|---|---|
| public VkPipelineInputAssemblyStateCreateInfo. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkPipelineInputAssemblyStateCreateInfo getElementFactory() Implements abstract org.
| |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkPipelineInputAssemblyStateCreateInfo. Sets the specified value to the | |
| primitiveRestartEnable | back to summary |
|---|---|
public boolean primitiveRestartEnable()
| |
| primitiveRestartEnable | back to summary |
|---|---|
| public VkPipelineInputAssemblyStateCreateInfo. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkPipelineInputAssemblyStateCreateInfo. Implements abstract org.
| |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkPipelineInputAssemblyStateCreateInfo. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkPipelineInputAssemblyStateCreateInfo. Sets the | |
| topology | back to summary |
|---|---|
public int topology()
| |
| topology | back to summary |
|---|---|
| public VkPipelineInputAssemblyStateCreateInfo. Sets the specified value to the | |