Builder

actual class Builder

Builder for creating Material objects from compiled material packages.

The Builder takes a material package (binary blob from the matc compiler) and configures rendering quality and batching options before building the final Material.

expect class Builder

Builder for creating Material objects from compiled material packages.

The Builder takes a material package (binary blob from the matc compiler) and configures rendering quality and batching options before building the final Material.

actual class Builder

Builder for creating Material objects from compiled material packages.

The Builder takes a material package (binary blob from the matc compiler) and configures rendering quality and batching options before building the final Material.

actual class Builder

Builder for creating Material objects from compiled material packages.

The Builder takes a material package (binary blob from the matc compiler) and configures rendering quality and batching options before building the final Material.

actual class Builder

Builder for creating Material objects from compiled material packages.

The Builder takes a material package (binary blob from the matc compiler) and configures rendering quality and batching options before building the final Material.

Constructors

Link copied to clipboard
actual constructor()
expect constructor()
constructor()
actual constructor()
actual constructor()

Types

Link copied to clipboard

Shadow sampling quality affects how soft shadows are rendered.

Shadow sampling quality affects how soft shadows are rendered.

Shadow sampling quality affects how soft shadows are rendered.

Shadow sampling quality affects how soft shadows are rendered.

Shadow sampling quality affects how soft shadows are rendered.

Functions

Link copied to clipboard
actual fun build(engine: Engine): Material

Creates the Material and returns it.

expect fun build(engine: Engine): Material

Creates the Material and returns it.

actual fun build(engine: Engine): Material

Creates the Material and returns it.

actual fun build(engine: Engine): Material

Creates the Material and returns it.

actual fun build(engine: Engine): Material

Creates the Material and returns it.

Link copied to clipboard

Specifies the material data (compiled binary blob).

Specifies the material data (compiled binary blob).

Specifies the material data (compiled binary blob).

Specifies the material data (compiled binary blob).

Specifies the material data (compiled binary blob).

Link copied to clipboard

Set the quality of shadow sampling.

Set the quality of shadow sampling.

Set the quality of shadow sampling.

Set the quality of shadow sampling.

Set the quality of shadow sampling.

Link copied to clipboard

Sets the quality of the indirect light computations.

Sets the quality of the indirect light computations.

Sets the quality of the indirect light computations.

Sets the quality of the indirect light computations.

Sets the quality of the indirect light computations.

Link copied to clipboard

Set the batching mode of the instances created from this material.

Set the batching mode of the instances created from this material.

Set the batching mode of the instances created from this material.

Set the batching mode of the instances created from this material.

Set the batching mode of the instances created from this material.