Package org.lwjgl.sdl
Class SDL_GPUSamplerCreateInfo.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<SDL_GPUSamplerCreateInfo.Buffer>
org.lwjgl.system.StructBuffer<SDL_GPUSamplerCreateInfo,SDL_GPUSamplerCreateInfo.Buffer>
org.lwjgl.sdl.SDL_GPUSamplerCreateInfo.Buffer
- All Implemented Interfaces:
AutoCloseable,Iterable<SDL_GPUSamplerCreateInfo>,NativeResource,Pointer
- Enclosing class:
SDL_GPUSamplerCreateInfo
public static class SDL_GPUSamplerCreateInfo.Buffer
extends StructBuffer<SDL_GPUSamplerCreateInfo,SDL_GPUSamplerCreateInfo.Buffer>
implements NativeResource
An array of
SDL_GPUSamplerCreateInfo 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 newSDL_GPUSamplerCreateInfo.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionintaddress_mode_u(int value) Sets the specified value to theaddress_mode_ufield.intaddress_mode_v(int value) Sets the specified value to theaddress_mode_vfield.intaddress_mode_w(int value) Sets the specified value to theaddress_mode_wfield.intcompare_op(int value) Sets the specified value to thecompare_opfield.booleanenable_anisotropy(boolean value) Sets the specified value to theenable_anisotropyfield.booleanenable_compare(boolean value) Sets the specified value to theenable_comparefield.intmag_filter(int value) Sets the specified value to themag_filterfield.floatmax_anisotropy(float value) Sets the specified value to themax_anisotropyfield.floatmax_lod()max_lod(float value) Sets the specified value to themax_lodfield.intmin_filter(int value) Sets the specified value to themin_filterfield.floatmin_lod()min_lod(float value) Sets the specified value to themin_lodfield.floatmip_lod_bias(float value) Sets the specified value to themip_lod_biasfield.intmipmap_mode(int value) Sets the specified value to themipmap_modefield.intprops()props(int value) Sets the specified value to thepropsfield.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 newSDL_GPUSamplerCreateInfo.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
SDL_GPUSamplerCreateInfo.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
-
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.
-
mipmap_mode
public int mipmap_mode()- Returns:
- the value of the
mipmap_modefield.
-
address_mode_u
public int address_mode_u()- Returns:
- the value of the
address_mode_ufield.
-
address_mode_v
public int address_mode_v()- Returns:
- the value of the
address_mode_vfield.
-
address_mode_w
public int address_mode_w()- Returns:
- the value of the
address_mode_wfield.
-
mip_lod_bias
public float mip_lod_bias()- Returns:
- the value of the
mip_lod_biasfield.
-
max_anisotropy
public float max_anisotropy()- Returns:
- the value of the
max_anisotropyfield.
-
compare_op
public int compare_op()- Returns:
- the value of the
compare_opfield.
-
min_lod
public float min_lod()- Returns:
- the value of the
min_lodfield.
-
max_lod
public float max_lod()- Returns:
- the value of the
max_lodfield.
-
enable_anisotropy
public boolean enable_anisotropy()- Returns:
- the value of the
enable_anisotropyfield.
-
enable_compare
public boolean enable_compare()- Returns:
- the value of the
enable_comparefield.
-
props
public int props()- Returns:
- the value of the
propsfield.
-
min_filter
Sets the specified value to themin_filterfield. -
mag_filter
Sets the specified value to themag_filterfield. -
mipmap_mode
Sets the specified value to themipmap_modefield. -
address_mode_u
Sets the specified value to theaddress_mode_ufield. -
address_mode_v
Sets the specified value to theaddress_mode_vfield. -
address_mode_w
Sets the specified value to theaddress_mode_wfield. -
mip_lod_bias
Sets the specified value to themip_lod_biasfield. -
max_anisotropy
Sets the specified value to themax_anisotropyfield. -
compare_op
Sets the specified value to thecompare_opfield. -
min_lod
Sets the specified value to themin_lodfield. -
max_lod
Sets the specified value to themax_lodfield. -
enable_anisotropy
Sets the specified value to theenable_anisotropyfield. -
enable_compare
Sets the specified value to theenable_comparefield. -
props
Sets the specified value to thepropsfield.
-