Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormano-wii <germano.costa@ig.com.br>2018-09-14 15:32:19 +0300
committermano-wii <germano.costa@ig.com.br>2018-09-14 15:46:19 +0300
commit1287965089a851c46e9a1a23c55ebc90b00b4e14 (patch)
tree430505da2894fda1e95ccb82b6bc4845ee7d5c4c /source/blender/gpu/GPU_shader.h
parentd15928c2344718e47d9025fe5b18ff033366dc5c (diff)
GPU module: Initial implementation of the `gpu.shader` submodule.
Differential Revision: https://developer.blender.org/D3688
Diffstat (limited to 'source/blender/gpu/GPU_shader.h')
-rw-r--r--source/blender/gpu/GPU_shader.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_shader.h b/source/blender/gpu/GPU_shader.h
index c9a87a7e187..8b0a1b2b51f 100644
--- a/source/blender/gpu/GPU_shader.h
+++ b/source/blender/gpu/GPU_shader.h
@@ -366,6 +366,11 @@ typedef enum GPUInterlaceShader {
GPUShader *GPU_shader_get_builtin_shader(GPUBuiltinShader shader);
+void GPU_shader_get_builtin_shader_code(
+ GPUBuiltinShader shader,
+ const char **vert, const char **frag,
+ const char **geom, const char **defines);
+
void GPU_shader_free_builtin_shaders(void);
/* Vertex attributes for shaders */