diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2017-04-18 12:21:17 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2017-04-18 13:50:28 +0300 |
commit | eda0ebc7b3d3d2a4716bbb19881a0f0e35a56235 (patch) | |
tree | c49165b8e76cd8d753996c9d9b0e987b0c84d5e5 /source/blender/gpu/GPU_texture.h | |
parent | 7bf8ab3c494ee4e4e78cf846a3b7c07a472302e0 (diff) |
GPUTexture: Add Mipmap Control functions.
Diffstat (limited to 'source/blender/gpu/GPU_texture.h')
-rw-r--r-- | source/blender/gpu/GPU_texture.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_texture.h b/source/blender/gpu/GPU_texture.h index cbfab98cfbf..755ddcc07f5 100644 --- a/source/blender/gpu/GPU_texture.h +++ b/source/blender/gpu/GPU_texture.h @@ -176,8 +176,10 @@ void GPU_texture_bind(GPUTexture *tex, int number); void GPU_texture_unbind(GPUTexture *tex); int GPU_texture_bound_number(GPUTexture *tex); +void GPU_texture_generate_mipmap(GPUTexture *tex); void GPU_texture_compare_mode(GPUTexture *tex, bool use_compare); void GPU_texture_filter_mode(GPUTexture *tex, bool use_filter); +void GPU_texture_mipmap_mode(GPUTexture *tex, bool use_mipmap); void GPU_texture_wrap_mode(GPUTexture *tex, bool use_repeat); struct GPUFrameBuffer *GPU_texture_framebuffer(GPUTexture *tex); |