9 virtual bool needs_linear_light() { return true; }
10 virtual bool needs_srgb_primaries() { return true; }
11 virtual bool needs_many_samples() { return false; }
12 virtual bool needs_mipmaps() { return false; }
14 // Neither of these take ownership.
15 bool set_int(const std::string&, int value);
16 bool set_float(const std::string &key, float value);
17 bool set_vec3(const std::string &key, const float *values);
20 // Neither of these take ownership.
21 void register_int(const std::string &key, int *value);
22 void register_float(const std::string &key, float *value);
23 void register_vec3(const std::string &key, float *values);
26 std::map<std::string, int *> params_int;
27 std::map<std::string, float *> params_float;
28 std::map<std::string, float *> params_vec3;
31 #endif // !defined(_EFFECT_H)