GlslGenerator

class GlslGenerator(val kind: ShaderType, val config: GlslConfig) : BaseGlslGenerator

Constructors

Link copied to clipboard
constructor(kind: ShaderType, config: GlslConfig)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data class Result(val generator: GlslGenerator, val result: String, val attributes: List<Attribute>, val uniforms: List<Uniform>, val varyings: List<Varying>)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val config: GlslConfig
Link copied to clipboard
Link copied to clipboard
open val IN: String
Link copied to clipboard
Link copied to clipboard
open val OUT: String
Link copied to clipboard
open val UNIFORM: String

Functions

Link copied to clipboard
fun generate(root: Shader): String
fun generate(root: Program.Stm, funcs: List<FuncDecl>): String
Link copied to clipboard
open fun precToString(prec: Precision): String
Link copied to clipboard
open fun typeToString(type: VarType): String