Technique FX Composer 2 extension: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
extensions->extension |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{extension|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="NVIDIA_FXCOMPOSER"> | |||
<import compiler_options="-D DEFINE"/> | |||
</technique> | |||
</extra> | |||
</technique> | |||
</ |
Latest revision as of 05:00, 23 February 2009
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="NVIDIA_FXCOMPOSER"> <import compiler_options="-D DEFINE"/> </technique> </extra> </technique>