2
Copyright (c) 2008-2009 NetAllied Systems GmbH
4
This file is part of COLLADAFramework.
6
Licensed under the MIT Open Source License,
7
for details please see LICENSE file or the website
8
http://www.opensource.org/licenses/mit-license.php
11
#ifndef __COLLADAFW_NEWPARAM_H__
12
#define __COLLADAFW_NEWPARAM_H__
14
#include "COLLADAFWPrerequisites.h"
15
#include "COLLADAFWSemantic.h"
16
#include "COLLADAFWModifier.h"
17
#include "COLLADAFWArray.h"
24
Creates a new, named <param> (FX) object in the FX Runtime, and assigns it a type, an
25
initial value, and additional attributes at declaration time.
26
Parameters are typed data objects that are created in the FX Runtime and are available to
27
compilers and functions at run time.
33
/** The different parameter types. */
46
/** Identifier for this parameter (that is, the variable name). Required. */
49
/** Adds a strongly typed annotation remark to the parent object. */
50
Array<Annotate> mAnnotateArray;
52
/** Provides metainformation that describes the purpose of a parameter declaration. */
55
/** Provides additional information about the volatility or linkage of a <newparam> declaration. */
58
/** The parameter�s type. Must be exactly one of the following:
59
<float>, <float2>, <float3>, <float4>, <surface>, <sampler2D> */
65
NewParam ( const ParamType& paramType )
66
: mParamType ( paramType )
70
virtual ~NewParam() {}
74
/** Disable default copy ctor. */
75
NewParam( const NewParam& pre );
77
/** Disable default assignment operator. */
78
const NewParam& operator= ( const NewParam& pre );
82
} // namespace COLLADAFW
84
#endif // __COLLADAFW_NEWPARAM_H__