|
Blender V4.5
|
Public Member Functions | |
| ShaderCache () | |
Static Public Member Functions | |
| static ShaderCache & | get () |
| static void | release () |
Public Attributes | |
| gpu::StaticShader | hair_refine = {"draw_hair_refine_compute"} |
| gpu::StaticShader | debug_draw_display = {"draw_debug_draw_display"} |
| gpu::StaticShader | draw_visibility_compute = {"draw_visibility_compute"} |
| gpu::StaticShader | draw_view_finalize = {"draw_view_finalize"} |
| gpu::StaticShader | draw_resource_finalize = {"draw_resource_finalize"} |
| gpu::StaticShader | draw_command_generate = {"draw_command_generate"} |
| gpu::StaticShader | subdiv_sh [SUBDIVISION_MAX_SHADERS] |
| gpu::StaticShader | subdiv_custom_data_sh [SHADER_CUSTOM_DATA_INTERP_MAX_DIMENSIONS][GPU_COMP_MAX] |
Definition at line 87 of file draw_shader.cc.
|
inline |
Definition at line 114 of file draw_shader.cc.
References BLI_assert_unreachable, blender::StringRefNull::c_str(), COMP_CUSTOM_DATA_INTERP, get_subdiv_shader_info_name(), GPU_COMP_F32, GPU_COMP_I32, GPU_COMP_U16, i, SHADER_CUSTOM_DATA_INTERP_MAX_DIMENSIONS, subdiv_custom_data_sh, subdiv_sh, and SUBDIVISION_MAX_SHADERS.
Referenced by get().
|
inlinestatic |
Definition at line 95 of file draw_shader.cc.
References get(), and ShaderCache().
Referenced by DRW_shader_curves_refine_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_hair_refine_get(), DRW_shader_subdiv_custom_data_get(), DRW_shader_subdiv_get(), and get().
|
inlinestatic |
Definition at line 99 of file draw_shader.cc.
Referenced by DRW_shaders_free().
| gpu::StaticShader blender::draw::Shader::ShaderCache::debug_draw_display = {"draw_debug_draw_display"} |
Definition at line 105 of file draw_shader.cc.
Referenced by DRW_shader_debug_draw_display_get().
| gpu::StaticShader blender::draw::Shader::ShaderCache::draw_command_generate = {"draw_command_generate"} |
Definition at line 109 of file draw_shader.cc.
Referenced by DRW_shader_draw_command_generate_get().
| gpu::StaticShader blender::draw::Shader::ShaderCache::draw_resource_finalize = {"draw_resource_finalize"} |
Definition at line 108 of file draw_shader.cc.
Referenced by DRW_shader_draw_resource_finalize_get().
| gpu::StaticShader blender::draw::Shader::ShaderCache::draw_view_finalize = {"draw_view_finalize"} |
Definition at line 107 of file draw_shader.cc.
Referenced by DRW_shader_draw_view_finalize_get().
| gpu::StaticShader blender::draw::Shader::ShaderCache::draw_visibility_compute = {"draw_visibility_compute"} |
Definition at line 106 of file draw_shader.cc.
Referenced by DRW_shader_draw_visibility_compute_get().
| gpu::StaticShader blender::draw::Shader::ShaderCache::hair_refine = {"draw_hair_refine_compute"} |
Definition at line 104 of file draw_shader.cc.
Referenced by DRW_shader_curves_refine_get(), and DRW_shader_hair_refine_get().
| gpu::StaticShader blender::draw::Shader::ShaderCache::subdiv_custom_data_sh[SHADER_CUSTOM_DATA_INTERP_MAX_DIMENSIONS][GPU_COMP_MAX] |
Definition at line 112 of file draw_shader.cc.
Referenced by DRW_shader_subdiv_custom_data_get(), and ShaderCache().
| gpu::StaticShader blender::draw::Shader::ShaderCache::subdiv_sh[SUBDIVISION_MAX_SHADERS] |
Definition at line 111 of file draw_shader.cc.
Referenced by DRW_shader_subdiv_get(), and ShaderCache().