Package org.lwjgl.util.spng
Class spng_chrm_int.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<spng_chrm_int.Buffer>
org.lwjgl.system.StructBuffer<spng_chrm_int,spng_chrm_int.Buffer>
org.lwjgl.util.spng.spng_chrm_int.Buffer
- All Implemented Interfaces:
AutoCloseable,Iterable<spng_chrm_int>,NativeResource,Pointer
- Enclosing class:
spng_chrm_int
public static class spng_chrm_int.Buffer
extends StructBuffer<spng_chrm_int,spng_chrm_int.Buffer>
implements NativeResource
An array of
spng_chrm_int 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 newspng_chrm_int.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionintblue_x()blue_x(int value) Sets the specified value to theblue_xfield.intblue_y()blue_y(int value) Sets the specified value to theblue_yfield.intgreen_x()green_x(int value) Sets the specified value to thegreen_xfield.intgreen_y()green_y(int value) Sets the specified value to thegreen_yfield.intred_x()red_x(int value) Sets the specified value to thered_xfield.intred_y()red_y(int value) Sets the specified value to thered_yfield.intwhite_point_x(int value) Sets the specified value to thewhite_point_xfield.intwhite_point_y(int value) Sets the specified value to thewhite_point_yfield.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 newspng_chrm_int.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
spng_chrm_int.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
-
white_point_x
public int white_point_x()- Returns:
- the value of the
white_point_xfield.
-
white_point_y
public int white_point_y()- Returns:
- the value of the
white_point_yfield.
-
red_x
public int red_x()- Returns:
- the value of the
red_xfield.
-
red_y
public int red_y()- Returns:
- the value of the
red_yfield.
-
green_x
public int green_x()- Returns:
- the value of the
green_xfield.
-
green_y
public int green_y()- Returns:
- the value of the
green_yfield.
-
blue_x
public int blue_x()- Returns:
- the value of the
blue_xfield.
-
blue_y
public int blue_y()- Returns:
- the value of the
blue_yfield.
-
white_point_x
Sets the specified value to thewhite_point_xfield. -
white_point_y
Sets the specified value to thewhite_point_yfield. -
red_x
Sets the specified value to thered_xfield. -
red_y
Sets the specified value to thered_yfield. -
green_x
Sets the specified value to thegreen_xfield. -
green_y
Sets the specified value to thegreen_yfield. -
blue_x
Sets the specified value to theblue_xfield. -
blue_y
Sets the specified value to theblue_yfield.
-