diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2017-05-18 12:41:59 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2017-05-18 13:13:19 +0300 |
commit | 23f256b24bed34bb25d1d66ec9ba0726f7a71659 (patch) | |
tree | 7dfb39a8a493ff015ac0dae82e07cb6c9795d08f /source/blender/gpu/GPU_shader.h | |
parent | 5919919955f6ec40f881705e587355d0334c00ea (diff) |
DwM: Armature: add solid envelope bone drawing.
Envelope bones are now pretty much identical to old drawing code.
Note that currently new DwM drawing code does not seem to care about
wire/solid drawing modes at all, guess this is still TODO... For now we
hence just get both wire and solid for envelope bones, this can be
refined later.
Diffstat (limited to 'source/blender/gpu/GPU_shader.h')
-rw-r--r-- | source/blender/gpu/GPU_shader.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_shader.h b/source/blender/gpu/GPU_shader.h index 076ca08cf6e..342608032ab 100644 --- a/source/blender/gpu/GPU_shader.h +++ b/source/blender/gpu/GPU_shader.h @@ -169,6 +169,7 @@ typedef enum GPUBuiltinShader { GPU_SHADER_INSTANCE_EDGES_VARIYING_COLOR, GPU_SHADER_3D_INSTANCE_BONE_ENVELOPE, + GPU_SHADER_3D_INSTANCE_BONE_ENVELOPE_SOLID, GPU_NUM_BUILTIN_SHADERS /* (not an actual shader) */ } GPUBuiltinShader; |