Class ModelPipelineRenderableDef
- java.lang.Object
-
- com.google.flatbuffers.Table
-
- com.google.ar.sceneform.lullmodel.ModelPipelineRenderableDef
-
public final class ModelPipelineRenderableDef extends Table
-
-
Field Summary
-
Fields inherited from class com.google.flatbuffers.Table
UTF8_CHARSET
-
-
Constructor Summary
Constructors Constructor Description ModelPipelineRenderableDef()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelPipelineRenderableDef
__assign(int _i, java.nio.ByteBuffer _bb)
void
__init(int _i, java.nio.ByteBuffer _bb)
static void
addAttributes(FlatBufferBuilder builder, int attributesOffset)
static void
addMaterials(FlatBufferBuilder builder, int materialsOffset)
static void
addSource(FlatBufferBuilder builder, int sourceOffset)
int
attributes(int j)
Specific vertex attributes to export.java.nio.ByteBuffer
attributesAsByteBuffer()
java.nio.ByteBuffer
attributesInByteBuffer(java.nio.ByteBuffer _bb)
int
attributesLength()
static int
createAttributesVector(FlatBufferBuilder builder, int[] data)
static int
createMaterialsVector(FlatBufferBuilder builder, int[] data)
static int
createModelPipelineRenderableDef(FlatBufferBuilder builder, int sourceOffset, int materialsOffset, int attributesOffset)
static int
endModelPipelineRenderableDef(FlatBufferBuilder builder)
static ModelPipelineRenderableDef
getRootAsModelPipelineRenderableDef(java.nio.ByteBuffer _bb)
static ModelPipelineRenderableDef
getRootAsModelPipelineRenderableDef(java.nio.ByteBuffer _bb, ModelPipelineRenderableDef obj)
ModelPipelineMaterialDef
materials(int j)
The material properties for the model.ModelPipelineMaterialDef
materials(ModelPipelineMaterialDef obj, int j)
int
materialsLength()
java.lang.String
source()
The name of ModelPipelineImportDef defining this model.java.nio.ByteBuffer
sourceAsByteBuffer()
java.nio.ByteBuffer
sourceInByteBuffer(java.nio.ByteBuffer _bb)
static void
startAttributesVector(FlatBufferBuilder builder, int numElems)
static void
startMaterialsVector(FlatBufferBuilder builder, int numElems)
static void
startModelPipelineRenderableDef(FlatBufferBuilder builder)
-
Methods inherited from class com.google.flatbuffers.Table
__reset, getByteBuffer
-
-
-
-
Method Detail
-
getRootAsModelPipelineRenderableDef
public static ModelPipelineRenderableDef getRootAsModelPipelineRenderableDef(java.nio.ByteBuffer _bb)
-
getRootAsModelPipelineRenderableDef
public static ModelPipelineRenderableDef getRootAsModelPipelineRenderableDef(java.nio.ByteBuffer _bb, ModelPipelineRenderableDef obj)
-
__init
public void __init(int _i, java.nio.ByteBuffer _bb)
-
__assign
public ModelPipelineRenderableDef __assign(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.
-
materials
public ModelPipelineMaterialDef materials(ModelPipelineMaterialDef obj, int j)
-
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)
-
-