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.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionboolean
anisotropy_enable
(boolean value) Sets the specified value to theanisotropy_enable
field.int
border_color
(int value) Sets the specified value to theborder_color
field.boolean
compare_enable
(boolean value) Sets the specified value to thecompare_enable
field.int
compare_func
(int value) Sets the specified value to thecompare_func
field.int
coord()
coord
(int value) Sets the specified value to thecoord
field.boolean
lod_clamp_enable
(boolean value) Sets the specified value to thelod_clamp_enable
field.float
lod_clamp_max
(float value) Sets the specified value to thelod_clamp_max
field.float
lod_clamp_min
(float value) Sets the specified value to thelod_clamp_min
field.int
mag_filter
(int value) Sets the specified value to themag_filter
field.int
max_anisotropy
(int value) Sets the specified value to themax_anisotropy
field.int
min_filter
(int value) Sets the specified value to themin_filter
field.int
mip_filter
(int value) Sets the specified value to themip_filter
field.int
r_address
(int value) Sets the specified value to ther_address
field.int
s_address
(int value) Sets the specified value to thes_address
field.int
t_address
(int value) Sets the specified value to thet_address
field.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, stream
Methods 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, toString
Methods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCode
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newSpvcMslConstexprSampler.Buffer
instance 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
coord
field.
-
min_filter
public int min_filter()- Returns:
- the value of the
min_filter
field.
-
mag_filter
public int mag_filter()- Returns:
- the value of the
mag_filter
field.
-
mip_filter
public int mip_filter()- Returns:
- the value of the
mip_filter
field.
-
s_address
public int s_address()- Returns:
- the value of the
s_address
field.
-
t_address
public int t_address()- Returns:
- the value of the
t_address
field.
-
r_address
public int r_address()- Returns:
- the value of the
r_address
field.
-
compare_func
public int compare_func()- Returns:
- the value of the
compare_func
field.
-
border_color
public int border_color()- Returns:
- the value of the
border_color
field.
-
lod_clamp_min
public float lod_clamp_min()- Returns:
- the value of the
lod_clamp_min
field.
-
lod_clamp_max
public float lod_clamp_max()- Returns:
- the value of the
lod_clamp_max
field.
-
max_anisotropy
public int max_anisotropy()- Returns:
- the value of the
max_anisotropy
field.
-
compare_enable
public boolean compare_enable()- Returns:
- the value of the
compare_enable
field.
-
lod_clamp_enable
public boolean lod_clamp_enable()- Returns:
- the value of the
lod_clamp_enable
field.
-
anisotropy_enable
public boolean anisotropy_enable()- Returns:
- the value of the
anisotropy_enable
field.
-
coord
Sets the specified value to thecoord
field. -
min_filter
Sets the specified value to themin_filter
field. -
mag_filter
Sets the specified value to themag_filter
field. -
mip_filter
Sets the specified value to themip_filter
field. -
s_address
Sets the specified value to thes_address
field. -
t_address
Sets the specified value to thet_address
field. -
r_address
Sets the specified value to ther_address
field. -
compare_func
Sets the specified value to thecompare_func
field. -
border_color
Sets the specified value to theborder_color
field. -
lod_clamp_min
Sets the specified value to thelod_clamp_min
field. -
lod_clamp_max
Sets the specified value to thelod_clamp_max
field. -
max_anisotropy
Sets the specified value to themax_anisotropy
field. -
compare_enable
Sets the specified value to thecompare_enable
field. -
lod_clamp_enable
Sets the specified value to thelod_clamp_enable
field. -
anisotropy_enable
Sets the specified value to theanisotropy_enable
field.
-