struct
CrShader::Templates::Entry
- CrShader::Templates::Entry
- Struct
- Value
- Object
Defined in:
crshader/templates.crConstructors
Instance Method Summary
- #id : String
- #mode : Mode
- #name : String
-
#render(file_path : String = "new_shader.crshader") : String
Renders template source, dedenting common heredoc margin and substituting
{{STEM}}. - #source : String
- #summary : String
Constructor Detail
Instance Method Detail
def render(file_path : String = "new_shader.crshader") : String
#
Renders template source, dedenting common heredoc margin and substituting {{STEM}}.