After compilation, it is possible to query whether or not this location was used. If vecsize is nonzero, it must be greater than or equal to
the vecsize declared in the shader, or behavior is undefined.
Deprecated; use spvc_msl_shader_interface_var_2.
struct spvc_msl_shader_interface_var {
unsigned location;
spvc_msl_vertex_format format;
SpvBuiltIn builtin;
unsigned vecsize;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | SpvcMslShaderInterfaceVar.
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 | SIZEOF
The struct size in bytes. |
| public static final int | VECSIZE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | SpvcMslShaderInterfaceVar(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public SpvcMslShaderInterfaceVar | |
| public static SpvcMslShaderInterfaceVar | |
| public static SpvcMslShaderInterfaceVar. | calloc(int
the buffer capacity capacity)Returns a new |
| public static SpvcMslShaderInterfaceVar | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static SpvcMslShaderInterfaceVar. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected SpvcMslShaderInterfaceVar | 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 SpvcMslShaderInterfaceVar | |
| public static SpvcMslShaderInterfaceVar | create(long address)
Returns a new |
| public static SpvcMslShaderInterfaceVar. | create(int
the buffer capacity capacity)Returns a new |
| public static SpvcMslShaderInterfaceVar. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static SpvcMslShaderInterfaceVar | |
| public static SpvcMslShaderInterfaceVar. | |
| public int | |
| public SpvcMslShaderInterfaceVar | |
| public int | |
| public SpvcMslShaderInterfaceVar | |
| public static SpvcMslShaderInterfaceVar | |
| public static SpvcMslShaderInterfaceVar. | malloc(int
the buffer capacity capacity)Returns a new |
| public static SpvcMslShaderInterfaceVar | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static SpvcMslShaderInterfaceVar. | 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 SpvcMslShaderInterfaceVar | set(int location, int format, int builtin, int vecsize)
Initializes this struct with the specified values. |
| public SpvcMslShaderInterfaceVar | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public SpvcMslShaderInterfaceVar |
| 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. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| VECSIZE | back to summary |
|---|---|
| public static final int VECSIZE The struct member offsets. | |
| SpvcMslShaderInterfaceVar | back to summary |
|---|---|
| protected SpvcMslShaderInterfaceVar(long address, ByteBuffer container) | |
| SpvcMslShaderInterfaceVar | back to summary |
|---|---|
| public SpvcMslShaderInterfaceVar(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 SpvcMslShaderInterfaceVar builtin(int value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static SpvcMslShaderInterfaceVar calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static SpvcMslShaderInterfaceVar. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static SpvcMslShaderInterfaceVar calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static SpvcMslShaderInterfaceVar. Returns a new
| |
| create | back to summary |
|---|---|
| protected SpvcMslShaderInterfaceVar create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static SpvcMslShaderInterfaceVar create() Returns a new | |
| create | back to summary |
|---|---|
| public static SpvcMslShaderInterfaceVar create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static SpvcMslShaderInterfaceVar. Returns a new
| |
| create | back to summary |
|---|---|
| public static SpvcMslShaderInterfaceVar. Create a
| |
| createSafe | back to summary |
|---|---|
| public static SpvcMslShaderInterfaceVar createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static SpvcMslShaderInterfaceVar. Like
| |
| format | back to summary |
|---|---|
public int format()
| |
| format | back to summary |
|---|---|
| public SpvcMslShaderInterfaceVar format(int value) Sets the specified value to the | |
| location | back to summary |
|---|---|
public int location()
| |
| location | back to summary |
|---|---|
| public SpvcMslShaderInterfaceVar location(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static SpvcMslShaderInterfaceVar malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static SpvcMslShaderInterfaceVar. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static SpvcMslShaderInterfaceVar malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static SpvcMslShaderInterfaceVar. Returns a new
| |
| 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 | |
| nvecsize | back to summary |
|---|---|
| public static int nvecsize(long struct) Unsafe version of | |
| nvecsize | back to summary |
|---|---|
| public static void nvecsize(long struct, int value) Unsafe version of | |
| set | back to summary |
|---|---|
| public SpvcMslShaderInterfaceVar set(int location, int format, int builtin, int vecsize) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public SpvcMslShaderInterfaceVar set(SpvcMslShaderInterfaceVar src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| vecsize | back to summary |
|---|---|
public int vecsize()
| |
| vecsize | back to summary |
|---|---|
| public SpvcMslShaderInterfaceVar vecsize(int value) Sets the specified value to the | |
SpvcMslShaderInterfaceVar structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final SpvcMslShaderInterfaceVar |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public SpvcMslShaderInterfaceVar. | |
| public int | |
| public SpvcMslShaderInterfaceVar. | |
| protected SpvcMslShaderInterfaceVar | |
| public int | |
| public SpvcMslShaderInterfaceVar. | |
| protected SpvcMslShaderInterfaceVar. | |
| public int | |
| public SpvcMslShaderInterfaceVar. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final SpvcMslShaderInterfaceVar 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 SpvcMslShaderInterfaceVar. Sets the specified value to the | |
| format | back to summary |
|---|---|
public int format()
| |
| format | back to summary |
|---|---|
| public SpvcMslShaderInterfaceVar. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected SpvcMslShaderInterfaceVar getElementFactory() Implements abstract org.
| |
| location | back to summary |
|---|---|
public int location()
| |
| location | back to summary |
|---|---|
| public SpvcMslShaderInterfaceVar. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected SpvcMslShaderInterfaceVar. Implements abstract org.
| |
| vecsize | back to summary |
|---|---|
public int vecsize()
| |
| vecsize | back to summary |
|---|---|
| public SpvcMslShaderInterfaceVar. Sets the specified value to the | |