Package org.lwjgl.assimp
Class AIMatrix4x4.Buffer
- All Implemented Interfaces:
AutoCloseable
,Iterable<AIMatrix4x4>
,NativeResource
,Pointer
- Enclosing class:
AIMatrix4x4
public static class AIMatrix4x4.Buffer
extends StructBuffer<AIMatrix4x4,AIMatrix4x4.Buffer>
implements NativeResource
An array of
AIMatrix4x4
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 newAIMatrix4x4.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
a4()
a4
(float value) Sets the specified value to thea4
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
b4()
b4
(float value) Sets the specified value to theb4
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.float
c4()
c4
(float value) Sets the specified value to thec4
field.float
d1()
d1
(float value) Sets the specified value to thed1
field.float
d2()
d2
(float value) Sets the specified value to thed2
field.float
d3()
d3
(float value) Sets the specified value to thed3
field.float
d4()
d4
(float value) Sets the specified value to thed4
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 newAIMatrix4x4.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
AIMatrix4x4.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.
-
a4
public float a4()- Returns:
- the value of the
a4
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.
-
b4
public float b4()- Returns:
- the value of the
b4
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.
-
c4
public float c4()- Returns:
- the value of the
c4
field.
-
d1
public float d1()- Returns:
- the value of the
d1
field.
-
d2
public float d2()- Returns:
- the value of the
d2
field.
-
d3
public float d3()- Returns:
- the value of the
d3
field.
-
d4
public float d4()- Returns:
- the value of the
d4
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. -
a4
Sets the specified value to thea4
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. -
b4
Sets the specified value to theb4
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. -
c4
Sets the specified value to thec4
field. -
d1
Sets the specified value to thed1
field. -
d2
Sets the specified value to thed2
field. -
d3
Sets the specified value to thed3
field. -
d4
Sets the specified value to thed4
field.
-