class
CrShader::TraitDecl
- CrShader::TraitDecl
- Reference
- Object
Defined in:
crshader/ast/shader_ast.crConstructors
Instance Method Summary
- #classes : Hash(String, ClassDecl)
- #classes=(classes : Hash(String, ClassDecl))
- #constants : Array(ConstantDecl)
- #constants=(constants : Array(ConstantDecl))
- #curves : Array(CurveDecl)
- #curves=(curves : Array(CurveDecl))
- #features : Array(FeatureDecl)
- #features=(features : Array(FeatureDecl))
- #fragment_hooks : Array(Crystal::ASTNode)
- #fragment_hooks=(fragment_hooks : Array(Crystal::ASTNode))
- #functions : Hash(String, Crystal::Def)
- #functions=(functions : Hash(String, Crystal::Def))
- #gradients : Array(GradientDecl)
- #gradients=(gradients : Array(GradientDecl))
- #light_hooks : Array(Crystal::ASTNode)
- #light_hooks=(light_hooks : Array(Crystal::ASTNode))
- #name : String
- #name=(name : String)
- #pixel_hooks : Array(TraitPixelHook)
- #pixel_hooks=(pixel_hooks : Array(TraitPixelHook))
- #requires : Set(String)
- #requires=(requires : Set(String))
- #structs : Hash(String, StructDecl)
- #structs=(structs : Hash(String, StructDecl))
- #uniforms : Array(UniformDecl)
- #uniforms=(uniforms : Array(UniformDecl))
- #varyings : Array(VaryingDecl)
- #varyings=(varyings : Array(VaryingDecl))
- #vertex_hooks : Array(Crystal::ASTNode)
- #vertex_hooks=(vertex_hooks : Array(Crystal::ASTNode))