Uniform

annotation class Uniform(val binding: Int = 0, val shaderStage: ShaderStage = ShaderStage.ALL)

Marks a video effect property as a shader uniform.

Properties

Link copied to clipboard
val binding: Int = 0

The zero-based uniform binding index.

Link copied to clipboard

The shader stage that uses the uniform.