location must be less than VkPhysicalDeviceLimits::maxVertexInputAttributesbinding must be less than VkPhysicalDeviceLimits::maxVertexInputBindingsoffset must be less than or equal to VkPhysicalDeviceLimits::maxVertexInputAttributeOffsetformat must contain FORMAT_FEATURE_VERTEX_BUFFER_BITVK_KHR_portability_subset extension is enabled, and VkPhysicalDevicePortabilitySubsetFeaturesKHR::vertexAttributeAccessBeyondStride is FALSE, the sum of offset plus the size of the vertex attribute data described by format must not be greater than stride in the VkVertexInputBindingDescription2EXT referenced in bindingsType must be STRUCTURE_TYPE_VERTEX_INPUT_ATTRIBUTE_DESCRIPTION_2_EXTformat must be a valid VkFormat value
struct VkVertexInputAttributeDescription2EXT {
VkStructureType sType;
void * pNext;
uint32_t location;
uint32_t binding;
VkFormat format;
uint32_t offset;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkVertexInputAttributeDescription2EXT.
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 | FORMAT
The struct member offsets. |
| public static final int | LOCATION
The struct member offsets. |
| public static final int | OFFSET
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. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkVertexInputAttributeDescription2EXT(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public VkVertexInputAttributeDescription2EXT | |
| public static VkVertexInputAttributeDescription2EXT | |
| public static VkVertexInputAttributeDescription2EXT. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkVertexInputAttributeDescription2EXT | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkVertexInputAttributeDescription2EXT. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkVertexInputAttributeDescription2EXT | 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 VkVertexInputAttributeDescription2EXT | |
| public static VkVertexInputAttributeDescription2EXT | create(long address)
Returns a new |
| public static VkVertexInputAttributeDescription2EXT. | create(int
the buffer capacity capacity)Returns a new |
| public static VkVertexInputAttributeDescription2EXT. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkVertexInputAttributeDescription2EXT | |
| public static VkVertexInputAttributeDescription2EXT. | |
| public int | |
| public VkVertexInputAttributeDescription2EXT | |
| public int | |
| public VkVertexInputAttributeDescription2EXT | |
| public static VkVertexInputAttributeDescription2EXT | |
| public static VkVertexInputAttributeDescription2EXT. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkVertexInputAttributeDescription2EXT | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkVertexInputAttributeDescription2EXT. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public int | offset()
a byte offset of this attribute relative to the start of an element in the vertex input binding. |
| public VkVertexInputAttributeDescription2EXT | |
| public long | |
| public VkVertexInputAttributeDescription2EXT | |
| public VkVertexInputAttributeDescription2EXT | set(int sType, long pNext, int location, int binding, int format, int offset)
Initializes this struct with the specified values. |
| public VkVertexInputAttributeDescription2EXT | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkVertexInputAttributeDescription2EXT | |
| public VkVertexInputAttributeDescription2EXT | sType$Default()
Sets the |
| 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. | |
| FORMAT | back to summary |
|---|---|
| public static final int FORMAT The struct member offsets. | |
| LOCATION | back to summary |
|---|---|
| public static final int LOCATION The struct member offsets. | |
| OFFSET | back to summary |
|---|---|
| public static final int OFFSET The struct member offsets. | |
| PNEXT | back to summary |
|---|---|
| public static final int PNEXT 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. | |
| VkVertexInputAttributeDescription2EXT | back to summary |
|---|---|
| protected VkVertexInputAttributeDescription2EXT(long address, ByteBuffer container) | |
| VkVertexInputAttributeDescription2EXT | back to summary |
|---|---|
| public VkVertexInputAttributeDescription2EXT(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 which this attribute takes its data from.
| |
| binding | back to summary |
|---|---|
| public VkVertexInputAttributeDescription2EXT binding(int value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static VkVertexInputAttributeDescription2EXT calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkVertexInputAttributeDescription2EXT. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkVertexInputAttributeDescription2EXT calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkVertexInputAttributeDescription2EXT. Returns a new
| |
| create | back to summary |
|---|---|
| protected VkVertexInputAttributeDescription2EXT create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkVertexInputAttributeDescription2EXT create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkVertexInputAttributeDescription2EXT create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkVertexInputAttributeDescription2EXT. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkVertexInputAttributeDescription2EXT. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkVertexInputAttributeDescription2EXT createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkVertexInputAttributeDescription2EXT. Like
| |
| format | back to summary |
|---|---|
| public int format() the size and type of the vertex attribute data.
| |
| format | back to summary |
|---|---|
| public VkVertexInputAttributeDescription2EXT format(int value) Sets the specified value to the | |
| location | back to summary |
|---|---|
| public int location() the shader input location number for this attribute.
| |
| location | back to summary |
|---|---|
| public VkVertexInputAttributeDescription2EXT location(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static VkVertexInputAttributeDescription2EXT malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkVertexInputAttributeDescription2EXT. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkVertexInputAttributeDescription2EXT malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkVertexInputAttributeDescription2EXT. Returns a new
| |
| 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 | |
| nformat | back to summary |
|---|---|
| public static int nformat(long struct) Unsafe version of | |
| nformat | back to summary |
|---|---|
| public static void nformat(long struct, int value) Unsafe version of | |
| nlocation | back to summary |
|---|---|
| public static int nlocation(long struct) Unsafe version of | |
| nlocation | back to summary |
|---|---|
| public static void nlocation(long struct, int value) Unsafe version of | |
| noffset | back to summary |
|---|---|
| public static int noffset(long struct) Unsafe version of | |
| noffset | back to summary |
|---|---|
| public static void noffset(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 | |
| 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 | |
| offset | back to summary |
|---|---|
| public int offset() a byte offset of this attribute relative to the start of an element in the vertex input binding.
| |
| offset | back to summary |
|---|---|
| public VkVertexInputAttributeDescription2EXT offset(int value) Sets the specified value to the | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkVertexInputAttributeDescription2EXT pNext(long value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkVertexInputAttributeDescription2EXT set(int sType, long pNext, int location, int binding, int format, int offset) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkVertexInputAttributeDescription2EXT set(VkVertexInputAttributeDescription2EXT 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 VkVertexInputAttributeDescription2EXT sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkVertexInputAttributeDescription2EXT sType$Default() Sets the | |
VkVertexInputAttributeDescription2EXT structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkVertexInputAttributeDescription2EXT |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkVertexInputAttributeDescription2EXT 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 VkVertexInputAttributeDescription2EXT. Sets the specified value to the | |
| format | back to summary |
|---|---|
public int format()
| |
| format | back to summary |
|---|---|
| public VkVertexInputAttributeDescription2EXT. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkVertexInputAttributeDescription2EXT getElementFactory() Implements abstract org.
| |
| location | back to summary |
|---|---|
public int location()
| |
| location | back to summary |
|---|---|
| public VkVertexInputAttributeDescription2EXT. Sets the specified value to the | |
| offset | back to summary |
|---|---|
public int offset()
| |
| offset | back to summary |
|---|---|
| public VkVertexInputAttributeDescription2EXT. Sets the specified value to the | |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkVertexInputAttributeDescription2EXT. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkVertexInputAttributeDescription2EXT. Implements abstract org.
| |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkVertexInputAttributeDescription2EXT. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkVertexInputAttributeDescription2EXT. Sets the | |