diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2017-11-14 01:25:46 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2017-11-14 01:25:46 +0300 |
commit | 93936b8643b9c4f77fe13d35b41ecaa246843dd8 (patch) | |
tree | 3c7738ec519551a344e4b395bb56e806a76f6fa7 /source/blender/gpu/GPU_texture.h | |
parent | ab013224adf5bb07c1467637592cd8c7bb5cb2fe (diff) |
GPUTexture: Add for stencil to default depth buffers.
Theses will be used by eevee SSS.
TODO: only allocate stencil if needed.
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 fa8ed992c72..82e215f6fae 100644 --- a/source/blender/gpu/GPU_texture.h +++ b/source/blender/gpu/GPU_texture.h @@ -162,6 +162,7 @@ GPUTexture *GPU_texture_create_cube_custom( GPUTexture *GPU_texture_create_depth(int w, int h, char err_out[256]); GPUTexture *GPU_texture_create_depth_with_stencil(int w, int h, char err_out[256]); GPUTexture *GPU_texture_create_depth_multisample(int w, int h, int samples, char err_out[256]); +GPUTexture *GPU_texture_create_depth_with_stencil_multisample(int w, int h, int samples, char err_out[256]); GPUTexture *GPU_texture_from_blender( struct Image *ima, struct ImageUser *iuser, int textarget, bool is_data, double time, int mipmap); |