|
Blender V5.3
|
#include <GPU_shader.hh>
Inherits blender::blender::NonCopyable.
Inherited by blender::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 () |
| gpu::Shader * | get () |
| void | set (gpu::Shader *shader) |
Definition at line 435 of file GPU_shader.hh.
|
inline |
Definition at line 458 of file GPU_shader.hh.
Referenced by blender::BuiltinShader::BuiltinShader(), operator=(), and StaticShader().
|
default |
Referenced by blender::eevee::ShaderModule::ShaderModule().
|
inline |
Definition at line 461 of file GPU_shader.hh.
References StaticShader().
|
inline |
Definition at line 471 of file GPU_shader.hh.
References blender::GPU_shader_async_compilation_cancel(), and GPU_SHADER_FREE_SAFE.
|
inline |
Definition at line 480 of file GPU_shader.hh.
References blender::BLI_assert(), blender::GPU_shader_async_compilation(), blender::GPU_shader_async_compilation_finalize(), blender::GPU_shader_async_compilation_is_ready(), blender::GPU_shader_create_info_get(), is_ready(), and lock.
Referenced by blender::gpu_shader_warm_builtin_shader_async(), and blender::draw::overlay::Resources::init().
|
inline |
Definition at line 508 of file GPU_shader.hh.
References blender::BLI_assert(), blender::GPU_shader_async_compilation_finalize(), blender::GPU_shader_create_from_info_name(), is_ready(), and lock.
Referenced by blender::draw::overlay::ModeTransfer::begin_sync(), blender::draw::overlay::Wireframe::begin_sync(), blender::DRW_shader_curves_refine_get(), blender::DRW_shader_curves_topology_get(), blender::DRW_shader_debug_draw_display_get(), blender::DRW_shader_draw_command_generate_get(), blender::DRW_shader_draw_resource_finalize_get(), blender::DRW_shader_draw_view_finalize_get(), blender::DRW_shader_draw_visibility_compute_get(), blender::DRW_shader_gsplat_compute_get(), blender::DRW_shader_mesh_gather_get(), blender::DRW_shader_mesh_scatter_faces_get(), blender::DRW_shader_subdiv_custom_data_get(), blender::DRW_shader_subdiv_get(), blender::DRW_shader_subdiv_interp_corner_normals_get(), blender::draw::overlay::Empties::end_sync(), blender::draw::overlay::Outline::flat_objects_pass_sync(), and blender::GPU_shader_get_builtin_shader_with_config().
|
inline |
Definition at line 503 of file GPU_shader.hh.
Referenced by ensure_compile_async(), and get().
|
inline |
Definition at line 465 of file GPU_shader.hh.
References StaticShader().
|
inline |
Definition at line 532 of file GPU_shader.hh.
References blender::BLI_assert(), and lock.