Package org.lwjgl.assimp
Class AIMatrix3x3.Buffer
- All Implemented Interfaces:
AutoCloseable,Iterable<AIMatrix3x3>,NativeResource,Pointer
- Enclosing class:
AIMatrix3x3
public static class AIMatrix3x3.Buffer
extends StructBuffer<AIMatrix3x3,AIMatrix3x3.Buffer>
implements NativeResource
An array of
AIMatrix3x3 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 newAIMatrix3x3.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionfloata1()a1(float value) Sets the specified value to thea1field.floata2()a2(float value) Sets the specified value to thea2field.floata3()a3(float value) Sets the specified value to thea3field.floatb1()b1(float value) Sets the specified value to theb1field.floatb2()b2(float value) Sets the specified value to theb2field.floatb3()b3(float value) Sets the specified value to theb3field.floatc1()c1(float value) Sets the specified value to thec1field.floatc2()c2(float value) Sets the specified value to thec2field.floatc3()c3(float value) Sets the specified value to thec3field.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 newAIMatrix3x3.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
AIMatrix3x3.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
-
a1
public float a1()- Returns:
- the value of the
a1field.
-
a2
public float a2()- Returns:
- the value of the
a2field.
-
a3
public float a3()- Returns:
- the value of the
a3field.
-
b1
public float b1()- Returns:
- the value of the
b1field.
-
b2
public float b2()- Returns:
- the value of the
b2field.
-
b3
public float b3()- Returns:
- the value of the
b3field.
-
c1
public float c1()- Returns:
- the value of the
c1field.
-
c2
public float c2()- Returns:
- the value of the
c2field.
-
c3
public float c3()- Returns:
- the value of the
c3field.
-
a1
Sets the specified value to thea1field. -
a2
Sets the specified value to thea2field. -
a3
Sets the specified value to thea3field. -
b1
Sets the specified value to theb1field. -
b2
Sets the specified value to theb2field. -
b3
Sets the specified value to theb3field. -
c1
Sets the specified value to thec1field. -
c2
Sets the specified value to thec2field. -
c3
Sets the specified value to thec3field.
-