diff options
Diffstat (limited to 'source/blender/render/RE_texture.h')
-rw-r--r-- | source/blender/render/RE_texture.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/render/RE_texture.h b/source/blender/render/RE_texture.h index d71c793f300..4d58d866e9f 100644 --- a/source/blender/render/RE_texture.h +++ b/source/blender/render/RE_texture.h @@ -99,10 +99,11 @@ void RE_point_density_fix_linking(void); /** * Texture evaluation result. - * \note `tr tg tb ta` have to remain in this order for array access. */ typedef struct TexResult { - float tin, tr, tg, tb, ta; + float tin; + float trgba[4]; + /* Is actually a boolean: When true -> use alpha, false -> set alpha to 1.0. */ int talpha; float *nor; } TexResult; |