COLLADA 1.4 DOM: domShader::domTechnique Class Reference

COLLADA

domShader::domTechnique Class Reference

#include <domShader.h>

Inheritance diagram for domShader::domTechnique:

Inheritance graph
[legend]
Collaboration diagram for domShader::domTechnique:

Collaboration graph
[legend]
List of all members.

Detailed Description

Each technique element specified corresponds to a (platform) profile.

This implies that the set of techniques are mutually exclusive. However, an application may choose to apply information from multiple techniques. The technique element must occur one or more times.

Public Member Functions

xsString getProfile () const
 Gets the profile attribute.
void setProfile (xsString atProfile)
 Sets the profile attribute.
const domAssetRef getAsset () const
 Gets the asset element.
domParam_ArraygetParam_array ()
 Gets the param element array.
const domParam_ArraygetParam_array () const
 Gets the param element array.
domPass_ArraygetPass_array ()
 Gets the pass element array.
const domPass_ArraygetPass_array () const
 Gets the pass element array.
const domProgramRef getProgram () const
 Gets the program element.

Static Public Member Functions

static daeElementRef create (daeInt bytes)
 Creates an instance of this class and returns a daeElementRef referencing it.
static daeMetaElementregisterElement ()
 Creates a daeMetaElement object that describes this element in the meta object reflection framework.

Static Public Attributes

static daeMetaElement_Meta = NULL
 The daeMetaElement that describes this element in the meta object reflection framework.

Protected Member Functions

 domTechnique ()
 Constructor.
virtual ~domTechnique ()
 Destructor.
 domTechnique (const domTechnique &cpy)
 Copy Constructor.
virtual domTechniqueoperator= (const domTechnique &cpy)
 Overloaded assignment operator.

Protected Attributes

xsString attrProfile
 The profile attribute indicates the type of profile.
domAssetRef elemAsset
 The asset element may occur zero or one time.
domParam_Array elemParam_array
 The param element may occur zero or more times.
domPass_Array elemPass_array
 The pass element may occur zero or more times.
domProgramRef elemProgram
 The program element may occur zero or one time.

Member Function Documentation

daeElementRef domShader::domTechnique::create daeInt  bytes  )  [static]
 

Creates an instance of this class and returns a daeElementRef referencing it.

Parameters:
bytes The size allocated for this instance.
Returns:
a daeElementRef referencing an instance of this object.

const domAssetRef domShader::domTechnique::getAsset  )  const [inline]
 

Gets the asset element.

Returns:
a daeSmartRef to the asset element.

const domParam_Array& domShader::domTechnique::getParam_array  )  const [inline]
 

Gets the param element array.

Returns:
Returns a constant reference to the array of param elements.

domParam_Array& domShader::domTechnique::getParam_array  )  [inline]
 

Gets the param element array.

Returns:
Returns a reference to the array of param elements.

const domPass_Array& domShader::domTechnique::getPass_array  )  const [inline]
 

Gets the pass element array.

Returns:
Returns a constant reference to the array of pass elements.

domPass_Array& domShader::domTechnique::getPass_array  )  [inline]
 

Gets the pass element array.

Returns:
Returns a reference to the array of pass elements.

xsString domShader::domTechnique::getProfile  )  const [inline]
 

Gets the profile attribute.

Returns:
Returns a xsString of the profile attribute.

const domProgramRef domShader::domTechnique::getProgram  )  const [inline]
 

Gets the program element.

Returns:
a daeSmartRef to the program element.

daeMetaElement * domShader::domTechnique::registerElement  )  [static]
 

Creates a daeMetaElement object that describes this element in the meta object reflection framework.

If a daeMetaElement already exists it will return that instead of creating a new one.

Returns:
A daeMetaElement describing this COLLADA element.

void domShader::domTechnique::setProfile xsString  atProfile  )  [inline]
 

Sets the profile attribute.

Parameters:
atProfile The new value for the profile attribute.


Member Data Documentation

xsString domShader::domTechnique::attrProfile [protected]
 

The profile attribute indicates the type of profile.

This is a vendor defined character string that indicates the platform or capability target for the technique. Required attribute.

domAssetRef domShader::domTechnique::elemAsset [protected]
 

The asset element may occur zero or one time.

See also:
domAsset

domParam_Array domShader::domTechnique::elemParam_array [protected]
 

The param element may occur zero or more times.

See also:
domParam

domPass_Array domShader::domTechnique::elemPass_array [protected]
 

The pass element may occur zero or more times.

See also:
domPass

domProgramRef domShader::domTechnique::elemProgram [protected]
 

The program element may occur zero or one time.

See also:
domProgram


The documentation for this class was generated from the following files:
  • C:/SVN_wf/COLLADA_DOM/include/1.3/dom/domShader.h
  • C:/SVN_wf/COLLADA_DOM/src/1.3/dom/domShader.cpp

©2005 Sony Computer Entertainment Inc.. All Rights Reserved.
Generated on Fri Feb 10 16:49:58 2006 for COLLADA 1.4 DOM by doxygen 1.4.3