Technique FX Composer 2 extension: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{extensions|company=NVIDIA|product=FX Composer 2}} | {{extensions|company=NVIDIA|product=FX Composer 2}} | ||
== | == ColladaFX CG Compiler Options == | ||
This extra at the | FX Composer 2.0 added the possibility to set compiler options on a per technique level. This information is stored in an extra at the technique level. | ||
{| border=1 cellspacing=0 cellpadding=3 align=center | {| border=1 cellspacing=0 cellpadding=3 align=center | ||
|- | |- | ||
!width=20%| < | !width=20%| <import> Attributes !! Description | ||
|- | |- | ||
| | | compiler_options || The compiler options for the current technique | ||
|} | |} | ||
== Example == | == Example == | ||
< | <technique sid="Main"> | ||
< | <pass sid="p0"> | ||
[...] | |||
</pass> | |||
<extra type="import"> | |||
<technique profile="NV_import"> | |||
<import compiler_options="-D DEFINE"/> | |||
</technique> | |||
</extra> | |||
</technique> | |||
</ | |||
Revision as of 22:47, 13 June 2007
| Extension information |
|---|
|
| This article is part of the COLLADA extensions directory |
| Adding to the extensions directory |
ColladaFX CG Compiler Options
FX Composer 2.0 added the possibility to set compiler options on a per technique level. This information is stored in an extra at the technique level.
| <import> Attributes | Description |
|---|---|
| compiler_options | The compiler options for the current technique |
Example
<technique sid="Main">
<pass sid="p0">
[...]
</pass>
<extra type="import">
<technique profile="NV_import">
<import compiler_options="-D DEFINE"/>
</technique>
</extra>
</technique>