Class MaterialDef
- java.lang.Object
-
- com.google.flatbuffers.Table
-
- com.google.ar.sceneform.lullmodel.MaterialDef
-
public final class MaterialDef extends Table
-
-
Field Summary
-
Fields inherited from class com.google.flatbuffers.Table
UTF8_CHARSET
-
-
Constructor Summary
Constructors Constructor Description MaterialDef()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MaterialDef
__assign(int _i, java.nio.ByteBuffer _bb)
void
__init(int _i, java.nio.ByteBuffer _bb)
static void
addName(FlatBufferBuilder builder, int nameOffset)
static void
addProperties(FlatBufferBuilder builder, int propertiesOffset)
static void
addTextures(FlatBufferBuilder builder, int texturesOffset)
static int
createMaterialDef(FlatBufferBuilder builder, int nameOffset, int propertiesOffset, int texturesOffset)
static int
createTexturesVector(FlatBufferBuilder builder, int[] data)
static int
endMaterialDef(FlatBufferBuilder builder)
static MaterialDef
getRootAsMaterialDef(java.nio.ByteBuffer _bb)
static MaterialDef
getRootAsMaterialDef(java.nio.ByteBuffer _bb, MaterialDef obj)
java.lang.String
name()
The name of the material.java.nio.ByteBuffer
nameAsByteBuffer()
java.nio.ByteBuffer
nameInByteBuffer(java.nio.ByteBuffer _bb)
VariantMapDef
properties()
A dictionary of all material properties extracted from the source file.VariantMapDef
properties(VariantMapDef obj)
static void
startMaterialDef(FlatBufferBuilder builder)
static void
startTexturesVector(FlatBufferBuilder builder, int numElems)
MaterialTextureDef
textures(int j)
The list of textures associated with the Material.MaterialTextureDef
textures(MaterialTextureDef obj, int j)
int
texturesLength()
-
Methods inherited from class com.google.flatbuffers.Table
__reset, getByteBuffer
-
-
-
-
Method Detail
-
getRootAsMaterialDef
public static MaterialDef getRootAsMaterialDef(java.nio.ByteBuffer _bb)
-
getRootAsMaterialDef
public static MaterialDef getRootAsMaterialDef(java.nio.ByteBuffer _bb, MaterialDef obj)
-
__init
public void __init(int _i, java.nio.ByteBuffer _bb)
-
__assign
public MaterialDef __assign(int _i, java.nio.ByteBuffer _bb)
-
name
public java.lang.String name()
The name of the material.
-
nameAsByteBuffer
public java.nio.ByteBuffer nameAsByteBuffer()
-
nameInByteBuffer
public java.nio.ByteBuffer nameInByteBuffer(java.nio.ByteBuffer _bb)
-
properties
public VariantMapDef properties()
A dictionary of all material properties extracted from the source file. These properties are interpretted by the RenderSystem to create the appropriate Material.
-
properties
public VariantMapDef properties(VariantMapDef obj)
-
textures
public MaterialTextureDef textures(int j)
The list of textures associated with the Material.
-
textures
public MaterialTextureDef textures(MaterialTextureDef obj, int j)
-
texturesLength
public int texturesLength()
-
createMaterialDef
public static int createMaterialDef(FlatBufferBuilder builder, int nameOffset, int propertiesOffset, int texturesOffset)
-
startMaterialDef
public static void startMaterialDef(FlatBufferBuilder builder)
-
addName
public static void addName(FlatBufferBuilder builder, int nameOffset)
-
addProperties
public static void addProperties(FlatBufferBuilder builder, int propertiesOffset)
-
addTextures
public static void addTextures(FlatBufferBuilder builder, int texturesOffset)
-
createTexturesVector
public static int createTexturesVector(FlatBufferBuilder builder, int[] data)
-
startTexturesVector
public static void startTexturesVector(FlatBufferBuilder builder, int numElems)
-
endMaterialDef
public static int endMaterialDef(FlatBufferBuilder builder)
-
-