class
CrShader::FeatureDecl
- CrShader::FeatureDecl
- Reference
- Object
Defined in:
crshader/ast/shader_ast.crConstructors
Instance Method Summary
- #active_value : String
- #active_value=(active_value : String)
- #default_value : String
- #default_value=(default_value : String)
- #doc_comment : String | Nil
- #doc_comment=(doc_comment : String | Nil)
- #kind : FeatureKind
- #kind=(kind : FeatureKind)
- #macro_name : String
- #macro_name=(macro_name : String)
- #name : String
- #name=(name : String)
- #options : Array(String)
- #options=(options : Array(String))
Constructor Detail
def self.new(name : String, kind : FeatureKind, default_value : String, active_value : String | Nil = nil, options : Array(String) = [] of String, doc_comment : String | Nil = nil)
#