Updated mustache template to support functions
このコミットが含まれているのは:
1 親
22d281eee8
コミット
337be904a3
1ファイル変更
+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}}
|
||||
新しいイシューから参照
ユーザーをブロックする