public static class AILight.Buffer extends org.lwjgl.system.StructBuffer<AILight,AILight.Buffer>
AILight structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
AILight.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
float |
mAngleInnerCone()
Returns the value of the
mAngleInnerCone field. |
float |
mAngleOuterCone()
Returns the value of the
mAngleOuterCone field. |
float |
mAttenuationConstant()
Returns the value of the
mAttenuationConstant field. |
float |
mAttenuationLinear()
Returns the value of the
mAttenuationLinear field. |
float |
mAttenuationQuadratic()
Returns the value of the
mAttenuationQuadratic field. |
AIColor3D |
mColorAmbient()
Returns a
AIColor3D view of the mColorAmbient field. |
AIColor3D |
mColorDiffuse()
Returns a
AIColor3D view of the mColorDiffuse field. |
AIColor3D |
mColorSpecular()
Returns a
AIColor3D view of the mColorSpecular field. |
AIVector3D |
mDirection()
Returns a
AIVector3D view of the mDirection field. |
AIString |
mName()
Returns a
AIString view of the mName field. |
AIVector3D |
mPosition()
Returns a
AIVector3D view of the mPosition field. |
AIVector2D |
mSize()
Returns a
AIVector2D view of the mSize field. |
int |
mType()
Returns the value of the
mType field. |
AIVector3D |
mUp()
Returns a
AIVector3D view of the mUp field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
AILight.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 AILight.SIZEOF, and its mark will be undefined.
The created buffer instance holds a strong reference to the container object.
public Buffer(long address,
int cap)
public int mType()
mType field.public AIVector3D mPosition()
AIVector3D view of the mPosition field.public AIVector3D mDirection()
AIVector3D view of the mDirection field.public AIVector3D mUp()
AIVector3D view of the mUp field.public float mAttenuationConstant()
mAttenuationConstant field.public float mAttenuationLinear()
mAttenuationLinear field.public float mAttenuationQuadratic()
mAttenuationQuadratic field.public AIColor3D mColorSpecular()
AIColor3D view of the mColorSpecular field.public float mAngleInnerCone()
mAngleInnerCone field.public float mAngleOuterCone()
mAngleOuterCone field.public AIVector2D mSize()
AIVector2D view of the mSize field.Copyright LWJGL. All Rights Reserved. License terms.