Class MaterialTextureDef


  • public final class MaterialTextureDef
    extends Table
    • Constructor Detail

      • MaterialTextureDef

        public MaterialTextureDef()
    • Method Detail

      • getRootAsMaterialTextureDef

        public static MaterialTextureDef getRootAsMaterialTextureDef​(java.nio.ByteBuffer _bb)
      • __init

        public void __init​(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)
      • usage

        public int usage()
      • usagePerChannel

        public int usagePerChannel​(int j)
        For textures with multiple usages, this array describes the usage of each channel.
      • usagePerChannelLength

        public int usagePerChannelLength()
      • usagePerChannelAsByteBuffer

        public java.nio.ByteBuffer usagePerChannelAsByteBuffer()
      • usagePerChannelInByteBuffer

        public java.nio.ByteBuffer usagePerChannelInByteBuffer​(java.nio.ByteBuffer _bb)
      • createMaterialTextureDef

        public static int createMaterialTextureDef​(FlatBufferBuilder builder,
                                                   int nameOffset,
                                                   int usage,
                                                   int usage_per_channelOffset)
      • startMaterialTextureDef

        public static void startMaterialTextureDef​(FlatBufferBuilder builder)
      • addName

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

        public static void addUsagePerChannel​(FlatBufferBuilder builder,
                                              int usagePerChannelOffset)
      • createUsagePerChannelVector

        public static int createUsagePerChannelVector​(FlatBufferBuilder builder,
                                                      int[] data)
      • startUsagePerChannelVector

        public static void startUsagePerChannelVector​(FlatBufferBuilder builder,
                                                      int numElems)
      • endMaterialTextureDef

        public static int endMaterialTextureDef​(FlatBufferBuilder builder)