UnlitShaderData

@Serializable
data class UnlitShaderData(val baseColor: MaterialAttribute = ConstColorAttribute(ColorData(MdColor.GREY toneLin 500)), val genericSettings: GenericMaterialSettings = GenericMaterialSettings()) : MaterialShaderData

Constructors

Link copied to clipboard
constructor(baseColor: MaterialAttribute = ConstColorAttribute(ColorData(MdColor.GREY toneLin 500)), genericSettings: GenericMaterialSettings = GenericMaterialSettings())

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
open fun copy(genericSettings: GenericMaterialSettings = this.genericSettings): MaterialShaderData
Link copied to clipboard
suspend fun MaterialShaderData.createShader(meshLayoutInfo: MeshLayoutInfo, modelMats: List<ModelMatrixComposition>, sceneShaderData: SceneShaderData): DrawShader
Link copied to clipboard
fun MaterialShaderData.matchesShader(shader: DrawShader?): Boolean
Link copied to clipboard
suspend fun MaterialShaderData.updateShader(shader: DrawShader?, sceneShaderData: SceneShaderData): Boolean