struct spvc_reflected_builtin_resource {
SpvBuiltIn builtin;
spvc_type_id value_type_id;
spvc_reflected_resource resource;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | SpvcReflectedBuiltinResource.
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 | RESOURCE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | VALUE_TYPE_ID
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | SpvcReflectedBuiltinResource(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | builtin()
This is mostly here to support reflection of builtins such as |
| public SpvcReflectedBuiltinResource | |
| public static SpvcReflectedBuiltinResource | |
| public static SpvcReflectedBuiltinResource. | calloc(int
the buffer capacity capacity)Returns a new |
| public static SpvcReflectedBuiltinResource | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static SpvcReflectedBuiltinResource. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected SpvcReflectedBuiltinResource | 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 SpvcReflectedBuiltinResource | |
| public static SpvcReflectedBuiltinResource | create(long address)
Returns a new |
| public static SpvcReflectedBuiltinResource. | create(int
the buffer capacity capacity)Returns a new |
| public static SpvcReflectedBuiltinResource. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static SpvcReflectedBuiltinResource | |
| public static SpvcReflectedBuiltinResource. | |
| public static SpvcReflectedBuiltinResource | |
| public static SpvcReflectedBuiltinResource. | malloc(int
the buffer capacity capacity)Returns a new |
| public static SpvcReflectedBuiltinResource | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static SpvcReflectedBuiltinResource. | 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 SpvcReflectedResource | |
| public static void | |
| public static int | |
| public static void | |
| public SpvcReflectedResource | |
| public SpvcReflectedBuiltinResource | resource(SpvcReflectedResource value)
Copies the specified |
| public SpvcReflectedBuiltinResource | resource(Consumer<SpvcReflectedResource> consumer)
|
| public SpvcReflectedBuiltinResource | set(int builtin, int value_type_id, SpvcReflectedResource resource)
Initializes this struct with the specified values. |
| public SpvcReflectedBuiltinResource | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public static void | |
| public int | |
| public SpvcReflectedBuiltinResource |
| 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. | |
| RESOURCE | back to summary |
|---|---|
| public static final int RESOURCE The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| VALUE_TYPE_ID | back to summary |
|---|---|
| public static final int VALUE_TYPE_ID The struct member offsets. | |
| SpvcReflectedBuiltinResource | back to summary |
|---|---|
| protected SpvcReflectedBuiltinResource(long address, ByteBuffer container) | |
| SpvcReflectedBuiltinResource | back to summary |
|---|---|
| public SpvcReflectedBuiltinResource(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| builtin | back to summary |
|---|---|
| public int builtin() This is mostly here to support reflection of builtins such as This needs to be different from
| |
| builtin | back to summary |
|---|---|
| public SpvcReflectedBuiltinResource builtin(int value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static SpvcReflectedBuiltinResource calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static SpvcReflectedBuiltinResource. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static SpvcReflectedBuiltinResource calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static SpvcReflectedBuiltinResource. Returns a new
| |
| create | back to summary |
|---|---|
| protected SpvcReflectedBuiltinResource create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static SpvcReflectedBuiltinResource create() Returns a new | |
| create | back to summary |
|---|---|
| public static SpvcReflectedBuiltinResource create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static SpvcReflectedBuiltinResource. Returns a new
| |
| create | back to summary |
|---|---|
| public static SpvcReflectedBuiltinResource. Create a
| |
| createSafe | back to summary |
|---|---|
| public static SpvcReflectedBuiltinResource createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static SpvcReflectedBuiltinResource. Like
| |
| malloc | back to summary |
|---|---|
| public static SpvcReflectedBuiltinResource malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static SpvcReflectedBuiltinResource. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static SpvcReflectedBuiltinResource malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static SpvcReflectedBuiltinResource. 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 | |
| nresource | back to summary |
|---|---|
| public static SpvcReflectedResource nresource(long struct) Unsafe version of | |
| nresource | back to summary |
|---|---|
| public static void nresource(long struct, SpvcReflectedResource value) Unsafe version of | |
| nvalue_type_id | back to summary |
|---|---|
| public static int nvalue_type_id(long struct) Unsafe version of | |
| nvalue_type_id | back to summary |
|---|---|
| public static void nvalue_type_id(long struct, int value) Unsafe version of | |
| resource | back to summary |
|---|---|
| public SpvcReflectedResource resource() This refers to the base resource which contains the builtin. If resource is a
| |
| resource | back to summary |
|---|---|
| public SpvcReflectedBuiltinResource resource(SpvcReflectedResource value) Copies the specified | |
| resource | back to summary |
|---|---|
| public SpvcReflectedBuiltinResource resource(Consumer<SpvcReflectedResource> consumer) | |
| set | back to summary |
|---|---|
| public SpvcReflectedBuiltinResource set(int builtin, int value_type_id, SpvcReflectedResource resource) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public SpvcReflectedBuiltinResource set(SpvcReflectedBuiltinResource src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
| value_type_id | back to summary |
|---|---|
| public int value_type_id() This is the actual value type of the builtin. Typically
| |
| value_type_id | back to summary |
|---|---|
| public SpvcReflectedBuiltinResource value_type_id(int value) Sets the specified value to the | |
SpvcReflectedBuiltinResource structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final SpvcReflectedBuiltinResource |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public SpvcReflectedBuiltinResource. | |
| protected SpvcReflectedBuiltinResource | |
| public SpvcReflectedResource | |
| public SpvcReflectedBuiltinResource. | resource(SpvcReflectedResource value)
Copies the specified |
| public SpvcReflectedBuiltinResource. | resource(Consumer<SpvcReflectedResource> consumer)
Passes the |
| protected SpvcReflectedBuiltinResource. | |
| public int | |
| public SpvcReflectedBuiltinResource. | value_type_id(int value)
Sets the specified value to the |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final SpvcReflectedBuiltinResource 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 SpvcReflectedBuiltinResource. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected SpvcReflectedBuiltinResource getElementFactory() Implements abstract org.
| |
| resource | back to summary |
|---|---|
public SpvcReflectedResource resource()
| |
| resource | back to summary |
|---|---|
| public SpvcReflectedBuiltinResource. Copies the specified | |
| resource | back to summary |
|---|---|
| public SpvcReflectedBuiltinResource. Passes the | |
| self | back to summary |
|---|---|
| protected SpvcReflectedBuiltinResource. Implements abstract org.
| |
| value_type_id | back to summary |
|---|---|
public int value_type_id()
| |
| value_type_id | back to summary |
|---|---|
| public SpvcReflectedBuiltinResource. Sets the specified value to the | |