onShaderCompileFailed

abstract fun onShaderCompileFailed(id: Int, type: Int, additionalDefines: String)

Called when a shader fails to compile.

Parameters

id

of a shader type enumeration. See `mbgl::shaders::BuiltIn` for a list of possible values.

type

of graphics backend the shader is being compiled for. See `mbgl::gfx::Backend::Type` for a list of possible values.

additionalDefines

that specify the permutation of the shader.