vertexBindingDescriptionCount must be less than or equal to VkPhysicalDeviceLimits::maxVertexInputBindingsvertexAttributeDescriptionCount must be less than or equal to VkPhysicalDeviceLimits::maxVertexInputAttributesbinding specified by each element of pVertexAttributeDescriptions, a VkVertexInputBindingDescription must exist in pVertexBindingDescriptions with the same value of bindingpVertexBindingDescriptions must describe distinct binding numberspVertexAttributeDescriptions must describe distinct attribute locationssType must be STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFOpNext must be NULL or a pointer to a valid instance of VkPipelineVertexInputDivisorStateCreateInfoEXTsType value of each struct in the pNext chain must be uniqueflags must be 0vertexBindingDescriptionCount is not 0, pVertexBindingDescriptions must be a valid pointer to an array of vertexBindingDescriptionCount valid VkVertexInputBindingDescription structuresvertexAttributeDescriptionCount is not 0, pVertexAttributeDescriptions must be a valid pointer to an array of vertexAttributeDescriptionCount valid VkVertexInputAttributeDescription structuresVkGraphicsPipelineCreateInfo, VkGraphicsShaderGroupCreateInfoNV, VkVertexInputAttributeDescription, VkVertexInputBindingDescription
struct VkPipelineVertexInputStateCreateInfo {
VkStructureType sType;
void const * pNext;
VkPipelineVertexInputStateCreateFlags flags;
uint32_t vertexBindingDescriptionCount;
VkVertexInputBindingDescription const * pVertexBindingDescriptions;
uint32_t vertexAttributeDescriptionCount;
VkVertexInputAttributeDescription const * pVertexAttributeDescriptions;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkPipelineVertexInputStateCreateInfo.
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 | PVERTEXATTRIBUTEDESCRIPTIONS
The struct member offsets. |
| public static final int | PVERTEXBINDINGDESCRIPTIONS
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 | VERTEXATTRIBUTEDESCRIPTIONCOUNT
The struct member offsets. |
| public static final int | VERTEXBINDINGDESCRIPTIONCOUNT
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkPipelineVertexInputStateCreateInfo(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkPipelineVertexInputStateCreateInfo | |
| public static VkPipelineVertexInputStateCreateInfo. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkPipelineVertexInputStateCreateInfo | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPipelineVertexInputStateCreateInfo. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkPipelineVertexInputStateCreateInfo | |
| public static VkPipelineVertexInputStateCreateInfo | |
| public static VkPipelineVertexInputStateCreateInfo. | |
| public static VkPipelineVertexInputStateCreateInfo. | |
| protected VkPipelineVertexInputStateCreateInfo | 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 VkPipelineVertexInputStateCreateInfo | |
| public static VkPipelineVertexInputStateCreateInfo | create(long address)
Returns a new |
| public static VkPipelineVertexInputStateCreateInfo. | create(int
the buffer capacity capacity)Returns a new |
| public static VkPipelineVertexInputStateCreateInfo. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkPipelineVertexInputStateCreateInfo | |
| public static VkPipelineVertexInputStateCreateInfo. | |
| public int | |
| public VkPipelineVertexInputStateCreateInfo | |
| public static VkPipelineVertexInputStateCreateInfo | |
| public static VkPipelineVertexInputStateCreateInfo. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkPipelineVertexInputStateCreateInfo | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPipelineVertexInputStateCreateInfo. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkPipelineVertexInputStateCreateInfo | |
| public static VkPipelineVertexInputStateCreateInfo | |
| public static VkPipelineVertexInputStateCreateInfo. | |
| public static VkPipelineVertexInputStateCreateInfo. | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static VkVertexInputAttributeDescription. | |
| public static void | npVertexAttributeDescriptions(long struct, VkVertexInputAttributeDescription.
Unsafe version of |
| public static VkVertexInputBindingDescription. | |
| public static void | npVertexBindingDescriptions(long struct, VkVertexInputBindingDescription.
Unsafe version of |
| public static int | |
| public static void | |
| public static int | |
| public static void | nvertexAttributeDescriptionCount(long struct, int value)
Sets the specified value to the |
| public static int | |
| public static void | nvertexBindingDescriptionCount(long struct, int value)
Sets the specified value to the |
| public long | |
| public VkPipelineVertexInputStateCreateInfo | |
| public VkPipelineVertexInputStateCreateInfo | pNext(VkPipelineVertexInputDivisorStateCreateInfoEXT value)
Prepends the specified |
| public VkVertexInputAttributeDescription. | pVertexAttributeDescriptions()
a pointer to an array of |
| public VkPipelineVertexInputStateCreateInfo | pVertexAttributeDescriptions(VkVertexInputAttributeDescription.
Sets the address of the specified |
| public VkVertexInputBindingDescription. | |
| public VkPipelineVertexInputStateCreateInfo | pVertexBindingDescriptions(VkVertexInputBindingDescription.
Sets the address of the specified |
| public VkPipelineVertexInputStateCreateInfo | set(int sType, long pNext, int flags, VkVertexInputBindingDescription.
Initializes this struct with the specified values. |
| public VkPipelineVertexInputStateCreateInfo | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkPipelineVertexInputStateCreateInfo | |
| public VkPipelineVertexInputStateCreateInfo | sType$Default()
Sets the |
| public static void | |
| public int | vertexAttributeDescriptionCount()
the number of vertex attribute descriptions provided in |
| public int | vertexBindingDescriptionCount()
the number of vertex binding descriptions provided in |