class CrShader::DslParser

Defined in:

crshader/extensions/extension.cr
crshader/parser/dsl_parser.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(filename : String | Nil = nil, default_target : ShaderTarget = ShaderTarget::GDShader) #

Instance Method Detail

def current_group : String | Nil #

def current_group=(current_group : String | Nil) #

def current_subgroup : String | Nil #

def current_subgroup=(current_subgroup : String | Nil) #

def filename : String | Nil #

def macro_engine : MacroEngine #

def parse(source : String) : ShaderProgram #

def program : ShaderProgram #

def source_lines : Array(String) #