diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2017-05-16 03:59:25 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2017-05-16 21:27:52 +0300 |
commit | 7a029f4e00cc9a9f6a938cf701e6ed4c91115264 (patch) | |
tree | a315770fc2fbd5807ba262e9cbdcc179877d4125 /source/blender/gpu/GPU_texture.h | |
parent | dc01586b4063142a3736993eb4a6e4fec893bed1 (diff) |
GPUViewport: Add a Texture Pool to reuse textures across engines.
Diffstat (limited to 'source/blender/gpu/GPU_texture.h')
-rw-r--r-- | source/blender/gpu/GPU_texture.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_texture.h b/source/blender/gpu/GPU_texture.h index 8cf9806ae36..b58cffd7214 100644 --- a/source/blender/gpu/GPU_texture.h +++ b/source/blender/gpu/GPU_texture.h @@ -191,6 +191,7 @@ void GPU_texture_framebuffer_set(GPUTexture *tex, struct GPUFrameBuffer *fb, int int GPU_texture_target(const GPUTexture *tex); int GPU_texture_width(const GPUTexture *tex); int GPU_texture_height(const GPUTexture *tex); +int GPU_texture_format(const GPUTexture *tex); bool GPU_texture_depth(const GPUTexture *tex); bool GPU_texture_stencil(const GPUTexture *tex); int GPU_texture_opengl_bindcode(const GPUTexture *tex); |