ShaderProvider

interface ShaderProvider

A provider that supplies OpenGL shader code.

Functions

Link copied to clipboard
open fun createFragmentShader(samplerVarName: String, fragCoordsVarName: String): String?

Creates the fragment shader code with the given variable names.