Class Geometry

    • Constructor Detail

      • Geometry

        public Geometry()
    • Method Detail

      • getMode

        public int getMode​(int object)
      • setMode

        public void setMode​(int type,
                            int mode)
      • getCount

        public int getCount​(int type)
      • getSize

        public int getSize​(int type)
      • getGLType

        public int getGLType​(int type)
      • getStride

        public int getStride​(int type)
      • getBuffer

        public java.nio.Buffer getBuffer​(int type)
      • setData

        public void setData​(int type,
                            int size,
                            int glType,
                            int stride,
                            int count,
                            int[] src,
                            int srcPos)
      • setData

        public void setData​(int type,
                            int size,
                            int stride,
                            int count,
                            float[] src,
                            int srcPos)
      • setData

        public void setData​(int type,
                            int size,
                            int stride,
                            int count,
                            java.nio.FloatBuffer src)
      • setElementData

        public void setElementData​(int mode,
                                   int count,
                                   int[] src)
      • setElementData

        public void setElementData​(int mode,
                                   int count,
                                   java.nio.IntBuffer src)
      • setVertexData

        public void setVertexData​(int count,
                                  float[] src)
      • setVertexData

        public void setVertexData​(int count,
                                  java.nio.FloatBuffer src)
      • setNormalData

        public void setNormalData​(int count,
                                  float[] src)
      • setNormalData

        public void setNormalData​(int count,
                                  java.nio.FloatBuffer src)
      • setTextureCoordData

        public void setTextureCoordData​(int count,
                                        float[] src)
      • setTextureCoordData

        public void setTextureCoordData​(int count,
                                        java.nio.FloatBuffer src)
      • clear

        public void clear​(int type)
      • getSizeInBytes

        public long getSizeInBytes()
        Description copied from interface: Cacheable
        Retrieves the approximate size of this object in bytes. Implementors are encouraged to calculate the exact size for smaller objects, but use approximate values for objects that include such large components that the approximation would produce an error so small that the extra computation would be wasteful.
        Specified by:
        getSizeInBytes in interface Cacheable
        Returns:
        this Cacheable object's size in bytes