class CrShader::EmitTargetDecl

Defined in:

crshader/ast/shader_ast.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(output_path : String, target : ShaderTarget | Nil = nil, godot_compute_header : Bool = false, features : Hash(String, FeatureValue) = {} of String => FeatureValue) #

Instance Method Detail

def features : Hash(String, FeatureValue) #

def features=(features : Hash(String, FeatureValue)) #

def godot_compute_header : Bool #

def godot_compute_header=(godot_compute_header : Bool) #

def output_path : String #

def output_path=(output_path : String) #

def target : ShaderTarget | Nil #

def target=(target : ShaderTarget | Nil) #