TexFace to Material Settings big patch
[blender.git] / source / blender / gpu / GPU_material.h
index 95a08e6d5b30a8db7b7ff980738c7097240f9a33..29ad9c9137406a012e7a63ec51700ca71aeda26b 100644 (file)
@@ -94,7 +94,8 @@ typedef enum GPUBlendMode {
        GPU_BLEND_SOLID = 0,
        GPU_BLEND_ADD = 1,
        GPU_BLEND_ALPHA = 2,
-       GPU_BLEND_CLIP = 4
+       GPU_BLEND_CLIP = 4,
+       GPU_BLEND_ALPHA_SORT = 8
 } GPUBlendMode;
 
 typedef struct GPUNodeStack {
@@ -121,7 +122,7 @@ int GPU_stack_link(GPUMaterial *mat, const char *name, GPUNodeStack *in, GPUNode
 
 void GPU_material_output_link(GPUMaterial *material, GPUNodeLink *link);
 void GPU_material_enable_alpha(GPUMaterial *material);
-GPUBlendMode GPU_material_blend_mode(GPUMaterial *material, float obcol[4]);
+GPUBlendMode GPU_material_alpha_blend(GPUMaterial *material, float obcol[4]);
 
 /* High level functions to create and use GPU materials */