26 if (single_color_material_shader ==
nullptr)
28 return single_color_material_shader;
33 if (phong_geometry_shader ==
nullptr)
35 return phong_geometry_shader;
40 if (phong_lighting_shader ==
nullptr)
42 return phong_lighting_shader;
47 if (shadow_pass_shader ==
nullptr)
49 return shadow_pass_shader;
54 if (tone_mapping_pass_shader ==
nullptr)
56 return tone_mapping_pass_shader;
61 if (gaussian_blur_pass_shader ==
nullptr)
63 return gaussian_blur_pass_shader;
68 if (texture_add_pass_shader ==
nullptr)
70 return texture_add_pass_shader;
shared< shader_program > GetShadowPassShader() const override
shared< shader_program > GetToneMappingPassShader() const override
shared< shader_program > GetGaussianBlurPassShader() const override
shared< shader_program > GetPhongGeometryShader() const override
shared< shader_program > GetPhongLightingShader() const override
shared< shader_program > GetTextureAddPassShader() const override
shared< shader_program > GetSingleColorMaterialShader() const override
Mesh interfaces definition module. Mesh stores vertex and index buffer and implement their binding du...
shared< shader_program > LoadShader(const std::filesystem::path &ShaderProgamFilePath)
std::shared_ptr< T > shared
Sculpto library prehompiled header. Defines common definitions, includes commonly used modules.
Shader program interface definition module.