Updated mustache template to support functions

このコミットが含まれているのは:
Sergio Pedri committed 2019-09-04 11:58:19 +02:00
1 親 22d281eee8
コミット 337be904a3
1ファイル変更
+10
+10
ファイルの表示
@@ -50,3 +50,13 @@ void CSMain(uint3 {{ThreadsIdsVariableName}} : SV_DispatchThreadId)
{{ThreadsIdsVariableName}}.z < __z__) // Automatic bounds check
{{&ShaderBody}}
}
{{!Shader private functions}}
{{#FunctionsList}}
// {{FunctionCsharpReturnType}} {{FunctionFullName}}({{FunctionCsharpParameters}})
{{ReturnType}} {{FunctionName}}(
{{#ParametersList}}
{{ParameterHlslType}} {{ParameterName}} {{^IsLastParameter}},{{/IsLastParameter}}
{{/ParametersList}})
{{FunctionBody}}
{{/FunctionsList}}