Lines Matching defs:ShaderEvalContext
119 // ShaderEvalContext.
121 class ShaderEvalContext
148 ShaderEvalContext (const QuadGrid& quadGrid);
149 ~ShaderEvalContext (void);
175 typedef void (*ShaderEvalFunc) (ShaderEvalContext& c);
177 inline void evalCoordsPassthroughX (ShaderEvalContext& c) { c.color.x() = c.coords.x(); }
178 inline void evalCoordsPassthroughXY (ShaderEvalContext& c) { c.color.xy() = c.coords.swizzle(0,1); }
179 inline void evalCoordsPassthroughXYZ (ShaderEvalContext& c) { c.color.xyz() = c.coords.swizzle(0,1,2); }
180 inline void evalCoordsPassthrough (ShaderEvalContext& c) { c.color = c.coords; }
181 inline void evalCoordsSwizzleWZYX (ShaderEvalContext& c) { c.color = c.coords.swizzle(3,2,1,0); }
193 virtual void evaluate (ShaderEvalContext& ctx);