class CrShader::FeatureDecl

Defined in:

crshader/ast/shader_ast.cr

Constructors

Instance Method Summary

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) #

Instance Method Detail

def active_value : String #

def active_value=(active_value : String) #

def default_value : String #

def default_value=(default_value : String) #

def doc_comment : String | Nil #

def doc_comment=(doc_comment : String | Nil) #

def kind : FeatureKind #

def kind=(kind : FeatureKind) #

def macro_name : String #

def macro_name=(macro_name : String) #

def name : String #

def name=(name : String) #

def options : Array(String) #

def options=(options : Array(String)) #