Package graphics.glimpse.shaders.annotations

Types

Attribute
Link copied to clipboard
common
@Target(allowedTargets = [])
annotation class Attribute(name: String, role: AttributeRole, vectorSize: Int)
Vertex attributes array provided to a shader from the mesh.
AttributeRole
Link copied to clipboard
common
enum AttributeRole : Enum<AttributeRole>
Attribute role.
ShaderParams
Link copied to clipboard
common
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class ShaderParams(attributes: Array<Attribute>)
Marks a class providing shader parameters data.
Uniform
Link copied to clipboard
common
@Target(allowedTargets = [AnnotationTarget.PROPERTY])
annotation class Uniform(name: String)
Marks a uniform variable property in ShaderParams-annotated class.