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>2020-02-15 18:17:39 +0300
committermano-wii <germano.costa@ig.com.br>2020-02-15 18:18:52 +0300
commit738bb309f9490c4d6e056e7df8ff9a6e60ad45df (patch)
treea5254af24ea647f9c0f7d611d8b26ac0c466df0d /source/blender/gpu/GPU_texture.h
parentde9ea94fc6f810b101742a4c2b839fb748e95be0 (diff)
GPU: Add GPU support to fill a texture image with a constant value
This solution is optimized for GL version 4.4 or greater.
Diffstat (limited to 'source/blender/gpu/GPU_texture.h')
-rw-r--r--source/blender/gpu/GPU_texture.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_texture.h b/source/blender/gpu/GPU_texture.h
index 4e24a3172dc..e8800b75143 100644
--- a/source/blender/gpu/GPU_texture.h
+++ b/source/blender/gpu/GPU_texture.h
@@ -217,6 +217,7 @@ void GPU_texture_update_sub(GPUTexture *tex,
int depth);
void *GPU_texture_read(GPUTexture *tex, eGPUDataFormat gpu_data_format, int miplvl);
+void GPU_texture_clear(GPUTexture *tex, eGPUDataFormat gpu_data_format, const void *color);
void GPU_invalid_tex_init(void);
void GPU_invalid_tex_bind(int mode);