Technique FX Composer 2 extension

From COLLADA Public Wiki
Jump to: navigation, search
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>