Helper to evaluate an attribute value in a rendering context, according to texture/shading variable.
More...
|
void | set_attribute (const OfAttr &attr) |
| Set the attribute to evaluate.
|
|
void | set_attribute (const OfAttr *attr) |
| Set the attribute to evaluate.
|
|
void | resync_attribute () |
| Take attribute new properties into account.
|
|
const OfAttr * | get_attribute () const |
|
const bool & | is_bound_to_shading_variable () const |
|
bool | is_textured () const |
|
ModuleTexture * | get_texture () const |
|
CORE_FORCE_INLINE bool | eval_attr_value_vec (const CtxEval &ctx_eval, CtxShader &ctx_shader, GMathVec4f &c) const |
| Evaluate the attribute as a color on this particular rendering context.
|
|
CORE_FORCE_INLINE bool | eval_attr_value_out (const CtxEval &ctx_eval, CtxShader &ctx_shader, TextureOutput &out) const |
| Evaluate the attribute as a texture output on this particular rendering context.
|
|
CORE_FORCE_INLINE bool | eval_attr_value_double (const CtxEval &ctx_eval, CtxShader &ctx_shader, double &value) const |
| Evaluate the attribute as a double on this particular rendering context.
|
|
CORE_FORCE_INLINE bool | sample_attr_value_vec (const CtxEval &ctx_eval, CtxShader &ctx_shader, GMathVec4f &c) const |
| Sample the attribute as a color on this particular rendering context.
|
|
CORE_FORCE_INLINE bool | sample_attr_value_out (const CtxEval &ctx_eval, CtxShader &ctx_shader, TextureOutput &out) const |
| Sample the attribute as a texture output on this particular rendering context.
|
|
CORE_FORCE_INLINE bool | sample_attr_value_double (const CtxEval &ctx_eval, CtxShader &ctx_shader, double &value) const |
| Sample the attribute as a double on this particular rendering context.
|
|
CORE_FORCE_INLINE bool | eval (const CtxEval &ctx_eval, CtxShader &ctx_shader, GMathVec4f &c) const |
|
CORE_FORCE_INLINE bool | eval (const CtxEval &ctx_eval, CtxShader &ctx_shader, TextureOutput &out) const |
|
CORE_FORCE_INLINE bool | eval (const CtxEval &ctx_eval, CtxShader &ctx_shader, double &value) const |
|
CORE_FORCE_INLINE bool | sample (const CtxEval &ctx_eval, CtxShader &ctx_shader, GMathVec4f &c) const |
|
CORE_FORCE_INLINE bool | sample (const CtxEval &ctx_eval, CtxShader &ctx_shader, TextureOutput &out) const |
|
CORE_FORCE_INLINE bool | sample (const CtxEval &ctx_eval, CtxShader &ctx_shader, double &value) const |
|
bool | eval_attr_value_string (const CtxEval &ctx_eval, CtxShader &ctx_shader, UniqueString &out) const |
| Evaluate the attribute as a string on this particular rendering context.
|
|
const UniqueString & | eval_shading_variable_value_string (const CtxEval &ctx_eval, CtxShader &ctx_shader, bool &status) const |
| Evaluate the attribute shading variable value as a string on this particular rendering context.
|
|
Helper to evaluate an attribute value in a rendering context, according to texture/shading variable.