forked from blender/blender
GPU: Shader Create Info GLSL-C++ stubs #3
@ -180,6 +180,14 @@ template<typename T> struct ColSwizzle4 : ColSwizzle3<T> {
|
||||
&aabr, &aabg, &aabb, &aaba, &aaar, &aaag, &aaab, &aaaa;
|
||||
};
|
||||
|
||||
template<typename T> struct VecBase<T, 1> {
|
||||
VecBase() = default;
|
||||
template<typename U> explicit VecBase(VecBase<U, 1>) {}
|
||||
VecBase(T) {}
|
||||
|
||||
operator T() {}
|
||||
};
|
||||
|
||||
template<typename T> struct VecBase<T, 2> : VecOp<T, 2>, VecSwizzle2<T>, ColSwizzle2<T> {
|
||||
T x, y;
|
||||
T r, g;
|
||||
|
Loading…
Reference in New Issue
Block a user