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.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionint
address_mode_u
(int value) Sets the specified value to theaddress_mode_u
field.int
address_mode_v
(int value) Sets the specified value to theaddress_mode_v
field.int
address_mode_w
(int value) Sets the specified value to theaddress_mode_w
field.int
compare_op
(int value) Sets the specified value to thecompare_op
field.boolean
enable_anisotropy
(boolean value) Sets the specified value to theenable_anisotropy
field.boolean
enable_compare
(boolean value) Sets the specified value to theenable_compare
field.int
mag_filter
(int value) Sets the specified value to themag_filter
field.float
max_anisotropy
(float value) Sets the specified value to themax_anisotropy
field.float
max_lod()
max_lod
(float value) Sets the specified value to themax_lod
field.int
min_filter
(int value) Sets the specified value to themin_filter
field.float
min_lod()
min_lod
(float value) Sets the specified value to themin_lod
field.float
mip_lod_bias
(float value) Sets the specified value to themip_lod_bias
field.int
mipmap_mode
(int value) Sets the specified value to themipmap_mode
field.int
props()
props
(int value) Sets the specified value to theprops
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 newSDL_GPUSamplerCreateInfo.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
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_filter
field.
-
mag_filter
public int mag_filter()- Returns:
- the value of the
mag_filter
field.
-
mipmap_mode
public int mipmap_mode()- Returns:
- the value of the
mipmap_mode
field.
-
address_mode_u
public int address_mode_u()- Returns:
- the value of the
address_mode_u
field.
-
address_mode_v
public int address_mode_v()- Returns:
- the value of the
address_mode_v
field.
-
address_mode_w
public int address_mode_w()- Returns:
- the value of the
address_mode_w
field.
-
mip_lod_bias
public float mip_lod_bias()- Returns:
- the value of the
mip_lod_bias
field.
-
max_anisotropy
public float max_anisotropy()- Returns:
- the value of the
max_anisotropy
field.
-
compare_op
public int compare_op()- Returns:
- the value of the
compare_op
field.
-
min_lod
public float min_lod()- Returns:
- the value of the
min_lod
field.
-
max_lod
public float max_lod()- Returns:
- the value of the
max_lod
field.
-
enable_anisotropy
public boolean enable_anisotropy()- Returns:
- the value of the
enable_anisotropy
field.
-
enable_compare
public boolean enable_compare()- Returns:
- the value of the
enable_compare
field.
-
props
public int props()- Returns:
- the value of the
props
field.
-
min_filter
Sets the specified value to themin_filter
field. -
mag_filter
Sets the specified value to themag_filter
field. -
mipmap_mode
Sets the specified value to themipmap_mode
field. -
address_mode_u
Sets the specified value to theaddress_mode_u
field. -
address_mode_v
Sets the specified value to theaddress_mode_v
field. -
address_mode_w
Sets the specified value to theaddress_mode_w
field. -
mip_lod_bias
Sets the specified value to themip_lod_bias
field. -
max_anisotropy
Sets the specified value to themax_anisotropy
field. -
compare_op
Sets the specified value to thecompare_op
field. -
min_lod
Sets the specified value to themin_lod
field. -
max_lod
Sets the specified value to themax_lod
field. -
enable_anisotropy
Sets the specified value to theenable_anisotropy
field. -
enable_compare
Sets the specified value to theenable_compare
field. -
props
Sets the specified value to theprops
field.
-