Top Description Inners Fields Constructors Methods
org.lwjgl.util.spvc

public Class SpvcMslConstexprSampler

extends Struct<SpvcMslConstexprSampler>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Annotations
@NativeType:struct spvc_msl_constexpr_sampler
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Layout


struct spvc_msl_constexpr_sampler {
    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;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
ANISOTROPY_ENABLE

The struct member offsets.

public static final int
BORDER_COLOR

The struct member offsets.

public static final int
COMPARE_ENABLE

The struct member offsets.

public static final int
COMPARE_FUNC

The struct member offsets.

public static final int
COORD

The struct member offsets.

public static final int
LOD_CLAMP_ENABLE

The struct member offsets.

public static final int
LOD_CLAMP_MAX

The struct member offsets.

public static final int
LOD_CLAMP_MIN

The struct member offsets.

public static final int
MAG_FILTER

The struct member offsets.

public static final int
MAX_ANISOTROPY

The struct member offsets.

public static final int
MIN_FILTER

The struct member offsets.

public static final int
MIP_FILTER

The struct member offsets.

public static final int
R_ADDRESS

The struct member offsets.

public static final int
S_ADDRESS

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
T_ADDRESS

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
SpvcMslConstexprSampler(long address, ByteBuffer container)

public
SpvcMslConstexprSampler(ByteBuffer container)

Creates a SpvcMslConstexprSampler instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

the value of the anisotropy_enable field.
anisotropy_enable
()

public SpvcMslConstexprSampler
anisotropy_enable(boolean value)

Sets the specified value to the anisotropy_enable field.

public int

Returns:

the value of the border_color field.
border_color
()

public SpvcMslConstexprSampler
border_color(int value)

Sets the specified value to the border_color field.

public static SpvcMslConstexprSampler
calloc()

Returns a new SpvcMslConstexprSampler instance allocated with memCalloc.

public static SpvcMslConstexprSampler.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new SpvcMslConstexprSampler.Buffer instance allocated with memCalloc.

public static SpvcMslConstexprSampler
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new SpvcMslConstexprSampler instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static SpvcMslConstexprSampler.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new SpvcMslConstexprSampler.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

public boolean

Returns:

the value of the compare_enable field.
compare_enable
()

public SpvcMslConstexprSampler
compare_enable(boolean value)

Sets the specified value to the compare_enable field.

public int

Returns:

the value of the compare_func field.
compare_func
()

public SpvcMslConstexprSampler
compare_func(int value)

Sets the specified value to the compare_func field.

public int

Returns:

the value of the coord field.
coord
()

public SpvcMslConstexprSampler
coord(int value)

Sets the specified value to the coord field.

protected SpvcMslConstexprSampler
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static SpvcMslConstexprSampler
create()

Returns a new SpvcMslConstexprSampler instance allocated with BufferUtils.

public static SpvcMslConstexprSampler
create(long address)

Returns a new SpvcMslConstexprSampler instance for the specified memory address.

public static SpvcMslConstexprSampler.Buffer
create(int
the buffer capacity
capacity
)

Returns a new SpvcMslConstexprSampler.Buffer instance allocated with BufferUtils.

public static SpvcMslConstexprSampler.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a SpvcMslConstexprSampler.Buffer instance at the specified memory.

public static SpvcMslConstexprSampler
createSafe(long address)

Like create, but returns null if address is NULL.

public static SpvcMslConstexprSampler.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public boolean

Returns:

the value of the lod_clamp_enable field.
lod_clamp_enable
()

public SpvcMslConstexprSampler
lod_clamp_enable(boolean value)

Sets the specified value to the lod_clamp_enable field.

public float

Returns:

the value of the lod_clamp_max field.
lod_clamp_max
()

public SpvcMslConstexprSampler
lod_clamp_max(float value)

Sets the specified value to the lod_clamp_max field.

public float

Returns:

the value of the lod_clamp_min field.
lod_clamp_min
()

public SpvcMslConstexprSampler
lod_clamp_min(float value)

Sets the specified value to the lod_clamp_min field.

public int

Returns:

the value of the mag_filter field.
mag_filter
()

public SpvcMslConstexprSampler
mag_filter(int value)

Sets the specified value to the mag_filter field.

public static SpvcMslConstexprSampler
malloc()

Returns a new SpvcMslConstexprSampler instance allocated with memAlloc.

public static SpvcMslConstexprSampler.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new SpvcMslConstexprSampler.Buffer instance allocated with memAlloc.

public static SpvcMslConstexprSampler
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new SpvcMslConstexprSampler instance allocated on the specified MemoryStack.

public static SpvcMslConstexprSampler.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new SpvcMslConstexprSampler.Buffer instance allocated on the specified MemoryStack.

public int

Returns:

the value of the max_anisotropy field.
max_anisotropy
()

public SpvcMslConstexprSampler
max_anisotropy(int value)

Sets the specified value to the max_anisotropy field.

public int

Returns:

the value of the min_filter field.
min_filter
()

public SpvcMslConstexprSampler
min_filter(int value)

Sets the specified value to the min_filter field.

public int

Returns:

the value of the mip_filter field.
mip_filter
()

public SpvcMslConstexprSampler
mip_filter(int value)

Sets the specified value to the mip_filter field.

public static boolean
nanisotropy_enable(long struct)

Unsafe version of anisotropy_enable.

public static void
nanisotropy_enable(long struct, boolean value)

Unsafe version of anisotropy_enable.

public static int
nborder_color(long struct)

Unsafe version of border_color.

public static void
nborder_color(long struct, int value)

Unsafe version of border_color.

public static boolean
ncompare_enable(long struct)

Unsafe version of compare_enable.

public static void
ncompare_enable(long struct, boolean value)

Unsafe version of compare_enable.

public static int
ncompare_func(long struct)

Unsafe version of compare_func.

public static void
ncompare_func(long struct, int value)

Unsafe version of compare_func.

public static int
ncoord(long struct)

Unsafe version of coord.

public static void
ncoord(long struct, int value)

Unsafe version of coord.

public static boolean
nlod_clamp_enable(long struct)

Unsafe version of lod_clamp_enable.

public static void
nlod_clamp_enable(long struct, boolean value)

Unsafe version of lod_clamp_enable.

public static float
nlod_clamp_max(long struct)

Unsafe version of lod_clamp_max.

public static void
nlod_clamp_max(long struct, float value)

Unsafe version of lod_clamp_max.

public static float
nlod_clamp_min(long struct)

Unsafe version of lod_clamp_min.

public static void
nlod_clamp_min(long struct, float value)

Unsafe version of lod_clamp_min.

public static int
nmag_filter(long struct)

Unsafe version of mag_filter.

public static void
nmag_filter(long struct, int value)

Unsafe version of mag_filter.

public static int
nmax_anisotropy(long struct)

Unsafe version of max_anisotropy.

public static void
nmax_anisotropy(long struct, int value)

Unsafe version of max_anisotropy.

public static int
nmin_filter(long struct)

Unsafe version of min_filter.

public static void
nmin_filter(long struct, int value)

Unsafe version of min_filter.

public static int
nmip_filter(long struct)

Unsafe version of mip_filter.

public static void
nmip_filter(long struct, int value)

Unsafe version of mip_filter.

public static int
nr_address(long struct)

Unsafe version of r_address.

public static void
nr_address(long struct, int value)

Unsafe version of r_address.

public static int
ns_address(long struct)

Unsafe version of s_address.

public static void
ns_address(long struct, int value)

Unsafe version of s_address.

public static int
nt_address(long struct)

Unsafe version of t_address.

public static void
nt_address(long struct, int value)

Unsafe version of t_address.

public int

Returns:

the value of the r_address field.
r_address
()

public SpvcMslConstexprSampler
r_address(int value)

Sets the specified value to the r_address field.

public int

Returns:

the value of the s_address field.
s_address
()

public SpvcMslConstexprSampler
s_address(int value)

Sets the specified value to the s_address 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)

Initializes this struct with the specified values.

public SpvcMslConstexprSampler

Returns:

this struct
set
(SpvcMslConstexprSampler
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public int

Returns:

the value of the t_address field.
t_address
()

public SpvcMslConstexprSampler
t_address(int value)

Sets the specified value to the t_address field.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate