Factory

interface Factory

A factory for shaders.

Types

Companion
Link copied to clipboard
object Companion

Functions

createShader
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.