|
Blender V4.3
|
#include <COM_smaa_precomputed_textures.hh>
Inherits blender::realtime_compositor::CachedResource.
Public Member Functions | |
| SMAAPrecomputedTextures () | |
| ~SMAAPrecomputedTextures () | |
| void | bind_search_texture (GPUShader *shader, const char *sampler_name) const |
| void | unbind_search_texture () const |
| void | bind_area_texture (GPUShader *shader, const char *sampler_name) const |
| void | unbind_area_texture () const |
Additional Inherited Members | |
Public Attributes inherited from blender::realtime_compositor::CachedResource | |
| bool | needed = true |
Definition at line 21 of file COM_smaa_precomputed_textures.hh.
| blender::realtime_compositor::SMAAPrecomputedTextures::SMAAPrecomputedTextures | ( | ) |
Definition at line 20 of file smaa_precomputed_textures.cc.
References AREATEX_HEIGHT, AREATEX_WIDTH, areaTexBytes, GPU_DATA_UBYTE, GPU_R8, GPU_RG8, GPU_texture_create_2d(), GPU_texture_filter_mode(), GPU_texture_update(), GPU_TEXTURE_USAGE_SHADER_READ, SEARCHTEX_HEIGHT, SEARCHTEX_WIDTH, and searchTexBytes.
| blender::realtime_compositor::SMAAPrecomputedTextures::~SMAAPrecomputedTextures | ( | ) |
Definition at line 43 of file smaa_precomputed_textures.cc.
References GPU_texture_free().
| void blender::realtime_compositor::SMAAPrecomputedTextures::bind_area_texture | ( | GPUShader * | shader, |
| const char * | sampler_name ) const |
Definition at line 61 of file smaa_precomputed_textures.cc.
References GPU_shader_get_sampler_binding(), and GPU_texture_bind().
Referenced by blender::realtime_compositor::calculate_blending_weights().
| void blender::realtime_compositor::SMAAPrecomputedTextures::bind_search_texture | ( | GPUShader * | shader, |
| const char * | sampler_name ) const |
Definition at line 49 of file smaa_precomputed_textures.cc.
References GPU_shader_get_sampler_binding(), and GPU_texture_bind().
Referenced by blender::realtime_compositor::calculate_blending_weights().
| void blender::realtime_compositor::SMAAPrecomputedTextures::unbind_area_texture | ( | ) | const |
Definition at line 67 of file smaa_precomputed_textures.cc.
References GPU_texture_unbind().
Referenced by blender::realtime_compositor::calculate_blending_weights().
| void blender::realtime_compositor::SMAAPrecomputedTextures::unbind_search_texture | ( | ) | const |
Definition at line 56 of file smaa_precomputed_textures.cc.
References GPU_texture_unbind().
Referenced by blender::realtime_compositor::calculate_blending_weights().