MaterialBuilder
MaterialBuilder compiles Filament material source code into binary packages.
MaterialBuilder takes high-level material definitions and generates optimized shaders for multiple backends (OpenGL, Vulkan, Metal, WebGPU). The resulting MaterialPackage can be loaded by Filament's Material system.
Initialization: Call Filamat.init() before using MaterialBuilder. Call shutdown() when finished.
Compilation: Configure material properties using methods like name(), shading(), blendingMode(), etc., then call build() to generate the package.
See also
MaterialBuilder compiles Filament material source code into binary packages.
MaterialBuilder takes high-level material definitions and generates optimized shaders for multiple backends (OpenGL, Vulkan, Metal, WebGPU). The resulting MaterialPackage can be loaded by Filament's Material system.
Initialization: Call Filamat.init() before using MaterialBuilder. Call shutdown() when finished.
Compilation: Configure material properties using methods like name(), shading(), blendingMode(), etc., then call build() to generate the package.
See also
MaterialBuilder compiles Filament material source code into binary packages.
MaterialBuilder takes high-level material definitions and generates optimized shaders for multiple backends (OpenGL, Vulkan, Metal, WebGPU). The resulting MaterialPackage can be loaded by Filament's Material system.
Initialization: Call Filamat.init() before using MaterialBuilder. Call shutdown() when finished.
Compilation: Configure material properties using methods like name(), shading(), blendingMode(), etc., then call build() to generate the package.
See also
MaterialBuilder compiles Filament material source code into binary packages.
MaterialBuilder takes high-level material definitions and generates optimized shaders for multiple backends (OpenGL, Vulkan, Metal, WebGPU). The resulting MaterialPackage can be loaded by Filament's Material system.
Initialization: Call Filamat.init() before using MaterialBuilder. Call shutdown() when finished.
Compilation: Configure material properties using methods like name(), shading(), blendingMode(), etc., then call build() to generate the package.
See also
MaterialBuilder compiles Filament material source code into binary packages.
MaterialBuilder takes high-level material definitions and generates optimized shaders for multiple backends (OpenGL, Vulkan, Metal, WebGPU). The resulting MaterialPackage can be loaded by Filament's Material system.
Initialization: Call Filamat.init() before using MaterialBuilder. Call shutdown() when finished.
Compilation: Configure material properties using methods like name(), shading(), blendingMode(), etc., then call build() to generate the package.
See also
Constructors
Types
Blending modes determine how material color combines with background color.
Blending modes determine how material color combines with background color.
Blending modes determine how material color combines with background color.
Blending modes determine how material color combines with background color.
Blending modes determine how material color combines with background color.
Vertex attribute interpolation in the fragment shader.
Vertex attribute interpolation in the fragment shader.
Vertex attribute interpolation in the fragment shader.
Vertex attribute interpolation in the fragment shader.
Vertex attribute interpolation in the fragment shader.
Precision level for numeric parameters.
Precision level for numeric parameters.
Precision level for numeric parameters.
Precision level for numeric parameters.
Precision level for numeric parameters.
Data format for sampler parameters.
Data format for sampler parameters.
Data format for sampler parameters.
Data format for sampler parameters.
Data format for sampler parameters.
Sampler types for texture parameters.
Sampler types for texture parameters.
Sampler types for texture parameters.
Sampler types for texture parameters.
Sampler types for texture parameters.
Shading model determines how light interacts with the material surface.
Shading model determines how light interacts with the material surface.
Shading model determines how light interacts with the material surface.
Shading model determines how light interacts with the material surface.
Shading model determines how light interacts with the material surface.
Uniform variable types in material parameters.
Uniform variable types in material parameters.
Uniform variable types in material parameters.
Uniform variable types in material parameters.
Uniform variable types in material parameters.
Custom vertex attribute variable slots.
Custom vertex attribute variable slots.
Custom vertex attribute variable slots.
Custom vertex attribute variable slots.
Custom vertex attribute variable slots.