diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-07-17 03:15:41 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-07-18 04:43:51 +0300 |
commit | 5b4a862f834eef798762660a73c6ae9881368460 (patch) | |
tree | 7c90b49c77fa26fa69e624260cae4450502f5e4b /source/blender/gpu/GPU_texture.h | |
parent | 2840782d8478f1c37c2aa91cc7f12c8e1f4dca0a (diff) |
GPUTexture: Add better swizzle support
Diffstat (limited to 'source/blender/gpu/GPU_texture.h')
-rw-r--r-- | source/blender/gpu/GPU_texture.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/GPU_texture.h b/source/blender/gpu/GPU_texture.h index f9e129b2f7a..9c7cc6b5e32 100644 --- a/source/blender/gpu/GPU_texture.h +++ b/source/blender/gpu/GPU_texture.h @@ -275,7 +275,7 @@ void GPU_texture_wrap_mode(GPUTexture *tex, bool use_repeat, bool use_clamp); void GPU_texture_filters(GPUTexture *tex, eGPUFilterFunction min_filter, eGPUFilterFunction mag_filter); -void GPU_texture_swizzle_channel_auto(GPUTexture *tex, int channels); +void GPU_texture_swizzle_set(GPUTexture *tex, const char swizzle[4]); void GPU_texture_attach_framebuffer(GPUTexture *tex, struct GPUFrameBuffer *fb, int attachment); int GPU_texture_detach_framebuffer(GPUTexture *tex, struct GPUFrameBuffer *fb); |