ShaderPhrase

class ShaderPhrase(val phrase: String)(source)

A single shader phrase.

Constructors

Link copied to clipboard
constructor(phrase: String)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun register(bookId: String? = null)

Register this shader phrase in the ShaderPhraseRegistry This will likely be called by ShaderPhraseBook