Class TextureDef
- java.lang.Object
-
- com.google.flatbuffers.Table
-
- com.google.ar.sceneform.lullmodel.TextureDef
-
public final class TextureDef extends Table
-
-
Field Summary
-
Fields inherited from class com.google.flatbuffers.Table
UTF8_CHARSET
-
-
Constructor Summary
Constructors Constructor Description TextureDef()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TextureDef
__assign(int _i, java.nio.ByteBuffer _bb)
void
__init(int _i, java.nio.ByteBuffer _bb)
static void
addData(FlatBufferBuilder builder, int dataOffset)
static void
addFile(FlatBufferBuilder builder, int fileOffset)
static void
addGenerateMipmaps(FlatBufferBuilder builder, boolean generateMipmaps)
static void
addIsRgbm(FlatBufferBuilder builder, boolean isRgbm)
static void
addMagFilter(FlatBufferBuilder builder, int magFilter)
static void
addMinFilter(FlatBufferBuilder builder, int minFilter)
static void
addName(FlatBufferBuilder builder, int nameOffset)
static void
addPremultiplyAlpha(FlatBufferBuilder builder, boolean premultiplyAlpha)
static void
addTargetType(FlatBufferBuilder builder, int targetType)
static void
addWrapR(FlatBufferBuilder builder, int wrapR)
static void
addWrapS(FlatBufferBuilder builder, int wrapS)
static void
addWrapT(FlatBufferBuilder builder, int wrapT)
static int
createDataVector(FlatBufferBuilder builder, byte[] data)
static int
createDataVector(FlatBufferBuilder builder, java.nio.ByteBuffer data)
static int
createTextureDef(FlatBufferBuilder builder, int nameOffset, int fileOffset, int dataOffset, boolean generate_mipmaps, boolean premultiply_alpha, int min_filter, int mag_filter, int wrap_s, int wrap_t, int wrap_r, int target_type, boolean is_rgbm)
int
data(int j)
java.nio.ByteBuffer
dataAsByteBuffer()
java.nio.ByteBuffer
dataInByteBuffer(java.nio.ByteBuffer _bb)
int
dataLength()
static int
endTextureDef(FlatBufferBuilder builder)
java.lang.String
file()
java.nio.ByteBuffer
fileAsByteBuffer()
java.nio.ByteBuffer
fileInByteBuffer(java.nio.ByteBuffer _bb)
boolean
generateMipmaps()
static TextureDef
getRootAsTextureDef(java.nio.ByteBuffer _bb)
static TextureDef
getRootAsTextureDef(java.nio.ByteBuffer _bb, TextureDef obj)
boolean
isRgbm()
int
magFilter()
int
minFilter()
java.lang.String
name()
java.nio.ByteBuffer
nameAsByteBuffer()
java.nio.ByteBuffer
nameInByteBuffer(java.nio.ByteBuffer _bb)
boolean
premultiplyAlpha()
static void
startDataVector(FlatBufferBuilder builder, int numElems)
static void
startTextureDef(FlatBufferBuilder builder)
int
targetType()
int
wrapR()
int
wrapS()
int
wrapT()
-
Methods inherited from class com.google.flatbuffers.Table
__reset, getByteBuffer
-
-
-
-
Method Detail
-
getRootAsTextureDef
public static TextureDef getRootAsTextureDef(java.nio.ByteBuffer _bb)
-
getRootAsTextureDef
public static TextureDef getRootAsTextureDef(java.nio.ByteBuffer _bb, TextureDef obj)
-
__init
public void __init(int _i, java.nio.ByteBuffer _bb)
-
__assign
public TextureDef __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)
-
file
public java.lang.String file()
-
fileAsByteBuffer
public java.nio.ByteBuffer fileAsByteBuffer()
-
fileInByteBuffer
public java.nio.ByteBuffer fileInByteBuffer(java.nio.ByteBuffer _bb)
-
data
public int data(int j)
-
dataLength
public int dataLength()
-
dataAsByteBuffer
public java.nio.ByteBuffer dataAsByteBuffer()
-
dataInByteBuffer
public java.nio.ByteBuffer dataInByteBuffer(java.nio.ByteBuffer _bb)
-
generateMipmaps
public boolean generateMipmaps()
-
premultiplyAlpha
public boolean premultiplyAlpha()
-
minFilter
public int minFilter()
-
magFilter
public int magFilter()
-
wrapS
public int wrapS()
-
wrapT
public int wrapT()
-
wrapR
public int wrapR()
-
targetType
public int targetType()
-
isRgbm
public boolean isRgbm()
-
createTextureDef
public static int createTextureDef(FlatBufferBuilder builder, int nameOffset, int fileOffset, int dataOffset, boolean generate_mipmaps, boolean premultiply_alpha, int min_filter, int mag_filter, int wrap_s, int wrap_t, int wrap_r, int target_type, boolean is_rgbm)
-
startTextureDef
public static void startTextureDef(FlatBufferBuilder builder)
-
addName
public static void addName(FlatBufferBuilder builder, int nameOffset)
-
addFile
public static void addFile(FlatBufferBuilder builder, int fileOffset)
-
addData
public static void addData(FlatBufferBuilder builder, int dataOffset)
-
createDataVector
public static int createDataVector(FlatBufferBuilder builder, byte[] data)
-
createDataVector
public static int createDataVector(FlatBufferBuilder builder, java.nio.ByteBuffer data)
-
startDataVector
public static void startDataVector(FlatBufferBuilder builder, int numElems)
-
addGenerateMipmaps
public static void addGenerateMipmaps(FlatBufferBuilder builder, boolean generateMipmaps)
-
addPremultiplyAlpha
public static void addPremultiplyAlpha(FlatBufferBuilder builder, boolean premultiplyAlpha)
-
addMinFilter
public static void addMinFilter(FlatBufferBuilder builder, int minFilter)
-
addMagFilter
public static void addMagFilter(FlatBufferBuilder builder, int magFilter)
-
addWrapS
public static void addWrapS(FlatBufferBuilder builder, int wrapS)
-
addWrapT
public static void addWrapT(FlatBufferBuilder builder, int wrapT)
-
addWrapR
public static void addWrapR(FlatBufferBuilder builder, int wrapR)
-
addTargetType
public static void addTargetType(FlatBufferBuilder builder, int targetType)
-
addIsRgbm
public static void addIsRgbm(FlatBufferBuilder builder, boolean isRgbm)
-
endTextureDef
public static int endTextureDef(FlatBufferBuilder builder)
-
-