MaterialDef

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open fun __assign(_i: Int, _bb: ByteBuffer): MaterialDef
Link copied to clipboard
open fun __init(_i: Int, _bb: ByteBuffer)
Link copied to clipboard
open fun __reset()
Resets the internal state with a null ByteBuffer and a zero position.
Link copied to clipboard
open fun addName(builder: FlatBufferBuilder, nameOffset: Int)
Link copied to clipboard
open fun addProperties(builder: FlatBufferBuilder, propertiesOffset: Int)
Link copied to clipboard
open fun addTextures(builder: FlatBufferBuilder, texturesOffset: Int)
Link copied to clipboard
open fun createMaterialDef(builder: FlatBufferBuilder, nameOffset: Int, propertiesOffset: Int, texturesOffset: Int): Int
Link copied to clipboard
open fun createTexturesVector(builder: FlatBufferBuilder, data: Array<Int>): Int
Link copied to clipboard
Link copied to clipboard
Get the underlying ByteBuffer.
Link copied to clipboard
open fun name(): String
The name of the material.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
A dictionary of all material properties extracted from the source file.
Link copied to clipboard
Link copied to clipboard
open fun startTexturesVector(builder: FlatBufferBuilder, numElems: Int)
Link copied to clipboard
The list of textures associated with the Material.
Link copied to clipboard
open fun texturesLength(): Int