Searched refs:ValueUnion (Results 1 – 2 of 2) sorted by relevance
198 mCurrentValueType = ValueUnion::FloatType; in VertexAttribute()234 case ValueUnion::FloatType: return mCurrentValue[i].f; in getCurrentValueF()235 case ValueUnion::IntType: return static_cast<float>(mCurrentValue[i].i); in getCurrentValueF()236 case ValueUnion::UIntType: return static_cast<float>(mCurrentValue[i].ui); in getCurrentValueF()245 case ValueUnion::FloatType: return static_cast<GLint>(mCurrentValue[i].f); in getCurrentValueI()246 case ValueUnion::IntType: return mCurrentValue[i].i; in getCurrentValueI()247 case ValueUnion::UIntType: return static_cast<GLint>(mCurrentValue[i].ui); in getCurrentValueI()256 case ValueUnion::FloatType: return static_cast<GLuint>(mCurrentValue[i].f); in getCurrentValueUI()257 case ValueUnion::IntType: return static_cast<GLuint>(mCurrentValue[i].i); in getCurrentValueUI()258 case ValueUnion::UIntType: return mCurrentValue[i].ui; in getCurrentValueUI()[all …]
58 union ValueUnion { union61 ValueUnion(GlobalValue::GUID Id) : Id(Id) {} in ValueUnion() function62 ValueUnion(const Value *V) : V(V) {} in ValueUnion() function66 ValueUnion TheValue;