x
Yes
No
Do you want to visit DriveHQ English website?
首页
产品服务
价格
免费试用
下载客户端
关于我们
云文件服务
|
云备份服务
|
FTP服务
|
企业邮箱服务
|
网站托管
|
客户端软件
云文件服务
云备份服务
FTP服务
企业级邮箱服务
网站托管
客户端软件
domGlsl_param_type.h - Hosted on DriveHQ Cloud IT Platform
返回上层目录
上传
下载
共享
发布
新建文件夹
新建文件
复制
剪切
删除
粘贴
评论
升级服务
路径: \\game3dprogramming\materials\DarkPuzzle\libs\bullet_sdk\Extras\COLLADA_DOM\include\1.4\dom\domGlsl_param_type.h
旋转
特效
属性
历史版本
/* * Copyright 2006 Sony Computer Entertainment Inc. * * Licensed under the SCEA Shared Source License, Version 1.0 (the "License"); you may not use this * file except in compliance with the License. You may obtain a copy of the License at: * http://research.scea.com/scea_shared_source_license.html * * Unless required by applicable law or agreed to in writing, software distributed under the License * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or * implied. See the License for the specific language governing permissions and limitations under the * License. */ #ifndef __domGlsl_param_type_h__ #define __domGlsl_param_type_h__ #include
#include
#include
#include
#include
#include
#include
#include
#include
/** * A group that specifies the allowable types for GLSL profile parameters. */ class domGlsl_param_type : public daeElement { public: COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLSL_PARAM_TYPE; } public: class domBool; typedef daeSmartRef
domBoolRef; typedef daeTArray
domBool_Array; class domBool : public daeElement { public: COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL; } protected: // Value /** * The domGlsl_bool value of the text data of this element. */ domGlsl_bool _value; public: //Accessors and Mutators /** * Gets the value of this element. * @return a domGlsl_bool of the value. */ domGlsl_bool getValue() const { return _value; } /** * Sets the _value of this element. * @param val The new value for this element. */ void setValue( domGlsl_bool val ) { _value = val; } protected: /** * Constructor */ domBool() : _value() {} /** * Destructor */ virtual ~domBool() {} /** * Copy Constructor */ domBool( const domBool &cpy ) : daeElement() { (void)cpy; } /** * Overloaded assignment operator */ virtual domBool &operator=( const domBool &cpy ) { (void)cpy; return *this; } public: // STATIC METHODS /** * Creates an instance of this class and returns a daeElementRef referencing it. * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ static DLLSPEC daeElementRef create(daeInt bytes); /** * 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. * @return A daeMetaElement describing this COLLADA element. */ static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ static DLLSPEC daeMetaElement* _Meta; }; class domBool2; typedef daeSmartRef
domBool2Ref; typedef daeTArray
domBool2_Array; class domBool2 : public daeElement { public: COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL2; } protected: // Value /** * The domGlsl_bool2 value of the text data of this element. */ domGlsl_bool2 _value; public: //Accessors and Mutators /** * Gets the _value array. * @return Returns a domGlsl_bool2 reference of the _value array. */ domGlsl_bool2 &getValue() { return _value; } /** * Gets the _value array. * @return Returns a constant domGlsl_bool2 reference of the _value array. */ const domGlsl_bool2 &getValue() const { return _value; } /** * Sets the _value array. * @param val The new value for the _value array. */ void setValue( const domGlsl_bool2 &val ) { _value = val; } protected: /** * Constructor */ domBool2() : _value() {} /** * Destructor */ virtual ~domBool2() {} /** * Copy Constructor */ domBool2( const domBool2 &cpy ) : daeElement() { (void)cpy; } /** * Overloaded assignment operator */ virtual domBool2 &operator=( const domBool2 &cpy ) { (void)cpy; return *this; } public: // STATIC METHODS /** * Creates an instance of this class and returns a daeElementRef referencing it. * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ static DLLSPEC daeElementRef create(daeInt bytes); /** * 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. * @return A daeMetaElement describing this COLLADA element. */ static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ static DLLSPEC daeMetaElement* _Meta; }; class domBool3; typedef daeSmartRef
domBool3Ref; typedef daeTArray
domBool3_Array; class domBool3 : public daeElement { public: COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL3; } protected: // Value /** * The domGlsl_bool3 value of the text data of this element. */ domGlsl_bool3 _value; public: //Accessors and Mutators /** * Gets the _value array. * @return Returns a domGlsl_bool3 reference of the _value array. */ domGlsl_bool3 &getValue() { return _value; } /** * Gets the _value array. * @return Returns a constant domGlsl_bool3 reference of the _value array. */ const domGlsl_bool3 &getValue() const { return _value; } /** * Sets the _value array. * @param val The new value for the _value array. */ void setValue( const domGlsl_bool3 &val ) { _value = val; } protected: /** * Constructor */ domBool3() : _value() {} /** * Destructor */ virtual ~domBool3() {} /** * Copy Constructor */ domBool3( const domBool3 &cpy ) : daeElement() { (void)cpy; } /** * Overloaded assignment operator */ virtual domBool3 &operator=( const domBool3 &cpy ) { (void)cpy; return *this; } public: // STATIC METHODS /** * Creates an instance of this class and returns a daeElementRef referencing it. * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ static DLLSPEC daeElementRef create(daeInt bytes); /** * 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. * @return A daeMetaElement describing this COLLADA element. */ static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ static DLLSPEC daeMetaElement* _Meta; }; class domBool4; typedef daeSmartRef
domBool4Ref; typedef daeTArray
domBool4_Array; class domBool4 : public daeElement { public: COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL4; } protected: // Value /** * The domGlsl_bool4 value of the text data of this element. */ domGlsl_bool4 _value; public: //Accessors and Mutators /** * Gets the _value array. * @return Returns a domGlsl_bool4 reference of the _value array. */ domGlsl_bool4 &getValue() { return _value; } /** * Gets the _value array. * @return Returns a constant domGlsl_bool4 reference of the _value array. */ const domGlsl_bool4 &getValue() const { return _value; } /** * Sets the _value array. * @param val The new value for the _value array. */ void setValue( const domGlsl_bool4 &val ) { _value = val; } protected: /** * Constructor */ domBool4() : _value() {} /** * Destructor */ virtual ~domBool4() {} /** * Copy Constructor */ domBool4( const domBool4 &cpy ) : daeElement() { (void)cpy; } /** * Overloaded assignment operator */ virtual domBool4 &operator=( const domBool4 &cpy ) { (void)cpy; return *this; } public: // STATIC METHODS /** * Creates an instance of this class and returns a daeElementRef referencing it. * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ static DLLSPEC daeElementRef create(daeInt bytes); /** * 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. * @return A daeMetaElement describing this COLLADA element. */ static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ static DLLSPEC daeMetaElement* _Meta; }; class domFloat; typedef daeSmartRef
domFloatRef; typedef daeTArray
domFloat_Array; class domFloat : public daeElement { public: COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT; } protected: // Value /** * The domGlsl_float value of the text data of this element. */ domGlsl_float _value; public: //Accessors and Mutators /** * Gets the value of this element. * @return a domGlsl_float of the value. */ domGlsl_float getValue() const { return _value; } /** * Sets the _value of this element. * @param val The new value for this element. */ void setValue( domGlsl_float val ) { _value = val; } protected: /** * Constructor */ domFloat() : _value() {} /** * Destructor */ virtual ~domFloat() {} /** * Copy Constructor */ domFloat( const domFloat &cpy ) : daeElement() { (void)cpy; } /** * Overloaded assignment operator */ virtual domFloat &operator=( const domFloat &cpy ) { (void)cpy; return *this; } public: // STATIC METHODS /** * Creates an instance of this class and returns a daeElementRef referencing it. * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ static DLLSPEC daeElementRef create(daeInt bytes); /** * 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. * @return A daeMetaElement describing this COLLADA element. */ static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ static DLLSPEC daeMetaElement* _Meta; }; class domFloat2; typedef daeSmartRef
domFloat2Ref; typedef daeTArray
domFloat2_Array; class domFloat2 : public daeElement { public: COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT2; } protected: // Value /** * The domGlsl_float2 value of the text data of this element. */ domGlsl_float2 _value; public: //Accessors and Mutators /** * Gets the _value array. * @return Returns a domGlsl_float2 reference of the _value array. */ domGlsl_float2 &getValue() { return _value; } /** * Gets the _value array. * @return Returns a constant domGlsl_float2 reference of the _value array. */ const domGlsl_float2 &getValue() const { return _value; } /** * Sets the _value array. * @param val The new value for the _value array. */ void setValue( const domGlsl_float2 &val ) { _value = val; } protected: /** * Constructor */ domFloat2() : _value() {} /** * Destructor */ virtual ~domFloat2() {} /** * Copy Constructor */ domFloat2( const domFloat2 &cpy ) : daeElement() { (void)cpy; } /** * Overloaded assignment operator */ virtual domFloat2 &operator=( const domFloat2 &cpy ) { (void)cpy; return *this; } public: // STATIC METHODS /** * Creates an instance of this class and returns a daeElementRef referencing it. * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ static DLLSPEC daeElementRef create(daeInt bytes); /** * 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. * @return A daeMetaElement describing this COLLADA element. */ static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ static DLLSPEC daeMetaElement* _Meta; }; class domFloat3; typedef daeSmartRef
domFloat3Ref; typedef daeTArray
domFloat3_Array; class domFloat3 : public daeElement { public: COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT3; } protected: // Value /** * The domGlsl_float3 value of the text data of this element. */ domGlsl_float3 _value; public: //Accessors and Mutators /** * Gets the _value array. * @return Returns a domGlsl_float3 reference of the _value array. */ domGlsl_float3 &getValue() { return _value; } /** * Gets the _value array. * @return Returns a constant domGlsl_float3 reference of the _value array. */ const domGlsl_float3 &getValue() const { return _value; } /** * Sets the _value array. * @param val The new value for the _value array. */ void setValue( const domGlsl_float3 &val ) { _value = val; } protected: /** * Constructor */ domFloat3() : _value() {} /** * Destructor */ virtual ~domFloat3() {} /** * Copy Constructor */ domFloat3( const domFloat3 &cpy ) : daeElement() { (void)cpy; } /** * Overloaded assignment operator */ virtual domFloat3 &operator=( const domFloat3 &cpy ) { (void)cpy; return *this; } public: // STATIC METHODS /** * Creates an instance of this class and returns a daeElementRef referencing it. * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ static DLLSPEC daeElementRef create(daeInt bytes); /** * 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. * @return A daeMetaElement describing this COLLADA element. */ static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ static DLLSPEC daeMetaElement* _Meta; }; class domFloat4; typedef daeSmartRef
domFloat4Ref; typedef daeTArray
domFloat4_Array; class domFloat4 : public daeElement { public: COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT4; } protected: // Value /** * The domGlsl_float4 value of the text data of this element. */ domGlsl_float4 _value; public: //Accessors and Mutators /** * Gets the _value array. * @return Returns a domGlsl_float4 reference of the _value array. */ domGlsl_float4 &getValue() { return _value; } /** * Gets the _value array. * @return Returns a constant domGlsl_float4 reference of the _value array. */ const domGlsl_float4 &getValue() const { return _value; } /** * Sets the _value array. * @param val The new value for the _value array. */ void setValue( const domGlsl_float4 &val ) { _value = val; } protected: /** * Constructor */ domFloat4() : _value() {} /** * Destructor */ virtual ~domFloat4() {} /** * Copy Constructor */ domFloat4( const domFloat4 &cpy ) : daeElement() { (void)cpy; } /** * Overloaded assignment operator */ virtual domFloat4 &operator=( const domFloat4 &cpy ) { (void)cpy; return *this; } public: // STATIC METHODS /** * Creates an instance of this class and returns a daeElementRef referencing it. * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ static DLLSPEC daeElementRef create(daeInt bytes); /** * 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. * @return A daeMetaElement describing this COLLADA element. */ static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ static DLLSPEC daeMetaElement* _Meta; }; class domFloat2x2; typedef daeSmartRef
domFloat2x2Ref; typedef daeTArray
domFloat2x2_Array; class domFloat2x2 : public daeElement { public: COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT2X2; } protected: // Value /** * The domGlsl_float2x2 value of the text data of this element. */ domGlsl_float2x2 _value; public: //Accessors and Mutators /** * Gets the _value array. * @return Returns a domGlsl_float2x2 reference of the _value array. */ domGlsl_float2x2 &getValue() { return _value; } /** * Gets the _value array. * @return Returns a constant domGlsl_float2x2 reference of the _value array. */ const domGlsl_float2x2 &getValue() const { return _value; } /** * Sets the _value array. * @param val The new value for the _value array. */ void setValue( const domGlsl_float2x2 &val ) { _value = val; } protected: /** * Constructor */ domFloat2x2() : _value() {} /** * Destructor */ virtual ~domFloat2x2() {} /** * Copy Constructor */ domFloat2x2( const domFloat2x2 &cpy ) : daeElement() { (void)cpy; } /** * Overloaded assignment operator */ virtual domFloat2x2 &operator=( const domFloat2x2 &cpy ) { (void)cpy; return *this; } public: // STATIC METHODS /** * Creates an instance of this class and returns a daeElementRef referencing it. * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ static DLLSPEC daeElementRef create(daeInt bytes); /** * 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. * @return A daeMetaElement describing this COLLADA element. */ static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ static DLLSPEC daeMetaElement* _Meta; }; class domFloat3x3; typedef daeSmartRef
domFloat3x3Ref; typedef daeTArray
domFloat3x3_Array; class domFloat3x3 : public daeElement { public: COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT3X3; } protected: // Value /** * The domGlsl_float3x3 value of the text data of this element. */ domGlsl_float3x3 _value; public: //Accessors and Mutators /** * Gets the _value array. * @return Returns a domGlsl_float3x3 reference of the _value array. */ domGlsl_float3x3 &getValue() { return _value; } /** * Gets the _value array. * @return Returns a constant domGlsl_float3x3 reference of the _value array. */ const domGlsl_float3x3 &getValue() const { return _value; } /** * Sets the _value array. * @param val The new value for the _value array. */ void setValue( const domGlsl_float3x3 &val ) { _value = val; } protected: /** * Constructor */ domFloat3x3() : _value() {} /** * Destructor */ virtual ~domFloat3x3() {} /** * Copy Constructor */ domFloat3x3( const domFloat3x3 &cpy ) : daeElement() { (void)cpy; } /** * Overloaded assignment operator */ virtual domFloat3x3 &operator=( const domFloat3x3 &cpy ) { (void)cpy; return *this; } public: // STATIC METHODS /** * Creates an instance of this class and returns a daeElementRef referencing it. * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ static DLLSPEC daeElementRef create(daeInt bytes); /** * 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. * @return A daeMetaElement describing this COLLADA element. */ static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ static DLLSPEC daeMetaElement* _Meta; }; class domFloat4x4; typedef daeSmartRef
domFloat4x4Ref; typedef daeTArray
domFloat4x4_Array; class domFloat4x4 : public daeElement { public: COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT4X4; } protected: // Value /** * The domGlsl_float4x4 value of the text data of this element. */ domGlsl_float4x4 _value; public: //Accessors and Mutators /** * Gets the _value array. * @return Returns a domGlsl_float4x4 reference of the _value array. */ domGlsl_float4x4 &getValue() { return _value; } /** * Gets the _value array. * @return Returns a constant domGlsl_float4x4 reference of the _value array. */ const domGlsl_float4x4 &getValue() const { return _value; } /** * Sets the _value array. * @param val The new value for the _value array. */ void setValue( const domGlsl_float4x4 &val ) { _value = val; } protected: /** * Constructor */ domFloat4x4() : _value() {} /** * Destructor */ virtual ~domFloat4x4() {} /** * Copy Constructor */ domFloat4x4( const domFloat4x4 &cpy ) : daeElement() { (void)cpy; } /** * Overloaded assignment operator */ virtual domFloat4x4 &operator=( const domFloat4x4 &cpy ) { (void)cpy; return *this; } public: // STATIC METHODS /** * Creates an instance of this class and returns a daeElementRef referencing it. * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ static DLLSPEC daeElementRef create(daeInt bytes); /** * 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. * @return A daeMetaElement describing this COLLADA element. */ static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ static DLLSPEC daeMetaElement* _Meta; }; class domInt; typedef daeSmartRef
domIntRef; typedef daeTArray
domInt_Array; class domInt : public daeElement { public: COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT; } protected: // Value /** * The domGlsl_int value of the text data of this element. */ domGlsl_int _value; public: //Accessors and Mutators /** * Gets the value of this element. * @return a domGlsl_int of the value. */ domGlsl_int getValue() const { return _value; } /** * Sets the _value of this element. * @param val The new value for this element. */ void setValue( domGlsl_int val ) { _value = val; } protected: /** * Constructor */ domInt() : _value() {} /** * Destructor */ virtual ~domInt() {} /** * Copy Constructor */ domInt( const domInt &cpy ) : daeElement() { (void)cpy; } /** * Overloaded assignment operator */ virtual domInt &operator=( const domInt &cpy ) { (void)cpy; return *this; } public: // STATIC METHODS /** * Creates an instance of this class and returns a daeElementRef referencing it. * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ static DLLSPEC daeElementRef create(daeInt bytes); /** * 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. * @return A daeMetaElement describing this COLLADA element. */ static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ static DLLSPEC daeMetaElement* _Meta; }; class domInt2; typedef daeSmartRef
domInt2Ref; typedef daeTArray
domInt2_Array; class domInt2 : public daeElement { public: COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT2; } protected: // Value /** * The domGlsl_int2 value of the text data of this element. */ domGlsl_int2 _value; public: //Accessors and Mutators /** * Gets the _value array. * @return Returns a domGlsl_int2 reference of the _value array. */ domGlsl_int2 &getValue() { return _value; } /** * Gets the _value array. * @return Returns a constant domGlsl_int2 reference of the _value array. */ const domGlsl_int2 &getValue() const { return _value; } /** * Sets the _value array. * @param val The new value for the _value array. */ void setValue( const domGlsl_int2 &val ) { _value = val; } protected: /** * Constructor */ domInt2() : _value() {} /** * Destructor */ virtual ~domInt2() {} /** * Copy Constructor */ domInt2( const domInt2 &cpy ) : daeElement() { (void)cpy; } /** * Overloaded assignment operator */ virtual domInt2 &operator=( const domInt2 &cpy ) { (void)cpy; return *this; } public: // STATIC METHODS /** * Creates an instance of this class and returns a daeElementRef referencing it. * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ static DLLSPEC daeElementRef create(daeInt bytes); /** * 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. * @return A daeMetaElement describing this COLLADA element. */ static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ static DLLSPEC daeMetaElement* _Meta; }; class domInt3; typedef daeSmartRef
domInt3Ref; typedef daeTArray
domInt3_Array; class domInt3 : public daeElement { public: COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT3; } protected: // Value /** * The domGlsl_int3 value of the text data of this element. */ domGlsl_int3 _value; public: //Accessors and Mutators /** * Gets the _value array. * @return Returns a domGlsl_int3 reference of the _value array. */ domGlsl_int3 &getValue() { return _value; } /** * Gets the _value array. * @return Returns a constant domGlsl_int3 reference of the _value array. */ const domGlsl_int3 &getValue() const { return _value; } /** * Sets the _value array. * @param val The new value for the _value array. */ void setValue( const domGlsl_int3 &val ) { _value = val; } protected: /** * Constructor */ domInt3() : _value() {} /** * Destructor */ virtual ~domInt3() {} /** * Copy Constructor */ domInt3( const domInt3 &cpy ) : daeElement() { (void)cpy; } /** * Overloaded assignment operator */ virtual domInt3 &operator=( const domInt3 &cpy ) { (void)cpy; return *this; } public: // STATIC METHODS /** * Creates an instance of this class and returns a daeElementRef referencing it. * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ static DLLSPEC daeElementRef create(daeInt bytes); /** * 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. * @return A daeMetaElement describing this COLLADA element. */ static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ static DLLSPEC daeMetaElement* _Meta; }; class domInt4; typedef daeSmartRef
domInt4Ref; typedef daeTArray
domInt4_Array; class domInt4 : public daeElement { public: COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT4; } protected: // Value /** * The domGlsl_int4 value of the text data of this element. */ domGlsl_int4 _value; public: //Accessors and Mutators /** * Gets the _value array. * @return Returns a domGlsl_int4 reference of the _value array. */ domGlsl_int4 &getValue() { return _value; } /** * Gets the _value array. * @return Returns a constant domGlsl_int4 reference of the _value array. */ const domGlsl_int4 &getValue() const { return _value; } /** * Sets the _value array. * @param val The new value for the _value array. */ void setValue( const domGlsl_int4 &val ) { _value = val; } protected: /** * Constructor */ domInt4() : _value() {} /** * Destructor */ virtual ~domInt4() {} /** * Copy Constructor */ domInt4( const domInt4 &cpy ) : daeElement() { (void)cpy; } /** * Overloaded assignment operator */ virtual domInt4 &operator=( const domInt4 &cpy ) { (void)cpy; return *this; } public: // STATIC METHODS /** * Creates an instance of this class and returns a daeElementRef referencing it. * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ static DLLSPEC daeElementRef create(daeInt bytes); /** * 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. * @return A daeMetaElement describing this COLLADA element. */ static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ static DLLSPEC daeMetaElement* _Meta; }; class domEnum; typedef daeSmartRef
domEnumRef; typedef daeTArray
domEnum_Array; class domEnum : public daeElement { public: COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::ENUM; } protected: // Value /** * The domGl_enumeration value of the text data of this element. */ domGl_enumeration _value; public: //Accessors and Mutators /** * Gets the value of this element. * @return a domGl_enumeration of the value. */ domGl_enumeration getValue() const { return _value; } /** * Sets the _value of this element. * @param val The new value for this element. */ void setValue( domGl_enumeration val ) { _value = val; } protected: /** * Constructor */ domEnum() : _value() {} /** * Destructor */ virtual ~domEnum() {} /** * Copy Constructor */ domEnum( const domEnum &cpy ) : daeElement() { (void)cpy; } /** * Overloaded assignment operator */ virtual domEnum &operator=( const domEnum &cpy ) { (void)cpy; return *this; } public: // STATIC METHODS /** * Creates an instance of this class and returns a daeElementRef referencing it. * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ static DLLSPEC daeElementRef create(daeInt bytes); /** * 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. * @return A daeMetaElement describing this COLLADA element. */ static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ static DLLSPEC daeMetaElement* _Meta; }; protected: // Elements domBoolRef elemBool; domBool2Ref elemBool2; domBool3Ref elemBool3; domBool4Ref elemBool4; domFloatRef elemFloat; domFloat2Ref elemFloat2; domFloat3Ref elemFloat3; domFloat4Ref elemFloat4; domFloat2x2Ref elemFloat2x2; domFloat3x3Ref elemFloat3x3; domFloat4x4Ref elemFloat4x4; domIntRef elemInt; domInt2Ref elemInt2; domInt3Ref elemInt3; domInt4Ref elemInt4; domGlsl_surface_typeRef elemSurface; domGl_sampler1DRef elemSampler1D; domGl_sampler2DRef elemSampler2D; domGl_sampler3DRef elemSampler3D; domGl_samplerCUBERef elemSamplerCUBE; domGl_samplerRECTRef elemSamplerRECT; domGl_samplerDEPTHRef elemSamplerDEPTH; domEnumRef elemEnum; /** * Used to preserve order in elements that do not specify strict sequencing of sub-elements. */ daeElementRefArray _contents; /** * Used to preserve order in elements that have a complex content model. */ daeUIntArray _contentsOrder; public: //Accessors and Mutators /** * Gets the bool element. * @return a daeSmartRef to the bool element. */ const domBoolRef getBool() const { return elemBool; } /** * Gets the bool2 element. * @return a daeSmartRef to the bool2 element. */ const domBool2Ref getBool2() const { return elemBool2; } /** * Gets the bool3 element. * @return a daeSmartRef to the bool3 element. */ const domBool3Ref getBool3() const { return elemBool3; } /** * Gets the bool4 element. * @return a daeSmartRef to the bool4 element. */ const domBool4Ref getBool4() const { return elemBool4; } /** * Gets the float element. * @return a daeSmartRef to the float element. */ const domFloatRef getFloat() const { return elemFloat; } /** * Gets the float2 element. * @return a daeSmartRef to the float2 element. */ const domFloat2Ref getFloat2() const { return elemFloat2; } /** * Gets the float3 element. * @return a daeSmartRef to the float3 element. */ const domFloat3Ref getFloat3() const { return elemFloat3; } /** * Gets the float4 element. * @return a daeSmartRef to the float4 element. */ const domFloat4Ref getFloat4() const { return elemFloat4; } /** * Gets the float2x2 element. * @return a daeSmartRef to the float2x2 element. */ const domFloat2x2Ref getFloat2x2() const { return elemFloat2x2; } /** * Gets the float3x3 element. * @return a daeSmartRef to the float3x3 element. */ const domFloat3x3Ref getFloat3x3() const { return elemFloat3x3; } /** * Gets the float4x4 element. * @return a daeSmartRef to the float4x4 element. */ const domFloat4x4Ref getFloat4x4() const { return elemFloat4x4; } /** * Gets the int element. * @return a daeSmartRef to the int element. */ const domIntRef getInt() const { return elemInt; } /** * Gets the int2 element. * @return a daeSmartRef to the int2 element. */ const domInt2Ref getInt2() const { return elemInt2; } /** * Gets the int3 element. * @return a daeSmartRef to the int3 element. */ const domInt3Ref getInt3() const { return elemInt3; } /** * Gets the int4 element. * @return a daeSmartRef to the int4 element. */ const domInt4Ref getInt4() const { return elemInt4; } /** * Gets the surface element. * @return a daeSmartRef to the surface element. */ const domGlsl_surface_typeRef getSurface() const { return elemSurface; } /** * Gets the sampler1D element. * @return a daeSmartRef to the sampler1D element. */ const domGl_sampler1DRef getSampler1D() const { return elemSampler1D; } /** * Gets the sampler2D element. * @return a daeSmartRef to the sampler2D element. */ const domGl_sampler2DRef getSampler2D() const { return elemSampler2D; } /** * Gets the sampler3D element. * @return a daeSmartRef to the sampler3D element. */ const domGl_sampler3DRef getSampler3D() const { return elemSampler3D; } /** * Gets the samplerCUBE element. * @return a daeSmartRef to the samplerCUBE element. */ const domGl_samplerCUBERef getSamplerCUBE() const { return elemSamplerCUBE; } /** * Gets the samplerRECT element. * @return a daeSmartRef to the samplerRECT element. */ const domGl_samplerRECTRef getSamplerRECT() const { return elemSamplerRECT; } /** * Gets the samplerDEPTH element. * @return a daeSmartRef to the samplerDEPTH element. */ const domGl_samplerDEPTHRef getSamplerDEPTH() const { return elemSamplerDEPTH; } /** * Gets the enum element. * @return a daeSmartRef to the enum element. */ const domEnumRef getEnum() const { return elemEnum; } /** * Gets the _contents array. * @return Returns a reference to the _contents element array. */ daeElementRefArray &getContents() { return _contents; } /** * Gets the _contents array. * @return Returns a constant reference to the _contents element array. */ const daeElementRefArray &getContents() const { return _contents; } protected: /** * Constructor */ domGlsl_param_type() : elemBool(), elemBool2(), elemBool3(), elemBool4(), elemFloat(), elemFloat2(), elemFloat3(), elemFloat4(), elemFloat2x2(), elemFloat3x3(), elemFloat4x4(), elemInt(), elemInt2(), elemInt3(), elemInt4(), elemSurface(), elemSampler1D(), elemSampler2D(), elemSampler3D(), elemSamplerCUBE(), elemSamplerRECT(), elemSamplerDEPTH(), elemEnum() {} /** * Destructor */ virtual ~domGlsl_param_type() {} /** * Copy Constructor */ domGlsl_param_type( const domGlsl_param_type &cpy ) : daeElement() { (void)cpy; } /** * Overloaded assignment operator */ virtual domGlsl_param_type &operator=( const domGlsl_param_type &cpy ) { (void)cpy; return *this; } public: // STATIC METHODS /** * Creates an instance of this class and returns a daeElementRef referencing it. * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ static DLLSPEC daeElementRef create(daeInt bytes); /** * 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. * @return A daeMetaElement describing this COLLADA element. */ static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ static DLLSPEC daeMetaElement* _Meta; }; #endif
domGlsl_param_type.h
网页地址
文件地址
上一页
92/174
下一页
下载
( 39 KB )
Comments
Total ratings:
0
Average rating:
无评论
of 10
Would you like to comment?
Join now
, or
Logon
if you are already a member.