binding must be less than VkPhysicalDeviceLimits::maxVertexInputBindingsstride must be less than or equal to VkPhysicalDeviceLimits::maxVertexInputBindingStrideVK_KHR_portability_subset extension is enabled, stride must be a multiple of, and at least as large as, VkPhysicalDevicePortabilitySubsetPropertiesKHR::minVertexInputBindingStrideAlignmentinputRate must be a valid VkVertexInputRate valueVkPipelineVertexInputStateCreateInfo
struct VkVertexInputBindingDescription {
uint32_t binding;
uint32_t stride;
VkVertexInputRate inputRate;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkVertexInputBindingDescription.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BINDING
The struct member offsets. |
| public static final int | INPUTRATE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STRIDE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkVertexInputBindingDescription(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public VkVertexInputBindingDescription | |
| public static VkVertexInputBindingDescription | |
| public static VkVertexInputBindingDescription. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkVertexInputBindingDescription | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkVertexInputBindingDescription. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkVertexInputBindingDescription | |
| public static VkVertexInputBindingDescription | |
| public static VkVertexInputBindingDescription. | |
| public static VkVertexInputBindingDescription. | |
| protected VkVertexInputBindingDescription | 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 VkVertexInputBindingDescription | |
| public static VkVertexInputBindingDescription | create(long address)
Returns a new |
| public static VkVertexInputBindingDescription. | create(int
the buffer capacity capacity)Returns a new |
| public static VkVertexInputBindingDescription. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkVertexInputBindingDescription | |
| public static VkVertexInputBindingDescription. | |
| public int | inputRate()
a |
| public VkVertexInputBindingDescription | |
| public static VkVertexInputBindingDescription | |
| public static VkVertexInputBindingDescription. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkVertexInputBindingDescription | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkVertexInputBindingDescription. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkVertexInputBindingDescription | |
| public static VkVertexInputBindingDescription | |
| public static VkVertexInputBindingDescription. | |
| public static VkVertexInputBindingDescription. | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public VkVertexInputBindingDescription | |
| public VkVertexInputBindingDescription | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkVertexInputBindingDescription |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| BINDING | back to summary |
|---|---|
| public static final int BINDING The struct member offsets. | |
| INPUTRATE | back to summary |
|---|---|
| public static final int INPUTRATE The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| STRIDE | back to summary |
|---|---|
| public static final int STRIDE The struct member offsets. | |
| VkVertexInputBindingDescription | back to summary |
|---|---|
| protected VkVertexInputBindingDescription(long address, ByteBuffer container) | |
| VkVertexInputBindingDescription | back to summary |
|---|---|
| public VkVertexInputBindingDescription(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| binding | back to summary |
|---|---|
| public int binding() the binding number that this structure describes.
| |
| binding | back to summary |
|---|---|
| public VkVertexInputBindingDescription binding(int value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static VkVertexInputBindingDescription calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkVertexInputBindingDescription. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkVertexInputBindingDescription calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkVertexInputBindingDescription. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static VkVertexInputBindingDescription callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkVertexInputBindingDescription callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkVertexInputBindingDescription. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkVertexInputBindingDescription. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected VkVertexInputBindingDescription create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkVertexInputBindingDescription create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkVertexInputBindingDescription create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkVertexInputBindingDescription. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkVertexInputBindingDescription. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkVertexInputBindingDescription createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkVertexInputBindingDescription. Like
| |
| inputRate | back to summary |
|---|---|
| public int inputRate() a
| |
| inputRate | back to summary |
|---|---|
| public VkVertexInputBindingDescription inputRate(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static VkVertexInputBindingDescription malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkVertexInputBindingDescription. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkVertexInputBindingDescription malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkVertexInputBindingDescription. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static VkVertexInputBindingDescription mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkVertexInputBindingDescription mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkVertexInputBindingDescription. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkVertexInputBindingDescription. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| nbinding | back to summary |
|---|---|
| public static int nbinding(long struct) Unsafe version of | |
| nbinding | back to summary |
|---|---|
| public static void nbinding(long struct, int value) Unsafe version of | |
| ninputRate | back to summary |
|---|---|
| public static int ninputRate(long struct) Unsafe version of | |
| ninputRate | back to summary |
|---|---|
| public static void ninputRate(long struct, int value) Unsafe version of | |
| nstride | back to summary |
|---|---|
| public static int nstride(long struct) Unsafe version of | |
| nstride | back to summary |
|---|---|
| public static void nstride(long struct, int value) Unsafe version of | |
| set | back to summary |
|---|---|
| public VkVertexInputBindingDescription set(int binding, int stride, int inputRate) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkVertexInputBindingDescription set(VkVertexInputBindingDescription src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| stride | back to summary |
|---|---|
| public int stride() the byte stride between consecutive elements within the buffer.
| |
| stride | back to summary |
|---|---|
| public VkVertexInputBindingDescription stride(int value) Sets the specified value to the | |
VkVertexInputBindingDescription structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkVertexInputBindingDescription |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public VkVertexInputBindingDescription. | |
| protected VkVertexInputBindingDescription | |
| public int | |
| public VkVertexInputBindingDescription. | inputRate(int value)
Sets the specified value to the |
| protected VkVertexInputBindingDescription. | |
| public int | |
| public VkVertexInputBindingDescription. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkVertexInputBindingDescription 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) | |
| binding | back to summary |
|---|---|
public int binding()
| |
| binding | back to summary |
|---|---|
| public VkVertexInputBindingDescription. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkVertexInputBindingDescription getElementFactory() Implements abstract org.
| |
| inputRate | back to summary |
|---|---|
public int inputRate()
| |
| inputRate | back to summary |
|---|---|
| public VkVertexInputBindingDescription. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkVertexInputBindingDescription. Implements abstract org.
| |
| stride | back to summary |
|---|---|
public int stride()
| |
| stride | back to summary |
|---|---|
| public VkVertexInputBindingDescription. Sets the specified value to the | |