Class TextureDef


  • public final class TextureDef
    extends Table
    • Constructor Detail

      • TextureDef

        public TextureDef()
    • Method Detail

      • getRootAsTextureDef

        public static TextureDef getRootAsTextureDef​(java.nio.ByteBuffer _bb)
      • getRootAsTextureDef

        public static TextureDef getRootAsTextureDef​(java.nio.ByteBuffer _bb,
                                                     TextureDef obj)
      • __init

        public void __init​(int _i,
                           java.nio.ByteBuffer _bb)
      • __assign

        public TextureDef __assign​(int _i,
                                   java.nio.ByteBuffer _bb)
      • name

        public java.lang.String name()
      • nameAsByteBuffer

        public java.nio.ByteBuffer nameAsByteBuffer()
      • nameInByteBuffer

        public java.nio.ByteBuffer nameInByteBuffer​(java.nio.ByteBuffer _bb)
      • file

        public java.lang.String file()
      • fileAsByteBuffer

        public java.nio.ByteBuffer fileAsByteBuffer()
      • fileInByteBuffer

        public java.nio.ByteBuffer fileInByteBuffer​(java.nio.ByteBuffer _bb)
      • data

        public int data​(int j)
      • dataLength

        public int dataLength()
      • dataAsByteBuffer

        public java.nio.ByteBuffer dataAsByteBuffer()
      • dataInByteBuffer

        public java.nio.ByteBuffer dataInByteBuffer​(java.nio.ByteBuffer _bb)
      • generateMipmaps

        public boolean generateMipmaps()
      • premultiplyAlpha

        public boolean premultiplyAlpha()
      • minFilter

        public int minFilter()
      • magFilter

        public int magFilter()
      • wrapS

        public int wrapS()
      • wrapT

        public int wrapT()
      • wrapR

        public int wrapR()
      • targetType

        public int targetType()
      • isRgbm

        public boolean isRgbm()
      • createTextureDef

        public static int createTextureDef​(FlatBufferBuilder builder,
                                           int nameOffset,
                                           int fileOffset,
                                           int dataOffset,
                                           boolean generate_mipmaps,
                                           boolean premultiply_alpha,
                                           int min_filter,
                                           int mag_filter,
                                           int wrap_s,
                                           int wrap_t,
                                           int wrap_r,
                                           int target_type,
                                           boolean is_rgbm)
      • startTextureDef

        public static void startTextureDef​(FlatBufferBuilder builder)
      • addName

        public static void addName​(FlatBufferBuilder builder,
                                   int nameOffset)
      • addFile

        public static void addFile​(FlatBufferBuilder builder,
                                   int fileOffset)
      • addData

        public static void addData​(FlatBufferBuilder builder,
                                   int dataOffset)
      • createDataVector

        public static int createDataVector​(FlatBufferBuilder builder,
                                           byte[] data)
      • createDataVector

        public static int createDataVector​(FlatBufferBuilder builder,
                                           java.nio.ByteBuffer data)
      • startDataVector

        public static void startDataVector​(FlatBufferBuilder builder,
                                           int numElems)
      • addGenerateMipmaps

        public static void addGenerateMipmaps​(FlatBufferBuilder builder,
                                              boolean generateMipmaps)
      • addPremultiplyAlpha

        public static void addPremultiplyAlpha​(FlatBufferBuilder builder,
                                               boolean premultiplyAlpha)
      • addMinFilter

        public static void addMinFilter​(FlatBufferBuilder builder,
                                        int minFilter)
      • addMagFilter

        public static void addMagFilter​(FlatBufferBuilder builder,
                                        int magFilter)
      • addTargetType

        public static void addTargetType​(FlatBufferBuilder builder,
                                         int targetType)
      • addIsRgbm

        public static void addIsRgbm​(FlatBufferBuilder builder,
                                     boolean isRgbm)