Difference between revisions of "Surface FX Composer 2 extension"

From COLLADA Public Wiki
Jump to navigation Jump to search
(extensions->extension)
 
Line 1: Line 1:
{{extensions|company=NVIDIA|product=FX Composer 2}}
+
{{extension|company=NVIDIA|product=FX Composer 2}}
  
 
== Shared Surfaces Definition ==
 
== Shared Surfaces Definition ==

Latest revision as of 05:01, 23 February 2009

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

Shared Surfaces Definition

This extra at the surface level is used to define the name of the shared surface to use for the current parameter.

<share> Attributes Description
name The name of the shared surface

Example

<setparam ref="SurfColorAmbient">
   <surface type="2D">
       <init_as_target/>
       <format>X8B8G8R8</format>
       <viewport_ratio>1 1</viewport_ratio>
       <extra type="share">
           <technique profile="NVIDIA_FXCOMPOSER">
               <share name="SharedSurface"/>
           </technique>
       </extra>
   </surface>
</setparam>