Factory

interface Factory

A factory for shaders.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun createShader(type: ShaderType, source: String): Shader

Creates a new shader of a given type from the given shader source.