public class SpvcMslConstexprSampler
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
struct SpvcMslConstexprSampler {
spvc_msl_sampler_coord coord;
spvc_msl_sampler_filter min_filter;
spvc_msl_sampler_filter mag_filter;
spvc_msl_sampler_mip_filter mip_filter;
spvc_msl_sampler_address s_address;
spvc_msl_sampler_address t_address;
spvc_msl_sampler_address r_address;
spvc_msl_sampler_compare_func compare_func;
spvc_msl_sampler_border_color border_color;
float lod_clamp_min;
float lod_clamp_max;
int max_anisotropy;
spvc_bool compare_enable;
spvc_bool lod_clamp_enable;
spvc_bool anisotropy_enable;
}| Modifier and Type | Class and Description |
|---|---|
static class |
SpvcMslConstexprSampler.Buffer
An array of
SpvcMslConstexprSampler structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
ANISOTROPY_ENABLE
The struct member offsets.
|
static int |
BORDER_COLOR
The struct member offsets.
|
static int |
COMPARE_ENABLE
The struct member offsets.
|
static int |
COMPARE_FUNC
The struct member offsets.
|
static int |
COORD
The struct member offsets.
|
static int |
LOD_CLAMP_ENABLE
The struct member offsets.
|
static int |
LOD_CLAMP_MAX
The struct member offsets.
|
static int |
LOD_CLAMP_MIN
The struct member offsets.
|
static int |
MAG_FILTER
The struct member offsets.
|
static int |
MAX_ANISOTROPY
The struct member offsets.
|
static int |
MIN_FILTER
The struct member offsets.
|
static int |
MIP_FILTER
The struct member offsets.
|
static int |
R_ADDRESS
The struct member offsets.
|
static int |
S_ADDRESS
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
T_ADDRESS
The struct member offsets.
|
| Constructor and Description |
|---|
SpvcMslConstexprSampler(java.nio.ByteBuffer container)
Creates a
SpvcMslConstexprSampler instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
anisotropy_enable()
Returns the value of the
anisotropy_enable field. |
SpvcMslConstexprSampler |
anisotropy_enable(boolean value)
Sets the specified value to the
anisotropy_enable field. |
int |
border_color()
Returns the value of the
border_color field. |
SpvcMslConstexprSampler |
border_color(int value)
Sets the specified value to the
border_color field. |
static SpvcMslConstexprSampler |
calloc()
Returns a new
SpvcMslConstexprSampler instance allocated with memCalloc. |
static SpvcMslConstexprSampler.Buffer |
calloc(int capacity)
Returns a new
SpvcMslConstexprSampler.Buffer instance allocated with memCalloc. |
static SpvcMslConstexprSampler |
callocStack()
Returns a new
SpvcMslConstexprSampler instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static SpvcMslConstexprSampler.Buffer |
callocStack(int capacity)
Returns a new
SpvcMslConstexprSampler.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static SpvcMslConstexprSampler.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
SpvcMslConstexprSampler.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static SpvcMslConstexprSampler |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
SpvcMslConstexprSampler instance allocated on the specified MemoryStack and initializes all its bits to zero. |
boolean |
compare_enable()
Returns the value of the
compare_enable field. |
SpvcMslConstexprSampler |
compare_enable(boolean value)
Sets the specified value to the
compare_enable field. |
int |
compare_func()
Returns the value of the
compare_func field. |
SpvcMslConstexprSampler |
compare_func(int value)
Sets the specified value to the
compare_func field. |
int |
coord()
Returns the value of the
coord field. |
SpvcMslConstexprSampler |
coord(int value)
Sets the specified value to the
coord field. |
static SpvcMslConstexprSampler |
create()
Returns a new
SpvcMslConstexprSampler instance allocated with BufferUtils. |
static SpvcMslConstexprSampler.Buffer |
create(int capacity)
Returns a new
SpvcMslConstexprSampler.Buffer instance allocated with BufferUtils. |
static SpvcMslConstexprSampler |
create(long address)
Returns a new
SpvcMslConstexprSampler instance for the specified memory address. |
static SpvcMslConstexprSampler.Buffer |
create(long address,
int capacity)
Create a
SpvcMslConstexprSampler.Buffer instance at the specified memory. |
static SpvcMslConstexprSampler |
createSafe(long address)
|
static SpvcMslConstexprSampler.Buffer |
createSafe(long address,
int capacity)
|
boolean |
lod_clamp_enable()
Returns the value of the
lod_clamp_enable field. |
SpvcMslConstexprSampler |
lod_clamp_enable(boolean value)
Sets the specified value to the
lod_clamp_enable field. |
float |
lod_clamp_max()
Returns the value of the
lod_clamp_max field. |
SpvcMslConstexprSampler |
lod_clamp_max(float value)
Sets the specified value to the
lod_clamp_max field. |
float |
lod_clamp_min()
Returns the value of the
lod_clamp_min field. |
SpvcMslConstexprSampler |
lod_clamp_min(float value)
Sets the specified value to the
lod_clamp_min field. |
int |
mag_filter()
Returns the value of the
mag_filter field. |
SpvcMslConstexprSampler |
mag_filter(int value)
Sets the specified value to the
mag_filter field. |
static SpvcMslConstexprSampler |
malloc()
Returns a new
SpvcMslConstexprSampler instance allocated with memAlloc. |
static SpvcMslConstexprSampler.Buffer |
malloc(int capacity)
Returns a new
SpvcMslConstexprSampler.Buffer instance allocated with memAlloc. |
static SpvcMslConstexprSampler |
mallocStack()
Returns a new
SpvcMslConstexprSampler instance allocated on the thread-local MemoryStack. |
static SpvcMslConstexprSampler.Buffer |
mallocStack(int capacity)
Returns a new
SpvcMslConstexprSampler.Buffer instance allocated on the thread-local MemoryStack. |
static SpvcMslConstexprSampler.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
SpvcMslConstexprSampler.Buffer instance allocated on the specified MemoryStack. |
static SpvcMslConstexprSampler |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
SpvcMslConstexprSampler instance allocated on the specified MemoryStack. |
int |
max_anisotropy()
Returns the value of the
max_anisotropy field. |
SpvcMslConstexprSampler |
max_anisotropy(int value)
Sets the specified value to the
max_anisotropy field. |
int |
min_filter()
Returns the value of the
min_filter field. |
SpvcMslConstexprSampler |
min_filter(int value)
Sets the specified value to the
min_filter field. |
int |
mip_filter()
Returns the value of the
mip_filter field. |
SpvcMslConstexprSampler |
mip_filter(int value)
Sets the specified value to the
mip_filter field. |
static boolean |
nanisotropy_enable(long struct)
Unsafe version of
anisotropy_enable(). |
static void |
nanisotropy_enable(long struct,
boolean value)
Unsafe version of
anisotropy_enable. |
static int |
nborder_color(long struct)
Unsafe version of
border_color(). |
static void |
nborder_color(long struct,
int value)
Unsafe version of
border_color. |
static boolean |
ncompare_enable(long struct)
Unsafe version of
compare_enable(). |
static void |
ncompare_enable(long struct,
boolean value)
Unsafe version of
compare_enable. |
static int |
ncompare_func(long struct)
Unsafe version of
compare_func(). |
static void |
ncompare_func(long struct,
int value)
Unsafe version of
compare_func. |
static int |
ncoord(long struct)
Unsafe version of
coord(). |
static void |
ncoord(long struct,
int value)
Unsafe version of
coord. |
static boolean |
nlod_clamp_enable(long struct)
Unsafe version of
lod_clamp_enable(). |
static void |
nlod_clamp_enable(long struct,
boolean value)
Unsafe version of
lod_clamp_enable. |
static float |
nlod_clamp_max(long struct)
Unsafe version of
lod_clamp_max(). |
static void |
nlod_clamp_max(long struct,
float value)
Unsafe version of
lod_clamp_max. |
static float |
nlod_clamp_min(long struct)
Unsafe version of
lod_clamp_min(). |
static void |
nlod_clamp_min(long struct,
float value)
Unsafe version of
lod_clamp_min. |
static int |
nmag_filter(long struct)
Unsafe version of
mag_filter(). |
static void |
nmag_filter(long struct,
int value)
Unsafe version of
mag_filter. |
static int |
nmax_anisotropy(long struct)
Unsafe version of
max_anisotropy(). |
static void |
nmax_anisotropy(long struct,
int value)
Unsafe version of
max_anisotropy. |
static int |
nmin_filter(long struct)
Unsafe version of
min_filter(). |
static void |
nmin_filter(long struct,
int value)
Unsafe version of
min_filter. |
static int |
nmip_filter(long struct)
Unsafe version of
mip_filter(). |
static void |
nmip_filter(long struct,
int value)
Unsafe version of
mip_filter. |
static int |
nr_address(long struct)
Unsafe version of
r_address(). |
static void |
nr_address(long struct,
int value)
Unsafe version of
r_address. |
static int |
ns_address(long struct)
Unsafe version of
s_address(). |
static void |
ns_address(long struct,
int value)
Unsafe version of
s_address. |
static int |
nt_address(long struct)
Unsafe version of
t_address(). |
static void |
nt_address(long struct,
int value)
Unsafe version of
t_address. |
int |
r_address()
Returns the value of the
r_address field. |
SpvcMslConstexprSampler |
r_address(int value)
Sets the specified value to the
r_address field. |
int |
s_address()
Returns the value of the
s_address field. |
SpvcMslConstexprSampler |
s_address(int value)
Sets the specified value to the
s_address field. |
SpvcMslConstexprSampler |
set(int coord,
int min_filter,
int mag_filter,
int mip_filter,
int s_address,
int t_address,
int r_address,
int compare_func,
int border_color,
float lod_clamp_min,
float lod_clamp_max,
int max_anisotropy,
boolean compare_enable,
boolean lod_clamp_enable,
boolean anisotropy_enable)
Initializes this struct with the specified values.
|
SpvcMslConstexprSampler |
set(SpvcMslConstexprSampler src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
t_address()
Returns the value of the
t_address field. |
SpvcMslConstexprSampler |
t_address(int value)
Sets the specified value to the
t_address field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int COORD
public static final int MIN_FILTER
public static final int MAG_FILTER
public static final int MIP_FILTER
public static final int S_ADDRESS
public static final int T_ADDRESS
public static final int R_ADDRESS
public static final int COMPARE_FUNC
public static final int BORDER_COLOR
public static final int LOD_CLAMP_MIN
public static final int LOD_CLAMP_MAX
public static final int MAX_ANISOTROPY
public static final int COMPARE_ENABLE
public static final int LOD_CLAMP_ENABLE
public static final int ANISOTROPY_ENABLE
public SpvcMslConstexprSampler(java.nio.ByteBuffer container)
SpvcMslConstexprSampler 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 coord()
coord field.public int min_filter()
min_filter field.public int mag_filter()
mag_filter field.public int mip_filter()
mip_filter field.public int s_address()
s_address field.public int t_address()
t_address field.public int r_address()
r_address field.public int compare_func()
compare_func field.public int border_color()
border_color field.public float lod_clamp_min()
lod_clamp_min field.public float lod_clamp_max()
lod_clamp_max field.public int max_anisotropy()
max_anisotropy field.public boolean compare_enable()
compare_enable field.public boolean lod_clamp_enable()
lod_clamp_enable field.public boolean anisotropy_enable()
anisotropy_enable field.public SpvcMslConstexprSampler coord(int value)
coord field.public SpvcMslConstexprSampler min_filter(int value)
min_filter field.public SpvcMslConstexprSampler mag_filter(int value)
mag_filter field.public SpvcMslConstexprSampler mip_filter(int value)
mip_filter field.public SpvcMslConstexprSampler s_address(int value)
s_address field.public SpvcMslConstexprSampler t_address(int value)
t_address field.public SpvcMslConstexprSampler r_address(int value)
r_address field.public SpvcMslConstexprSampler compare_func(int value)
compare_func field.public SpvcMslConstexprSampler border_color(int value)
border_color field.public SpvcMslConstexprSampler lod_clamp_min(float value)
lod_clamp_min field.public SpvcMslConstexprSampler lod_clamp_max(float value)
lod_clamp_max field.public SpvcMslConstexprSampler max_anisotropy(int value)
max_anisotropy field.public SpvcMslConstexprSampler compare_enable(boolean value)
compare_enable field.public SpvcMslConstexprSampler lod_clamp_enable(boolean value)
lod_clamp_enable field.public SpvcMslConstexprSampler anisotropy_enable(boolean value)
anisotropy_enable field.public SpvcMslConstexprSampler set(int coord, int min_filter, int mag_filter, int mip_filter, int s_address, int t_address, int r_address, int compare_func, int border_color, float lod_clamp_min, float lod_clamp_max, int max_anisotropy, boolean compare_enable, boolean lod_clamp_enable, boolean anisotropy_enable)
public SpvcMslConstexprSampler set(SpvcMslConstexprSampler src)
src - the source structpublic static SpvcMslConstexprSampler malloc()
SpvcMslConstexprSampler instance allocated with memAlloc. The instance must be explicitly freed.public static SpvcMslConstexprSampler calloc()
SpvcMslConstexprSampler instance allocated with memCalloc. The instance must be explicitly freed.public static SpvcMslConstexprSampler create()
SpvcMslConstexprSampler instance allocated with BufferUtils.public static SpvcMslConstexprSampler create(long address)
SpvcMslConstexprSampler instance for the specified memory address.@Nullable public static SpvcMslConstexprSampler createSafe(long address)
public static SpvcMslConstexprSampler.Buffer malloc(int capacity)
SpvcMslConstexprSampler.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static SpvcMslConstexprSampler.Buffer calloc(int capacity)
SpvcMslConstexprSampler.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static SpvcMslConstexprSampler.Buffer create(int capacity)
SpvcMslConstexprSampler.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static SpvcMslConstexprSampler.Buffer create(long address, int capacity)
SpvcMslConstexprSampler.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static SpvcMslConstexprSampler.Buffer createSafe(long address, int capacity)
public static SpvcMslConstexprSampler mallocStack()
SpvcMslConstexprSampler instance allocated on the thread-local MemoryStack.public static SpvcMslConstexprSampler callocStack()
SpvcMslConstexprSampler instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static SpvcMslConstexprSampler mallocStack(org.lwjgl.system.MemoryStack stack)
SpvcMslConstexprSampler instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static SpvcMslConstexprSampler callocStack(org.lwjgl.system.MemoryStack stack)
SpvcMslConstexprSampler instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static SpvcMslConstexprSampler.Buffer mallocStack(int capacity)
SpvcMslConstexprSampler.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static SpvcMslConstexprSampler.Buffer callocStack(int capacity)
SpvcMslConstexprSampler.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static SpvcMslConstexprSampler.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
SpvcMslConstexprSampler.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static SpvcMslConstexprSampler.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
SpvcMslConstexprSampler.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 ncoord(long struct)
coord().public static int nmin_filter(long struct)
min_filter().public static int nmag_filter(long struct)
mag_filter().public static int nmip_filter(long struct)
mip_filter().public static int ns_address(long struct)
s_address().public static int nt_address(long struct)
t_address().public static int nr_address(long struct)
r_address().public static int ncompare_func(long struct)
compare_func().public static int nborder_color(long struct)
border_color().public static float nlod_clamp_min(long struct)
lod_clamp_min().public static float nlod_clamp_max(long struct)
lod_clamp_max().public static int nmax_anisotropy(long struct)
max_anisotropy().public static boolean ncompare_enable(long struct)
compare_enable().public static boolean nlod_clamp_enable(long struct)
lod_clamp_enable().public static boolean nanisotropy_enable(long struct)
anisotropy_enable().public static void ncoord(long struct,
int value)
coord.public static void nmin_filter(long struct,
int value)
min_filter.public static void nmag_filter(long struct,
int value)
mag_filter.public static void nmip_filter(long struct,
int value)
mip_filter.public static void ns_address(long struct,
int value)
s_address.public static void nt_address(long struct,
int value)
t_address.public static void nr_address(long struct,
int value)
r_address.public static void ncompare_func(long struct,
int value)
compare_func.public static void nborder_color(long struct,
int value)
border_color.public static void nlod_clamp_min(long struct,
float value)
lod_clamp_min.public static void nlod_clamp_max(long struct,
float value)
lod_clamp_max.public static void nmax_anisotropy(long struct,
int value)
max_anisotropy.public static void ncompare_enable(long struct,
boolean value)
compare_enable.public static void nlod_clamp_enable(long struct,
boolean value)
lod_clamp_enable.public static void nanisotropy_enable(long struct,
boolean value)
anisotropy_enable.Copyright LWJGL. All Rights Reserved. License terms.