Package org.lwjgl.util.spvc
Class SpvcMslConstexprSampler.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<SpvcMslConstexprSampler,SpvcMslConstexprSampler.Buffer>
-
- org.lwjgl.util.spvc.SpvcMslConstexprSampler.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<SpvcMslConstexprSampler>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- SpvcMslConstexprSampler
public static class SpvcMslConstexprSampler.Buffer extends org.lwjgl.system.StructBuffer<SpvcMslConstexprSampler,SpvcMslConstexprSampler.Buffer> implements org.lwjgl.system.NativeResource
An array ofSpvcMslConstexprSamplerstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleananisotropy_enable()SpvcMslConstexprSampler.Bufferanisotropy_enable(boolean value)Sets the specified value to theanisotropy_enablefield.intborder_color()SpvcMslConstexprSampler.Bufferborder_color(int value)Sets the specified value to theborder_colorfield.booleancompare_enable()SpvcMslConstexprSampler.Buffercompare_enable(boolean value)Sets the specified value to thecompare_enablefield.intcompare_func()SpvcMslConstexprSampler.Buffercompare_func(int value)Sets the specified value to thecompare_funcfield.intcoord()SpvcMslConstexprSampler.Buffercoord(int value)Sets the specified value to thecoordfield.booleanlod_clamp_enable()SpvcMslConstexprSampler.Bufferlod_clamp_enable(boolean value)Sets the specified value to thelod_clamp_enablefield.floatlod_clamp_max()SpvcMslConstexprSampler.Bufferlod_clamp_max(float value)Sets the specified value to thelod_clamp_maxfield.floatlod_clamp_min()SpvcMslConstexprSampler.Bufferlod_clamp_min(float value)Sets the specified value to thelod_clamp_minfield.intmag_filter()SpvcMslConstexprSampler.Buffermag_filter(int value)Sets the specified value to themag_filterfield.intmax_anisotropy()SpvcMslConstexprSampler.Buffermax_anisotropy(int value)Sets the specified value to themax_anisotropyfield.intmin_filter()SpvcMslConstexprSampler.Buffermin_filter(int value)Sets the specified value to themin_filterfield.intmip_filter()SpvcMslConstexprSampler.Buffermip_filter(int value)Sets the specified value to themip_filterfield.intr_address()SpvcMslConstexprSampler.Bufferr_address(int value)Sets the specified value to ther_addressfield.ints_address()SpvcMslConstexprSampler.Buffers_address(int value)Sets the specified value to thes_addressfield.intt_address()SpvcMslConstexprSampler.Buffert_address(int value)Sets the specified value to thet_addressfield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
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 bySpvcMslConstexprSampler.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 Detail
-
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
public SpvcMslConstexprSampler.Buffer coord(int value)
Sets the specified value to thecoordfield.
-
min_filter
public SpvcMslConstexprSampler.Buffer min_filter(int value)
Sets the specified value to themin_filterfield.
-
mag_filter
public SpvcMslConstexprSampler.Buffer mag_filter(int value)
Sets the specified value to themag_filterfield.
-
mip_filter
public SpvcMslConstexprSampler.Buffer mip_filter(int value)
Sets the specified value to themip_filterfield.
-
s_address
public SpvcMslConstexprSampler.Buffer s_address(int value)
Sets the specified value to thes_addressfield.
-
t_address
public SpvcMslConstexprSampler.Buffer t_address(int value)
Sets the specified value to thet_addressfield.
-
r_address
public SpvcMslConstexprSampler.Buffer r_address(int value)
Sets the specified value to ther_addressfield.
-
compare_func
public SpvcMslConstexprSampler.Buffer compare_func(int value)
Sets the specified value to thecompare_funcfield.
-
border_color
public SpvcMslConstexprSampler.Buffer border_color(int value)
Sets the specified value to theborder_colorfield.
-
lod_clamp_min
public SpvcMslConstexprSampler.Buffer lod_clamp_min(float value)
Sets the specified value to thelod_clamp_minfield.
-
lod_clamp_max
public SpvcMslConstexprSampler.Buffer lod_clamp_max(float value)
Sets the specified value to thelod_clamp_maxfield.
-
max_anisotropy
public SpvcMslConstexprSampler.Buffer max_anisotropy(int value)
Sets the specified value to themax_anisotropyfield.
-
compare_enable
public SpvcMslConstexprSampler.Buffer compare_enable(boolean value)
Sets the specified value to thecompare_enablefield.
-
lod_clamp_enable
public SpvcMslConstexprSampler.Buffer lod_clamp_enable(boolean value)
Sets the specified value to thelod_clamp_enablefield.
-
anisotropy_enable
public SpvcMslConstexprSampler.Buffer anisotropy_enable(boolean value)
Sets the specified value to theanisotropy_enablefield.
-
-