start and end denotes the range of the root constant in bytes. Both values need to be multiple of 4.
struct spvc_hlsl_root_constants {
unsigned int start;
unsigned int end;
unsigned int binding;
unsigned int space;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | SpvcHlslRootConstants.
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 | END
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | SPACE
The struct member offsets. |
| public static final int | START
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | SpvcHlslRootConstants(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public SpvcHlslRootConstants | |
| public static SpvcHlslRootConstants | |
| public static SpvcHlslRootConstants. | calloc(int
the buffer capacity capacity)Returns a new |
| public static SpvcHlslRootConstants | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static SpvcHlslRootConstants. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected SpvcHlslRootConstants | 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 SpvcHlslRootConstants | |
| public static SpvcHlslRootConstants | |
| public static SpvcHlslRootConstants. | create(int
the buffer capacity capacity)Returns a new |
| public static SpvcHlslRootConstants. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static SpvcHlslRootConstants | |
| public static SpvcHlslRootConstants. | |
| public int | |
| public SpvcHlslRootConstants | |
| public static SpvcHlslRootConstants | |
| public static SpvcHlslRootConstants. | malloc(int
the buffer capacity capacity)Returns a new |
| public static SpvcHlslRootConstants | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static SpvcHlslRootConstants. | 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 SpvcHlslRootConstants | |
| public SpvcHlslRootConstants | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public SpvcHlslRootConstants | |
| public int | |
| public SpvcHlslRootConstants |
| 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. | |
| END | back to summary |
|---|---|
| public static final int END The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| SPACE | back to summary |
|---|---|
| public static final int SPACE The struct member offsets. | |
| START | back to summary |
|---|---|
| public static final int START The struct member offsets. | |
| SpvcHlslRootConstants | back to summary |
|---|---|
| protected SpvcHlslRootConstants(long address, ByteBuffer container) | |
| SpvcHlslRootConstants | back to summary |
|---|---|
| public SpvcHlslRootConstants(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| binding | back to summary |
|---|---|
public int binding()
| |
| binding | back to summary |
|---|---|
| public SpvcHlslRootConstants binding(int value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static SpvcHlslRootConstants calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static SpvcHlslRootConstants. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static SpvcHlslRootConstants calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static SpvcHlslRootConstants. Returns a new
| |
| create | back to summary |
|---|---|
| protected SpvcHlslRootConstants create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static SpvcHlslRootConstants create() Returns a new | |
| create | back to summary |
|---|---|
| public static SpvcHlslRootConstants create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static SpvcHlslRootConstants. Returns a new
| |
| create | back to summary |
|---|---|
| public static SpvcHlslRootConstants. Create a
| |
| createSafe | back to summary |
|---|---|
| public static SpvcHlslRootConstants createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static SpvcHlslRootConstants. Like
| |
| end | back to summary |
|---|---|
public int end()
| |
| end | back to summary |
|---|---|
| public SpvcHlslRootConstants end(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static SpvcHlslRootConstants malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static SpvcHlslRootConstants. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static SpvcHlslRootConstants malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static SpvcHlslRootConstants. 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 | |
| nend | back to summary |
|---|---|
| public static int nend(long struct) Unsafe version of | |
| nend | back to summary |
|---|---|
| public static void nend(long struct, int value) Unsafe version of | |
| nspace | back to summary |
|---|---|
| public static int nspace(long struct) Unsafe version of | |
| nspace | back to summary |
|---|---|
| public static void nspace(long struct, int value) Unsafe version of | |
| nstart | back to summary |
|---|---|
| public static int nstart(long struct) Unsafe version of | |
| nstart | back to summary |
|---|---|
| public static void nstart(long struct, int value) Unsafe version of | |
| set | back to summary |
|---|---|
| public SpvcHlslRootConstants set(int start, int end, int binding, int space) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public SpvcHlslRootConstants set(SpvcHlslRootConstants src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| space | back to summary |
|---|---|
public int space()
| |
| space | back to summary |
|---|---|
| public SpvcHlslRootConstants space(int value) Sets the specified value to the | |
| start | back to summary |
|---|---|
public int start()
| |
| start | back to summary |
|---|---|
| public SpvcHlslRootConstants start(int value) Sets the specified value to the | |
SpvcHlslRootConstants structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final SpvcHlslRootConstants |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public SpvcHlslRootConstants. | |
| public int | |
| public SpvcHlslRootConstants. | |
| protected SpvcHlslRootConstants | |
| protected SpvcHlslRootConstants. | |
| public int | |
| public SpvcHlslRootConstants. | |
| public int | |
| public SpvcHlslRootConstants. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final SpvcHlslRootConstants 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 SpvcHlslRootConstants. Sets the specified value to the | |
| end | back to summary |
|---|---|
public int end()
| |
| end | back to summary |
|---|---|
| public SpvcHlslRootConstants. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected SpvcHlslRootConstants getElementFactory() Implements abstract org.
| |
| self | back to summary |
|---|---|
| protected SpvcHlslRootConstants. Implements abstract org.
| |
| space | back to summary |
|---|---|
public int space()
| |
| space | back to summary |
|---|---|
| public SpvcHlslRootConstants. Sets the specified value to the | |
| start | back to summary |
|---|---|
public int start()
| |
| start | back to summary |
|---|---|
| public SpvcHlslRootConstants. Sets the specified value to the | |