Class MaterialTextureDef
- java.lang.Object
-
- com.google.flatbuffers.Table
-
- com.google.ar.sceneform.lullmodel.MaterialTextureDef
-
public final class MaterialTextureDef extends Table
-
-
Field Summary
-
Fields inherited from class com.google.flatbuffers.Table
UTF8_CHARSET
-
-
Constructor Summary
Constructors Constructor Description MaterialTextureDef()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MaterialTextureDef
__assign(int _i, java.nio.ByteBuffer _bb)
void
__init(int _i, java.nio.ByteBuffer _bb)
static void
addName(FlatBufferBuilder builder, int nameOffset)
static void
addUsage(FlatBufferBuilder builder, int usage)
static void
addUsagePerChannel(FlatBufferBuilder builder, int usagePerChannelOffset)
static int
createMaterialTextureDef(FlatBufferBuilder builder, int nameOffset, int usage, int usage_per_channelOffset)
static int
createUsagePerChannelVector(FlatBufferBuilder builder, int[] data)
static int
endMaterialTextureDef(FlatBufferBuilder builder)
static MaterialTextureDef
getRootAsMaterialTextureDef(java.nio.ByteBuffer _bb)
static MaterialTextureDef
getRootAsMaterialTextureDef(java.nio.ByteBuffer _bb, MaterialTextureDef obj)
java.lang.String
name()
java.nio.ByteBuffer
nameAsByteBuffer()
java.nio.ByteBuffer
nameInByteBuffer(java.nio.ByteBuffer _bb)
static void
startMaterialTextureDef(FlatBufferBuilder builder)
static void
startUsagePerChannelVector(FlatBufferBuilder builder, int numElems)
int
usage()
int
usagePerChannel(int j)
For textures with multiple usages, this array describes the usage of each channel.java.nio.ByteBuffer
usagePerChannelAsByteBuffer()
java.nio.ByteBuffer
usagePerChannelInByteBuffer(java.nio.ByteBuffer _bb)
int
usagePerChannelLength()
-
Methods inherited from class com.google.flatbuffers.Table
__reset, getByteBuffer
-
-
-
-
Method Detail
-
getRootAsMaterialTextureDef
public static MaterialTextureDef getRootAsMaterialTextureDef(java.nio.ByteBuffer _bb)
-
getRootAsMaterialTextureDef
public static MaterialTextureDef getRootAsMaterialTextureDef(java.nio.ByteBuffer _bb, MaterialTextureDef obj)
-
__init
public void __init(int _i, java.nio.ByteBuffer _bb)
-
__assign
public MaterialTextureDef __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)
-
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)
-
addUsage
public static void addUsage(FlatBufferBuilder builder, int usage)
-
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)
-
-