class ShaderProgram
source · line 4public
public class ShaderProgram private constructor(private val resource: GraphicsResource) : Closeable
- Supertype
Closeable - Inherited
fun dispose(): Unit· Closeable
A reusable, owner-thread SkSL shader program.
property isClosed
source · line 5public
public val isClosed: Boolean
get: public read-only
getter get
source · line 5public
get(): Boolean
function makeShader
source · line 38public
public fun makeShader(configure: ShaderBindings.() -> Unit = {}): Shader
Freezes this configuration as a shader for shape fills or another program's input.
parameter configure
source · line 38public
configure: ShaderBindings.() -> Unit = {}
function close
source · line 6public
public override fun close(): Unit
- Overrides
close