Class AICamera.Buffer

  • All Implemented Interfaces:
    java.lang.AutoCloseable, java.lang.Iterable<AICamera>, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer
    Enclosing class:
    AICamera


    public static class AICamera.Buffer
    extends org.lwjgl.system.StructBuffer<AICamera,AICamera.Buffer>
    implements org.lwjgl.system.NativeResource
    An array of AICamera structs.
    • Constructor Detail

      • Buffer

        public Buffer(java.nio.ByteBuffer container)
        Creates a new AICamera.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 AICamera.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 Detail

      • sizeof

        public int sizeof()
        Specified by:
        sizeof in class org.lwjgl.system.CustomBuffer<AICamera.Buffer>
      • mHorizontalFOV

        public float mHorizontalFOV()
        Returns the value of the mHorizontalFOV field.
      • mClipPlaneNear

        public float mClipPlaneNear()
        Returns the value of the mClipPlaneNear field.
      • mClipPlaneFar

        public float mClipPlaneFar()
        Returns the value of the mClipPlaneFar field.
      • mAspect

        public float mAspect()
        Returns the value of the mAspect field.
      • mHorizontalFOV

        public AICamera.Buffer mHorizontalFOV(float value)
        Sets the specified value to the mHorizontalFOV field.
      • mClipPlaneNear

        public AICamera.Buffer mClipPlaneNear(float value)
        Sets the specified value to the mClipPlaneNear field.
      • mClipPlaneFar

        public AICamera.Buffer mClipPlaneFar(float value)
        Sets the specified value to the mClipPlaneFar field.
      • mAspect

        public AICamera.Buffer mAspect(float value)
        Sets the specified value to the mAspect field.