public class ShadercSPVCWorkgroupSize
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
struct shaderc_spcv_workgroup_size {
uint32_t x;
uint32_t y;
uint32_t z;
uint32_t constant;
}| Modifier and Type | Class and Description |
|---|---|
static class |
ShadercSPVCWorkgroupSize.Buffer
An array of
ShadercSPVCWorkgroupSize structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
CONSTANT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
X
The struct member offsets.
|
static int |
Y
The struct member offsets.
|
static int |
Z
The struct member offsets.
|
| Constructor and Description |
|---|
ShadercSPVCWorkgroupSize(java.nio.ByteBuffer container)
Creates a
ShadercSPVCWorkgroupSize instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static ShadercSPVCWorkgroupSize |
calloc()
Returns a new
ShadercSPVCWorkgroupSize instance allocated with memCalloc. |
static ShadercSPVCWorkgroupSize.Buffer |
calloc(int capacity)
Returns a new
ShadercSPVCWorkgroupSize.Buffer instance allocated with memCalloc. |
static ShadercSPVCWorkgroupSize |
callocStack()
Returns a new
ShadercSPVCWorkgroupSize instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static ShadercSPVCWorkgroupSize.Buffer |
callocStack(int capacity)
Returns a new
ShadercSPVCWorkgroupSize.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static ShadercSPVCWorkgroupSize.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
ShadercSPVCWorkgroupSize.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static ShadercSPVCWorkgroupSize |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
ShadercSPVCWorkgroupSize instance allocated on the specified MemoryStack and initializes all its bits to zero. |
int |
constant()
Returns the value of the
constant field. |
static ShadercSPVCWorkgroupSize |
create()
Returns a new
ShadercSPVCWorkgroupSize instance allocated with BufferUtils. |
static ShadercSPVCWorkgroupSize.Buffer |
create(int capacity)
Returns a new
ShadercSPVCWorkgroupSize.Buffer instance allocated with BufferUtils. |
static ShadercSPVCWorkgroupSize |
create(long address)
Returns a new
ShadercSPVCWorkgroupSize instance for the specified memory address. |
static ShadercSPVCWorkgroupSize.Buffer |
create(long address,
int capacity)
Create a
ShadercSPVCWorkgroupSize.Buffer instance at the specified memory. |
static ShadercSPVCWorkgroupSize |
createSafe(long address)
|
static ShadercSPVCWorkgroupSize.Buffer |
createSafe(long address,
int capacity)
|
static ShadercSPVCWorkgroupSize |
malloc()
Returns a new
ShadercSPVCWorkgroupSize instance allocated with memAlloc. |
static ShadercSPVCWorkgroupSize.Buffer |
malloc(int capacity)
Returns a new
ShadercSPVCWorkgroupSize.Buffer instance allocated with memAlloc. |
static ShadercSPVCWorkgroupSize |
mallocStack()
Returns a new
ShadercSPVCWorkgroupSize instance allocated on the thread-local MemoryStack. |
static ShadercSPVCWorkgroupSize.Buffer |
mallocStack(int capacity)
Returns a new
ShadercSPVCWorkgroupSize.Buffer instance allocated on the thread-local MemoryStack. |
static ShadercSPVCWorkgroupSize.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
ShadercSPVCWorkgroupSize.Buffer instance allocated on the specified MemoryStack. |
static ShadercSPVCWorkgroupSize |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
ShadercSPVCWorkgroupSize instance allocated on the specified MemoryStack. |
static int |
nconstant(long struct)
Unsafe version of
constant(). |
static int |
nx(long struct)
Unsafe version of
x(). |
static int |
ny(long struct)
Unsafe version of
y(). |
static int |
nz(long struct)
Unsafe version of
z(). |
int |
sizeof() |
int |
x()
Returns the value of the
x field. |
int |
y()
Returns the value of the
y field. |
int |
z()
Returns the value of the
z field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int X
public static final int Y
public static final int Z
public static final int CONSTANT
public ShadercSPVCWorkgroupSize(java.nio.ByteBuffer container)
ShadercSPVCWorkgroupSize instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be
visible to the struct instance and vice versa.
The created instance holds a strong reference to the container object.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int x()
x field.public int y()
y field.public int z()
z field.public int constant()
constant field.public static ShadercSPVCWorkgroupSize malloc()
ShadercSPVCWorkgroupSize instance allocated with memAlloc. The instance must be explicitly freed.public static ShadercSPVCWorkgroupSize calloc()
ShadercSPVCWorkgroupSize instance allocated with memCalloc. The instance must be explicitly freed.public static ShadercSPVCWorkgroupSize create()
ShadercSPVCWorkgroupSize instance allocated with BufferUtils.public static ShadercSPVCWorkgroupSize create(long address)
ShadercSPVCWorkgroupSize instance for the specified memory address.@Nullable public static ShadercSPVCWorkgroupSize createSafe(long address)
public static ShadercSPVCWorkgroupSize.Buffer malloc(int capacity)
ShadercSPVCWorkgroupSize.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static ShadercSPVCWorkgroupSize.Buffer calloc(int capacity)
ShadercSPVCWorkgroupSize.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static ShadercSPVCWorkgroupSize.Buffer create(int capacity)
ShadercSPVCWorkgroupSize.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static ShadercSPVCWorkgroupSize.Buffer create(long address, int capacity)
ShadercSPVCWorkgroupSize.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static ShadercSPVCWorkgroupSize.Buffer createSafe(long address, int capacity)
public static ShadercSPVCWorkgroupSize mallocStack()
ShadercSPVCWorkgroupSize instance allocated on the thread-local MemoryStack.public static ShadercSPVCWorkgroupSize callocStack()
ShadercSPVCWorkgroupSize instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static ShadercSPVCWorkgroupSize mallocStack(org.lwjgl.system.MemoryStack stack)
ShadercSPVCWorkgroupSize instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static ShadercSPVCWorkgroupSize callocStack(org.lwjgl.system.MemoryStack stack)
ShadercSPVCWorkgroupSize instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static ShadercSPVCWorkgroupSize.Buffer mallocStack(int capacity)
ShadercSPVCWorkgroupSize.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static ShadercSPVCWorkgroupSize.Buffer callocStack(int capacity)
ShadercSPVCWorkgroupSize.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static ShadercSPVCWorkgroupSize.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
ShadercSPVCWorkgroupSize.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static ShadercSPVCWorkgroupSize.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
ShadercSPVCWorkgroupSize.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nx(long struct)
x().public static int ny(long struct)
y().public static int nz(long struct)
z().public static int nconstant(long struct)
constant().Copyright LWJGL. All Rights Reserved. License terms.