Difference between revisions of "Technique FX Composer 2 extension"

From COLLADA Public Wiki
Jump to navigation Jump to search
Line 17: Line 17:
 
     </pass>
 
     </pass>
 
     <extra type="import">
 
     <extra type="import">
         <technique profile="NV_import">
+
         <technique profile="NVIDIA_FXCOMPOSER">
 
             <import compiler_options="-D DEFINE"/>
 
             <import compiler_options="-D DEFINE"/>
 
         </technique>
 
         </technique>
 
     </extra>
 
     </extra>
 
  </technique>
 
  </technique>

Revision as of 17:49, 28 June 2007

Extension information
  • Purpose: unstated
  • Company(s): NVIDIA
  • Product(s): FX Composer 2
  • Last updated: unstated
  • Contact for technical issues:
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>