struct spvc_reflected_resource {
spvc_variable_id id;
spvc_type_id base_type_id;
spvc_type_id type_id;
char const * name;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | SpvcReflectedResource.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BASE_TYPE_ID
The struct member offsets. |
| public static final int | ID
The struct member offsets. |
| public static final int | NAME
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | TYPE_ID
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | SpvcReflectedResource(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public SpvcReflectedResource | |
| public static SpvcReflectedResource | |
| public static SpvcReflectedResource. | calloc(int
the buffer capacity capacity)Returns a new |
| public static SpvcReflectedResource | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static SpvcReflectedResource. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected SpvcReflectedResource | 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 SpvcReflectedResource | |
| public static SpvcReflectedResource | |
| public static SpvcReflectedResource. | create(int
the buffer capacity capacity)Returns a new |
| public static SpvcReflectedResource. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static SpvcReflectedResource | |
| public static SpvcReflectedResource. | |
| public int | |
| public SpvcReflectedResource | |
| public static SpvcReflectedResource | |
| public static SpvcReflectedResource. | malloc(int
the buffer capacity capacity)Returns a new |
| public static SpvcReflectedResource | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static SpvcReflectedResource. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public ByteBuffer | |
| public SpvcReflectedResource | |
| public String | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static ByteBuffer | |
| public static void | |
| public static String | |
| public static int | |
| public static void | |
| public SpvcReflectedResource | set(int id, int base_type_id, int type_id, ByteBuffer name)
Initializes this struct with the specified values. |
| public SpvcReflectedResource | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public SpvcReflectedResource | |
| public static void |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| BASE_TYPE_ID | back to summary |
|---|---|
| public static final int BASE_TYPE_ID The struct member offsets. | |
| ID | back to summary |
|---|---|
| public static final int ID The struct member offsets. | |
| NAME | back to summary |
|---|---|
| public static final int NAME The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| TYPE_ID | back to summary |
|---|---|
| public static final int TYPE_ID The struct member offsets. | |
| SpvcReflectedResource | back to summary |
|---|---|
| protected SpvcReflectedResource(long address, ByteBuffer container) | |
| SpvcReflectedResource | back to summary |
|---|---|
| public SpvcReflectedResource(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| base_type_id | back to summary |
|---|---|
| public int base_type_id() The base type of the declared resource. This type is the base type which ignores pointers and arrays of the
| |
| base_type_id | back to summary |
|---|---|
| public SpvcReflectedResource base_type_id(int value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static SpvcReflectedResource calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static SpvcReflectedResource. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static SpvcReflectedResource calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static SpvcReflectedResource. Returns a new
| |
| create | back to summary |
|---|---|
| protected SpvcReflectedResource create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static SpvcReflectedResource create() Returns a new | |
| create | back to summary |
|---|---|
| public static SpvcReflectedResource create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static SpvcReflectedResource. Returns a new
| |
| create | back to summary |
|---|---|
| public static SpvcReflectedResource. Create a
| |
| createSafe | back to summary |
|---|---|
| public static SpvcReflectedResource createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static SpvcReflectedResource. Like
| |
| id | back to summary |
|---|---|
| public int id() Resources are identified with their SPIR-V ID. This is the ID of the OpVariable.
| |
| id | back to summary |
|---|---|
| public SpvcReflectedResource id(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static SpvcReflectedResource malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static SpvcReflectedResource. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static SpvcReflectedResource malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static SpvcReflectedResource. Returns a new
| |
| name | back to summary |
|---|---|
| public ByteBuffer name() The declared name ( For Buffer blocks, the name actually reflects the externally visible
| |
| name | back to summary |
|---|---|
| public SpvcReflectedResource name(ByteBuffer value) Sets the address of the specified encoded string to the | |
| nameString | back to summary |
|---|---|
| public String nameString() The declared name ( For Buffer blocks, the name actually reflects the externally visible
| |
| nbase_type_id | back to summary |
|---|---|
| public static int nbase_type_id(long struct) Unsafe version of | |
| nbase_type_id | back to summary |
|---|---|
| public static void nbase_type_id(long struct, int value) Unsafe version of | |
| nid | back to summary |
|---|---|
| public static int nid(long struct) Unsafe version of | |
| nid | back to summary |
|---|---|
| public static void nid(long struct, int value) Unsafe version of | |
| nname | back to summary |
|---|---|
| public static ByteBuffer nname(long struct) Unsafe version of | |
| nname | back to summary |
|---|---|
| public static void nname(long struct, ByteBuffer value) Unsafe version of | |
| nnameString | back to summary |
|---|---|
| public static String nnameString(long struct) Unsafe version of | |
| ntype_id | back to summary |
|---|---|
| public static int ntype_id(long struct) Unsafe version of | |
| ntype_id | back to summary |
|---|---|
| public static void ntype_id(long struct, int value) Unsafe version of | |
| set | back to summary |
|---|---|
| public SpvcReflectedResource set(int id, int base_type_id, int type_id, ByteBuffer name) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public SpvcReflectedResource set(SpvcReflectedResource src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| type_id | back to summary |
|---|---|
| public int type_id() The type ID of the variable which includes arrays and all type modifications. This type ID is not suitable for parsing
| |
| type_id | back to summary |
|---|---|
| public SpvcReflectedResource type_id(int value) Sets the specified value to the | |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
SpvcReflectedResource structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final SpvcReflectedResource |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public SpvcReflectedResource. | |
| protected SpvcReflectedResource | |
| public int | |
| public SpvcReflectedResource. | |
| public ByteBuffer | Returns: aByteBuffer view of the null-terminated string pointed to by the SpvcReflectedResource#name field.
|
| public SpvcReflectedResource. | name(ByteBuffer value)
Sets the address of the specified encoded string to the |
| public String | |
| protected SpvcReflectedResource. | |
| public int | |
| public SpvcReflectedResource. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final SpvcReflectedResource 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) | |
| base_type_id | back to summary |
|---|---|
public int base_type_id()
| |
| base_type_id | back to summary |
|---|---|
| public SpvcReflectedResource. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected SpvcReflectedResource getElementFactory() Implements abstract org.
| |
| id | back to summary |
|---|---|
public int id()
| |
| id | back to summary |
|---|---|
| public SpvcReflectedResource. Sets the specified value to the | |
| name | back to summary |
|---|---|
public ByteBuffer name()
| |
| name | back to summary |
|---|---|
| public SpvcReflectedResource. Sets the address of the specified encoded string to the | |
| nameString | back to summary |
|---|---|
public String nameString()
| |
| self | back to summary |
|---|---|
| protected SpvcReflectedResource. Implements abstract org.
| |
| type_id | back to summary |
|---|---|
public int type_id()
| |
| type_id | back to summary |
|---|---|
| public SpvcReflectedResource. Sets the specified value to the | |