After compilation, it is possible to query whether or not this location was used.
Deprecated; use SpvcMslShaderInterfaceVar.
struct spvc_msl_vertex_attribute {
unsigned int location;
unsigned int msl_buffer;
unsigned int msl_offset;
unsigned int msl_stride;
spvc_bool per_instance;
spvc_msl_vertex_format format;
SpvBuiltIn builtin;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | SpvcMslVertexAttribute.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BUILTIN
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 | MSL_BUFFER
The struct member offsets. |
| public static final int | MSL_OFFSET
The struct member offsets. |
| public static final int | MSL_STRIDE
The struct member offsets. |
| public static final int | PER_INSTANCE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | SpvcMslVertexAttribute(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public SpvcMslVertexAttribute | |
| public static SpvcMslVertexAttribute | |
| public static SpvcMslVertexAttribute. | calloc(int
the buffer capacity capacity)Returns a new |
| public static SpvcMslVertexAttribute | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static SpvcMslVertexAttribute. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected SpvcMslVertexAttribute | 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 SpvcMslVertexAttribute | |
| public static SpvcMslVertexAttribute | |
| public static SpvcMslVertexAttribute. | create(int
the buffer capacity capacity)Returns a new |
| public static SpvcMslVertexAttribute. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static SpvcMslVertexAttribute | |
| public static SpvcMslVertexAttribute. | |
| public int | |
| public SpvcMslVertexAttribute | |
| public int | |
| public SpvcMslVertexAttribute | |
| public static SpvcMslVertexAttribute | |
| public static SpvcMslVertexAttribute. | malloc(int
the buffer capacity capacity)Returns a new |
| public static SpvcMslVertexAttribute | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static SpvcMslVertexAttribute. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public int | |
| public SpvcMslVertexAttribute | |
| public int | |
| public SpvcMslVertexAttribute | |
| public int | |
| public SpvcMslVertexAttribute | |
| 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 int | |
| public static void | |
| public static int | |
| public static void | |
| public static boolean | |
| public static void | |
| public boolean | |
| public SpvcMslVertexAttribute | |
| public SpvcMslVertexAttribute | set(int location, int msl_buffer, int msl_offset, int msl_stride, boolean per_instance, int format, int builtin)
Initializes this struct with the specified values. |
| public SpvcMslVertexAttribute | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| BUILTIN | back to summary |
|---|---|
| public static final int BUILTIN 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. | |
| MSL_BUFFER | back to summary |
|---|---|
| public static final int MSL_BUFFER The struct member offsets. | |
| MSL_OFFSET | back to summary |
|---|---|
| public static final int MSL_OFFSET The struct member offsets. | |
| MSL_STRIDE | back to summary |
|---|---|
| public static final int MSL_STRIDE The struct member offsets. | |
| PER_INSTANCE | back to summary |
|---|---|
| public static final int PER_INSTANCE The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| SpvcMslVertexAttribute | back to summary |
|---|---|
| protected SpvcMslVertexAttribute(long address, ByteBuffer container) | |
| SpvcMslVertexAttribute | back to summary |
|---|---|
| public SpvcMslVertexAttribute(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| builtin | back to summary |
|---|---|
public int builtin()
| |
| builtin | back to summary |
|---|---|
| public SpvcMslVertexAttribute builtin(int value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static SpvcMslVertexAttribute calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static SpvcMslVertexAttribute. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static SpvcMslVertexAttribute calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static SpvcMslVertexAttribute. Returns a new
| |
| create | back to summary |
|---|---|
| protected SpvcMslVertexAttribute create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static SpvcMslVertexAttribute create() Returns a new | |
| create | back to summary |
|---|---|
| public static SpvcMslVertexAttribute create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static SpvcMslVertexAttribute. Returns a new
| |
| create | back to summary |
|---|---|
| public static SpvcMslVertexAttribute. Create a
| |
| createSafe | back to summary |
|---|---|
| public static SpvcMslVertexAttribute createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static SpvcMslVertexAttribute. Like
| |
| format | back to summary |
|---|---|
public int format()
| |
| format | back to summary |
|---|---|
| public SpvcMslVertexAttribute format(int value) Sets the specified value to the | |
| location | back to summary |
|---|---|
public int location()
| |
| location | back to summary |
|---|---|
| public SpvcMslVertexAttribute location(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static SpvcMslVertexAttribute malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static SpvcMslVertexAttribute. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static SpvcMslVertexAttribute malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static SpvcMslVertexAttribute. Returns a new
| |
| msl_buffer | back to summary |
|---|---|
| public int msl_buffer() Obsolete, do not use. Only lingers on for ABI compatibility.
| |
| msl_buffer | back to summary |
|---|---|
| public SpvcMslVertexAttribute msl_buffer(int value) Sets the specified value to the | |
| msl_offset | back to summary |
|---|---|
| public int msl_offset() Obsolete, do not use. Only lingers on for ABI compatibility.
| |
| msl_offset | back to summary |
|---|---|
| public SpvcMslVertexAttribute msl_offset(int value) Sets the specified value to the | |
| msl_stride | back to summary |
|---|---|
| public int msl_stride() Obsolete, do not use. Only lingers on for ABI compatibility.
| |
| msl_stride | back to summary |
|---|---|
| public SpvcMslVertexAttribute msl_stride(int value) Sets the specified value to the | |
| nbuiltin | back to summary |
|---|---|
| public static int nbuiltin(long struct) Unsafe version of | |
| nbuiltin | back to summary |
|---|---|
| public static void nbuiltin(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 | |
| nmsl_buffer | back to summary |
|---|---|
| public static int nmsl_buffer(long struct) Unsafe version of | |
| nmsl_buffer | back to summary |
|---|---|
| public static void nmsl_buffer(long struct, int value) Unsafe version of | |
| nmsl_offset | back to summary |
|---|---|
| public static int nmsl_offset(long struct) Unsafe version of | |
| nmsl_offset | back to summary |
|---|---|
| public static void nmsl_offset(long struct, int value) Unsafe version of | |
| nmsl_stride | back to summary |
|---|---|
| public static int nmsl_stride(long struct) Unsafe version of | |
| nmsl_stride | back to summary |
|---|---|
| public static void nmsl_stride(long struct, int value) Unsafe version of | |
| nper_instance | back to summary |
|---|---|
| public static boolean nper_instance(long struct) Unsafe version of | |
| nper_instance | back to summary |
|---|---|
| public static void nper_instance(long struct, boolean value) Unsafe version of | |
| per_instance | back to summary |
|---|---|
| public boolean per_instance() Obsolete, do not use. Only lingers on for ABI compatibility.
| |
| per_instance | back to summary |
|---|---|
| public SpvcMslVertexAttribute per_instance(boolean value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public SpvcMslVertexAttribute set(int location, int msl_buffer, int msl_offset, int msl_stride, boolean per_instance, int format, int builtin) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public SpvcMslVertexAttribute set(SpvcMslVertexAttribute src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
SpvcMslVertexAttribute structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final SpvcMslVertexAttribute |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public SpvcMslVertexAttribute. | |
| public int | |
| public SpvcMslVertexAttribute. | |
| protected SpvcMslVertexAttribute | |
| public int | |
| public SpvcMslVertexAttribute. | |
| public int | |
| public SpvcMslVertexAttribute. | |
| public int | |
| public SpvcMslVertexAttribute. | |
| public int | |
| public SpvcMslVertexAttribute. | |
| public boolean | |
| public SpvcMslVertexAttribute. | per_instance(boolean value)
Sets the specified value to the |
| protected SpvcMslVertexAttribute. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final SpvcMslVertexAttribute 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) | |
| builtin | back to summary |
|---|---|
public int builtin()
| |
| builtin | back to summary |
|---|---|
| public SpvcMslVertexAttribute. Sets the specified value to the | |
| format | back to summary |
|---|---|
public int format()
| |
| format | back to summary |
|---|---|
| public SpvcMslVertexAttribute. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected SpvcMslVertexAttribute getElementFactory() Implements abstract org.
| |
| location | back to summary |
|---|---|
public int location()
| |
| location | back to summary |
|---|---|
| public SpvcMslVertexAttribute. Sets the specified value to the | |
| msl_buffer | back to summary |
|---|---|
public int msl_buffer()
| |
| msl_buffer | back to summary |
|---|---|
| public SpvcMslVertexAttribute. Sets the specified value to the | |
| msl_offset | back to summary |
|---|---|
public int msl_offset()
| |
| msl_offset | back to summary |
|---|---|
| public SpvcMslVertexAttribute. Sets the specified value to the | |
| msl_stride | back to summary |
|---|---|
public int msl_stride()
| |
| msl_stride | back to summary |
|---|---|
| public SpvcMslVertexAttribute. Sets the specified value to the | |
| per_instance | back to summary |
|---|---|
public boolean per_instance()
| |
| per_instance | back to summary |
|---|---|
| public SpvcMslVertexAttribute. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected SpvcMslVertexAttribute. Implements abstract org.
| |