Builder

interface Builder

A builder for programs.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun build(): Program

Builds a new program with previously configured shaders.

Link copied to clipboard
abstract fun withFragmentShader(fragmentShader: Shader): Program.Builder

Will attach fragmentShader when building a program.

Link copied to clipboard
abstract fun withVertexShader(vertexShader: Shader): Program.Builder

Will attach vertexShader when building a program.