Class ModelPipelineRenderableDef


  • public final class ModelPipelineRenderableDef
    extends Table
    • Constructor Detail

      • ModelPipelineRenderableDef

        public ModelPipelineRenderableDef()
    • Method Detail

      • getRootAsModelPipelineRenderableDef

        public static ModelPipelineRenderableDef getRootAsModelPipelineRenderableDef​(java.nio.ByteBuffer _bb)
      • __init

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

        public java.lang.String source()
        The name of ModelPipelineImportDef defining this model.
      • sourceAsByteBuffer

        public java.nio.ByteBuffer sourceAsByteBuffer()
      • sourceInByteBuffer

        public java.nio.ByteBuffer sourceInByteBuffer​(java.nio.ByteBuffer _bb)
      • materials

        public ModelPipelineMaterialDef materials​(int j)
        The material properties for the model. Each index in the array corresponds to a submesh in the model.
      • materialsLength

        public int materialsLength()
      • attributes

        public int attributes​(int j)
        Specific vertex attributes to export. For multiple attributes with the same usage (eg. two uv-coords for textures), simply list the attribute twice, regardless of order.
      • attributesLength

        public int attributesLength()
      • attributesAsByteBuffer

        public java.nio.ByteBuffer attributesAsByteBuffer()
      • attributesInByteBuffer

        public java.nio.ByteBuffer attributesInByteBuffer​(java.nio.ByteBuffer _bb)
      • createModelPipelineRenderableDef

        public static int createModelPipelineRenderableDef​(FlatBufferBuilder builder,
                                                           int sourceOffset,
                                                           int materialsOffset,
                                                           int attributesOffset)
      • startModelPipelineRenderableDef

        public static void startModelPipelineRenderableDef​(FlatBufferBuilder builder)
      • addSource

        public static void addSource​(FlatBufferBuilder builder,
                                     int sourceOffset)
      • addMaterials

        public static void addMaterials​(FlatBufferBuilder builder,
                                        int materialsOffset)
      • createMaterialsVector

        public static int createMaterialsVector​(FlatBufferBuilder builder,
                                                int[] data)
      • startMaterialsVector

        public static void startMaterialsVector​(FlatBufferBuilder builder,
                                                int numElems)
      • addAttributes

        public static void addAttributes​(FlatBufferBuilder builder,
                                         int attributesOffset)
      • createAttributesVector

        public static int createAttributesVector​(FlatBufferBuilder builder,
                                                 int[] data)
      • startAttributesVector

        public static void startAttributesVector​(FlatBufferBuilder builder,
                                                 int numElems)
      • endModelPipelineRenderableDef

        public static int endModelPipelineRenderableDef​(FlatBufferBuilder builder)