You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
812 B
25 lines
812 B
10 years ago
|
ShaderNodeDefinitions{
|
||
|
ShaderNodeDefinition ${defName} {
|
||
|
Type: ${defType}
|
||
|
Shader GLSL100: ${shaderSnippet}
|
||
|
Documentation{
|
||
|
${description}
|
||
|
<#list inputParams as param>
|
||
|
@input ${param[0]} ${param[1]} ${param[2]}
|
||
|
</#list>
|
||
|
<#list outputParams as param>
|
||
|
@output ${param[0]} ${param[1]} ${param[2]}
|
||
|
</#list>
|
||
|
}
|
||
|
Input {
|
||
|
<#list inputParams as param>
|
||
|
${param[0]} ${param[1]}
|
||
|
</#list>
|
||
|
}
|
||
|
Output {
|
||
|
<#list outputParams as param>
|
||
|
${param[0]} ${param[1]}
|
||
|
</#list>
|
||
|
}
|
||
|
}
|
||
|
}
|