Class AIScene.Buffer

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

    public static class AIScene.Buffer
    extends org.lwjgl.system.StructBuffer<AIScene,AIScene.Buffer>
    implements org.lwjgl.system.NativeResource
    An array of AIScene structs.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer

        org.lwjgl.system.Pointer.Default
    • Field Summary

      • Fields inherited from interface org.lwjgl.system.Pointer

        BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
    • Constructor Summary

      Constructors 
      Constructor Description
      Buffer​(long address, int cap)  
      Buffer​(java.nio.ByteBuffer container)
      Creates a new AIScene.Buffer instance backed by the specified container.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.lwjgl.PointerBuffer mAnimations()
      Returns a PointerBuffer view of the data pointed to by the mAnimations field.
      AIScene.Buffer mAnimations​(org.lwjgl.PointerBuffer value)
      Sets the address of the specified PointerBuffer to the mAnimations field.
      org.lwjgl.PointerBuffer mCameras()
      Returns a PointerBuffer view of the data pointed to by the mCameras field.
      AIScene.Buffer mCameras​(org.lwjgl.PointerBuffer value)
      Sets the address of the specified PointerBuffer to the mCameras field.
      int mFlags()
      Returns the value of the mFlags field.
      AIScene.Buffer mFlags​(int value)
      Sets the specified value to the mFlags field.
      org.lwjgl.PointerBuffer mLights()
      Returns a PointerBuffer view of the data pointed to by the mLights field.
      AIScene.Buffer mLights​(org.lwjgl.PointerBuffer value)
      Sets the address of the specified PointerBuffer to the mLights field.
      org.lwjgl.PointerBuffer mMaterials()
      Returns a PointerBuffer view of the data pointed to by the mMaterials field.
      AIScene.Buffer mMaterials​(org.lwjgl.PointerBuffer value)
      Sets the address of the specified PointerBuffer to the mMaterials field.
      org.lwjgl.PointerBuffer mMeshes()
      Returns a PointerBuffer view of the data pointed to by the mMeshes field.
      AIScene.Buffer mMeshes​(org.lwjgl.PointerBuffer value)
      Sets the address of the specified PointerBuffer to the mMeshes field.
      AIMetaData mMetaData()
      Returns a AIMetaData view of the struct pointed to by the mMetaData field.
      AIScene.Buffer mMetaData​(AIMetaData value)
      Sets the address of the specified AIMetaData to the mMetaData field.
      int mNumAnimations()
      Returns the value of the mNumAnimations field.
      int mNumCameras()
      Returns the value of the mNumCameras field.
      int mNumLights()
      Returns the value of the mNumLights field.
      int mNumMaterials()
      Returns the value of the mNumMaterials field.
      int mNumMeshes()
      Returns the value of the mNumMeshes field.
      int mNumTextures()
      Returns the value of the mNumTextures field.
      AINode mRootNode()
      Returns a AINode view of the struct pointed to by the mRootNode field.
      AIScene.Buffer mRootNode​(AINode value)
      Sets the address of the specified AINode to the mRootNode field.
      org.lwjgl.PointerBuffer mTextures()
      Returns a PointerBuffer view of the data pointed to by the mTextures field.
      AIScene.Buffer mTextures​(org.lwjgl.PointerBuffer value)
      Sets the address of the specified PointerBuffer to the mTextures field.
      • 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 interface org.lwjgl.system.NativeResource

        close, free
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from class org.lwjgl.system.Pointer.Default

        equals, hashCode
      • Methods inherited from class org.lwjgl.system.StructBuffer

        apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, stream
    • Constructor Detail

      • Buffer

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

      • mFlags

        public int mFlags()
        Returns the value of the mFlags field.
      • mRootNode

        @Nullable
        public AINode mRootNode()
        Returns a AINode view of the struct pointed to by the mRootNode field.
      • mNumMeshes

        public int mNumMeshes()
        Returns the value of the mNumMeshes field.
      • mMeshes

        @Nullable
        public org.lwjgl.PointerBuffer mMeshes()
        Returns a PointerBuffer view of the data pointed to by the mMeshes field.
      • mNumMaterials

        public int mNumMaterials()
        Returns the value of the mNumMaterials field.
      • mMaterials

        @Nullable
        public org.lwjgl.PointerBuffer mMaterials()
        Returns a PointerBuffer view of the data pointed to by the mMaterials field.
      • mNumAnimations

        public int mNumAnimations()
        Returns the value of the mNumAnimations field.
      • mAnimations

        @Nullable
        public org.lwjgl.PointerBuffer mAnimations()
        Returns a PointerBuffer view of the data pointed to by the mAnimations field.
      • mNumTextures

        public int mNumTextures()
        Returns the value of the mNumTextures field.
      • mTextures

        @Nullable
        public org.lwjgl.PointerBuffer mTextures()
        Returns a PointerBuffer view of the data pointed to by the mTextures field.
      • mNumLights

        public int mNumLights()
        Returns the value of the mNumLights field.
      • mLights

        @Nullable
        public org.lwjgl.PointerBuffer mLights()
        Returns a PointerBuffer view of the data pointed to by the mLights field.
      • mNumCameras

        public int mNumCameras()
        Returns the value of the mNumCameras field.
      • mCameras

        @Nullable
        public org.lwjgl.PointerBuffer mCameras()
        Returns a PointerBuffer view of the data pointed to by the mCameras field.
      • mMetaData

        @Nullable
        public AIMetaData mMetaData()
        Returns a AIMetaData view of the struct pointed to by the mMetaData field.
      • mFlags

        public AIScene.Buffer mFlags​(int value)
        Sets the specified value to the mFlags field.
      • mRootNode

        public AIScene.Buffer mRootNode​(@Nullable
                                        AINode value)
        Sets the address of the specified AINode to the mRootNode field.
      • mMeshes

        public AIScene.Buffer mMeshes​(@Nullable
                                      org.lwjgl.PointerBuffer value)
        Sets the address of the specified PointerBuffer to the mMeshes field.
      • mMaterials

        public AIScene.Buffer mMaterials​(@Nullable
                                         org.lwjgl.PointerBuffer value)
        Sets the address of the specified PointerBuffer to the mMaterials field.
      • mAnimations

        public AIScene.Buffer mAnimations​(@Nullable
                                          org.lwjgl.PointerBuffer value)
        Sets the address of the specified PointerBuffer to the mAnimations field.
      • mTextures

        public AIScene.Buffer mTextures​(@Nullable
                                        org.lwjgl.PointerBuffer value)
        Sets the address of the specified PointerBuffer to the mTextures field.
      • mLights

        public AIScene.Buffer mLights​(@Nullable
                                      org.lwjgl.PointerBuffer value)
        Sets the address of the specified PointerBuffer to the mLights field.
      • mCameras

        public AIScene.Buffer mCameras​(@Nullable
                                       org.lwjgl.PointerBuffer value)
        Sets the address of the specified PointerBuffer to the mCameras field.