|
Blender V5.0
|
#include <GPU_shader.hh>
Inherits blender::NonCopyable.
Inherited by BuiltinShader.
Public Member Functions | |
| StaticShader (std::string info_name) | |
| StaticShader ()=default | |
| StaticShader (StaticShader &&other) | |
| StaticShader & | operator= (StaticShader &&other) |
| ~StaticShader () | |
| void | ensure_compile_async () |
| bool | is_ready () |
| blender::gpu::Shader * | get () |
| void | set (blender::gpu::Shader *shader) |
Definition at line 434 of file GPU_shader.hh.
|
inline |
Definition at line 457 of file GPU_shader.hh.
Referenced by BuiltinShader::BuiltinShader(), operator=(), and StaticShader().
|
default |
|
inline |
Definition at line 460 of file GPU_shader.hh.
References StaticShader().
|
inline |
Definition at line 470 of file GPU_shader.hh.
References GPU_shader_batch_cancel(), and GPU_SHADER_FREE_SAFE.
|
inline |
Definition at line 479 of file GPU_shader.hh.
References BLI_assert, GPU_shader_batch_create_from_infos(), GPU_shader_batch_finalize(), GPU_shader_batch_is_ready(), GPU_shader_create_info_get(), is_ready(), and lock.
|
inline |
Definition at line 507 of file GPU_shader.hh.
References BLI_assert, GPU_shader_batch_finalize(), GPU_shader_create_from_info_name(), is_ready(), and lock.
Referenced by blender::draw::overlay::ModeTransfer::begin_sync(), blender::draw::overlay::Wireframe::begin_sync(), DRW_shader_curves_refine_get(), DRW_shader_curves_topology_get(), DRW_shader_debug_draw_display_get(), DRW_shader_draw_command_generate_get(), DRW_shader_draw_resource_finalize_get(), DRW_shader_draw_view_finalize_get(), DRW_shader_draw_visibility_compute_get(), DRW_shader_subdiv_custom_data_get(), DRW_shader_subdiv_get(), DRW_shader_subdiv_interp_corner_normals_get(), blender::draw::overlay::Empties::end_sync(), and blender::draw::overlay::Outline::flat_objects_pass_sync().
|
inline |
Definition at line 502 of file GPU_shader.hh.
Referenced by ensure_compile_async(), and get().
|
inline |
Definition at line 464 of file GPU_shader.hh.
References StaticShader().
|
inline |
Definition at line 531 of file GPU_shader.hh.
References BLI_assert, and lock.