Class SpvcMslConstexprSampler.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<SpvcMslConstexprSampler.Buffer>
org.lwjgl.system.StructBuffer<SpvcMslConstexprSampler, SpvcMslConstexprSampler.Buffer>
org.lwjgl.util.spvc.SpvcMslConstexprSampler.Buffer
- All Implemented Interfaces:
AutoCloseable, Iterable<SpvcMslConstexprSampler>, NativeResource, Pointer
- Enclosing class:
SpvcMslConstexprSampler
public static class SpvcMslConstexprSampler.Buffer
extends StructBuffer<SpvcMslConstexprSampler, SpvcMslConstexprSampler.Buffer>
implements NativeResource
An array of
SpvcMslConstexprSampler structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface Pointer
Pointer.Default -
Field Summary
Fields inherited from interface Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionBuffer(long address, int cap) Buffer(ByteBuffer container) Creates a newSpvcMslConstexprSampler.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionbooleananisotropy_enable(boolean value) Sets the specified value to theanisotropy_enablefield.intborder_color(int value) Sets the specified value to theborder_colorfield.booleancompare_enable(boolean value) Sets the specified value to thecompare_enablefield.intcompare_func(int value) Sets the specified value to thecompare_funcfield.intcoord()coord(int value) Sets the specified value to thecoordfield.booleanlod_clamp_enable(boolean value) Sets the specified value to thelod_clamp_enablefield.floatlod_clamp_max(float value) Sets the specified value to thelod_clamp_maxfield.floatlod_clamp_min(float value) Sets the specified value to thelod_clamp_minfield.intmag_filter(int value) Sets the specified value to themag_filterfield.intmax_anisotropy(int value) Sets the specified value to themax_anisotropyfield.intmin_filter(int value) Sets the specified value to themin_filterfield.intmip_filter(int value) Sets the specified value to themip_filterfield.intr_address(int value) Sets the specified value to ther_addressfield.ints_address(int value) Sets the specified value to thes_addressfield.intt_address(int value) Sets the specified value to thet_addressfield.Methods inherited from class StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods inherited from class CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toStringMethods inherited from class Pointer.Default
equals, hashCodeMethods inherited from interface NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newSpvcMslConstexprSampler.Bufferinstance backed by the specified container.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
SpvcMslConstexprSampler.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Details
-
coord
- Returns:
- the value of the
coordfield.
-
min_filter
- Returns:
- the value of the
min_filterfield.
-
mag_filter
- Returns:
- the value of the
mag_filterfield.
-
mip_filter
- Returns:
- the value of the
mip_filterfield.
-
s_address
- Returns:
- the value of the
s_addressfield.
-
t_address
- Returns:
- the value of the
t_addressfield.
-
r_address
- Returns:
- the value of the
r_addressfield.
-
compare_func
- Returns:
- the value of the
compare_funcfield.
-
border_color
- Returns:
- the value of the
border_colorfield.
-
lod_clamp_min
public float lod_clamp_min()- Returns:
- the value of the
lod_clamp_minfield.
-
lod_clamp_max
public float lod_clamp_max()- Returns:
- the value of the
lod_clamp_maxfield.
-
max_anisotropy
public int max_anisotropy()- Returns:
- the value of the
max_anisotropyfield.
-
compare_enable
- Returns:
- the value of the
compare_enablefield.
-
lod_clamp_enable
- Returns:
- the value of the
lod_clamp_enablefield.
-
anisotropy_enable
- Returns:
- the value of the
anisotropy_enablefield.
-
coord
Sets the specified value to thecoordfield. -
min_filter
Sets the specified value to themin_filterfield. -
mag_filter
Sets the specified value to themag_filterfield. -
mip_filter
public SpvcMslConstexprSampler.Buffer mip_filter(@NativeType("spvc_msl_sampler_mip_filter") int value) Sets the specified value to themip_filterfield. -
s_address
Sets the specified value to thes_addressfield. -
t_address
Sets the specified value to thet_addressfield. -
r_address
Sets the specified value to ther_addressfield. -
compare_func
public SpvcMslConstexprSampler.Buffer compare_func(@NativeType("spvc_msl_sampler_compare_func") int value) Sets the specified value to thecompare_funcfield. -
border_color
public SpvcMslConstexprSampler.Buffer border_color(@NativeType("spvc_msl_sampler_border_color") int value) Sets the specified value to theborder_colorfield. -
lod_clamp_min
Sets the specified value to thelod_clamp_minfield. -
lod_clamp_max
Sets the specified value to thelod_clamp_maxfield. -
max_anisotropy
Sets the specified value to themax_anisotropyfield. -
compare_enable
Sets the specified value to thecompare_enablefield. -
lod_clamp_enable
Sets the specified value to thelod_clamp_enablefield. -
anisotropy_enable
Sets the specified value to theanisotropy_enablefield.
-