struct CrShader::Templates::Entry

Defined in:

crshader/templates.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : String, name : String, mode : Mode, summary : String, source : String) #

Instance Method Detail

def id : String #

def mode : Mode #

def name : String #

def render(file_path : String = "new_shader.crshader") : String #

Renders template source, dedenting common heredoc margin and substituting {{STEM}}.


def source : String #

def summary : String #