Shader

interface Shader : ShaderImageBindings

Types

Companion
Link copied to clipboard
common
object Companion

Functions

begin
Link copied to clipboard
common
abstract fun begin()
block
Link copied to clipboard
common
abstract fun block(blockName: String, block: UniformBlock)
blockLayout
Link copied to clipboard
common
abstract fun blockLayout(blockName: String): UniformBlockLayout?
createBlock
Link copied to clipboard
common
abstract fun createBlock(blockName: String): UniformBlock?
destroy
Link copied to clipboard
common
abstract fun destroy()
end
Link copied to clipboard
common
abstract fun end()
hasUniform
Link copied to clipboard
common
abstract fun hasUniform(name: String): Boolean
image
Link copied to clipboard
common
abstract fun image(name: String, image: Int, imageBinding: ImageBinding)

Bind image unit to imageBinding

uniform
Link copied to clipboard
common
abstract fun uniform(name: String, value: Array<Double>)
abstract fun uniform(name: String, value: Array<ColorRGBa>)
abstract fun uniform(name: String, value: Array<IntVector2>)
abstract fun uniform(name: String, value: Array<IntVector3>)
abstract fun uniform(name: String, value: Array<IntVector4>)
abstract fun uniform(name: String, value: Array<Matrix44>)
abstract fun uniform(name: String, value: Array<Vector2>)
abstract fun uniform(name: String, value: Array<Vector3>)
abstract fun uniform(name: String, value: Array<Vector4>)
abstract fun uniform(name: String, value: Boolean)
abstract fun uniform(name: String, value: Double)
abstract fun uniform(name: String, value: Float)
abstract fun uniform(name: String, value: FloatArray)
abstract fun uniform(name: String, value: Int)
abstract fun uniform(name: String, value: IntArray)
abstract fun uniform(name: String, value: ColorRGBa)
abstract fun uniform(name: String, value: IntVector2)
abstract fun uniform(name: String, value: IntVector3)
abstract fun uniform(name: String, value: IntVector4)
abstract fun uniform(name: String, value: Matrix33)
abstract fun uniform(name: String, value: Matrix44)
abstract fun uniform(name: String, value: Vector2)
abstract fun uniform(name: String, value: Vector3)
abstract fun uniform(name: String, value: Vector4)
abstract fun uniform(name: String, x: Float, y: Float)
abstract fun uniform(name: String, x: Float, y: Float, z: Float)
abstract fun uniform(name: String, x: Float, y: Float, z: Float, w: Float)

Properties

session
Link copied to clipboard
common
abstract val session: Session?
types
Link copied to clipboard
common
abstract val types: Set<ShaderType>