Package org.lwjgl.util.spvc
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 org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
Fields inherited from interface org.lwjgl.system.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 org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods inherited from class org.lwjgl.system.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 org.lwjgl.system.Pointer.Default
equals, hashCodeMethods inherited from interface org.lwjgl.system.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
public int coord()- Returns:
- the value of the
coordfield.
-
min_filter
public int min_filter()- Returns:
- the value of the
min_filterfield.
-
mag_filter
public int mag_filter()- Returns:
- the value of the
mag_filterfield.
-
mip_filter
public int mip_filter()- Returns:
- the value of the
mip_filterfield.
-
s_address
public int s_address()- Returns:
- the value of the
s_addressfield.
-
t_address
public int t_address()- Returns:
- the value of the
t_addressfield.
-
r_address
public int r_address()- Returns:
- the value of the
r_addressfield.
-
compare_func
public int compare_func()- Returns:
- the value of the
compare_funcfield.
-
border_color
public int 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
public boolean compare_enable()- Returns:
- the value of the
compare_enablefield.
-
lod_clamp_enable
public boolean lod_clamp_enable()- Returns:
- the value of the
lod_clamp_enablefield.
-
anisotropy_enable
public boolean 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
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
Sets the specified value to thecompare_funcfield. -
border_color
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.
-