Difference between revisions of "Effect FX Composer 2 extension"

From COLLADA Public Wiki
Jump to: navigation, search
(merge template into existing material & experiment w/different header levels)
(Undo revision 7092 by LLutz74 (talk))
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{extensions|company=NVIDIA|product=FX Composer 2}}
{{extension|company=NVIDIA|product=FX Composer 2}}
==<import> Element==
==<import> Element==

Latest revision as of 18:03, 26 September 2011

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

<import> Element

Category: (See list of specification categories)

Introduction: Custom HLSL and CGFX Profiles for FX Composer.


This <extra> at the <effect> level defines an effect with a direct reference to an external .fx or .cgfx file. It also includes compiler options for the specified effect file and can appear more than one time in the case of multiple profiles.


Name Type Description Required?
url The url of the effect file to import.
compiler_options Compiler options for the specified file
profile The name of the profile (fx or cgfx)

Related Elements

Parent element(s) <effect>
Extra and/or Technique <extra type="import">/<technique profile="NVIDIA_FXCOMPOSER">
Child elements None
Other list any other relevant elements



<effect id="Effect1" name="Gooch">
       <technique sid="__fxc2_default">
   <extra type="import">
       <technique profile="NVIDIA_FXCOMPOSER">
           <import url="../Projects/Gooch.cgfx" compiler_options="" profile="cgfx"/>