Effect FX Composer 2 extension: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
experiment with inserting new template |
||
Line 1: | Line 1: | ||
{{extensions|company=NVIDIA|product=FX Composer 2}} | {{extensions|company=NVIDIA|product=FX Composer 2}} | ||
{{extensions | |||
| company = yourcompanyname | |||
| product = yourproductname}} | |||
'''Category:''' <!-- fill in --> (See [[list of specification categories]]) | |||
'''Introduction:''' <!-- fill in one sentence starting with a verb that describes purpose of this element --> | |||
==Concepts== | |||
<!-- Background info needed to understand this element's purpose and place within COLLADA --> | |||
==Attributes== | |||
{| {{prettytable}} | |||
|- | |||
!Name||Type||Description||Required? | |||
|- | |||
|example||xs:token||A text string value that specifies blah.||Yes | |||
|} | |||
==Related Elements== | |||
{| {{prettytable}} | |||
|- | |||
!Parent element(s) | |||
|list_here | |||
|- | |||
!Extra and/or Technique | |||
|fill_in--e.g., <extra type="foo">/<technique profile="BAR"> | |||
|- | |||
!Child elements | |||
|list_here or state None | |||
|- | |||
!Other | |||
|list any other relevant elements | |||
|} | |||
==Child Elements== | |||
{| {{prettytable}} | |||
|- | |||
!Name||Description||Default||Occurrences | |||
|- | |||
|Example||Specifies foo.||N/A||0 or more | |||
|} | |||
==Details== | |||
<!-- Additional info about how and where to use the element (and its children), lists of additional relevant links, detailed value tables for element or attribute values, etc. --> | |||
==Examples== | |||
<!-- Really required. --> | |||
== Custom HLSL and CGFX Profiles for FX Composer == | == Custom HLSL and CGFX Profiles for FX Composer == | ||
This <extra> at the <effect> level defines an effect with a direct reference to an external <code>.fx or .cgfx</code> file. | This <extra> at the <effect> level defines an effect with a direct reference to an external <code>.fx or .cgfx</code> file. |
Revision as of 04:22, 10 December 2008
Extension information |
---|
|
This article is part of the COLLADA extensions directory |
Adding to the extensions directory |
Extension information |
---|
|
This article is part of the COLLADA extensions directory |
Adding to the extensions directory |
Category: (See list of specification categories)
Introduction:
Concepts
Attributes
Name | Type | Description | Required? |
---|---|---|---|
example | xs:token | A text string value that specifies blah. | Yes |
Related Elements
Parent element(s) | list_here |
---|---|
Extra and/or Technique | fill_in--e.g., <extra type="foo">/<technique profile="BAR"> |
Child elements | list_here or state None |
Other | list any other relevant elements |
Child Elements
Name | Description | Default | Occurrences |
---|---|---|---|
Example | Specifies foo. | N/A | 0 or more |
Details
Examples
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.
Attribute | Description |
---|---|
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) |
Example
<effect id="Effect1" name="Gooch"> <profile_COMMON> <technique sid="__fxc2_default"> <constant/> </technique> </profile_COMMON> <extra type="import"> <technique profile="NVIDIA_FXCOMPOSER"> <import url="../Projects/Gooch.cgfx" compiler_options="" profile="cgfx"/> </technique> </extra> </effect>