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
ConstructorDescriptionBuffer
(long address, int cap) Buffer
(ByteBuffer container) Creates a newAIMatrix3x3.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionfloat
a1()
a1
(float value) Sets the specified value to thea1
field.float
a2()
a2
(float value) Sets the specified value to thea2
field.float
a3()
a3
(float value) Sets the specified value to thea3
field.float
b1()
b1
(float value) Sets the specified value to theb1
field.float
b2()
b2
(float value) Sets the specified value to theb2
field.float
b3()
b3
(float value) Sets the specified value to theb3
field.float
c1()
c1
(float value) Sets the specified value to thec1
field.float
c2()
c2
(float value) Sets the specified value to thec2
field.float
c3()
c3
(float value) Sets the specified value to thec3
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 newAIMatrix3x3.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
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
a1
field.
-
a2
public float a2()- Returns:
- the value of the
a2
field.
-
a3
public float a3()- Returns:
- the value of the
a3
field.
-
b1
public float b1()- Returns:
- the value of the
b1
field.
-
b2
public float b2()- Returns:
- the value of the
b2
field.
-
b3
public float b3()- Returns:
- the value of the
b3
field.
-
c1
public float c1()- Returns:
- the value of the
c1
field.
-
c2
public float c2()- Returns:
- the value of the
c2
field.
-
c3
public float c3()- Returns:
- the value of the
c3
field.
-
a1
Sets the specified value to thea1
field. -
a2
Sets the specified value to thea2
field. -
a3
Sets the specified value to thea3
field. -
b1
Sets the specified value to theb1
field. -
b2
Sets the specified value to theb2
field. -
b3
Sets the specified value to theb3
field. -
c1
Sets the specified value to thec1
field. -
c2
Sets the specified value to thec2
field. -
c3
Sets the specified value to thec3
field.
-