Skip to content

Vp::Shaders

#include "Viewport/shader/Shaders.h"

Public Functions

Name
Shaders &instance()
Shaders(Shaders const & ) =delete
boolload()
voidoperator=(Shaders const & ) =delete
boolreload()

Public Attributes

Name
boolloaded
std::shared_ptr< BoxBlurShader >m_boxBlurShader
std::shared_ptr< ColorShader >m_colorShader
std::shared_ptr< FrustumShader >m_frustumShader
std::shared_ptr< GridShader >m_gridShader
std::shared_ptr< PhongShader >m_phongShader
std::shared_ptr< ScreenOverlayShader >m_screenOverlayShader
std::shared_ptr< SelectionCompositeShader >m_selectionCompositeShader
std::shared_ptr< WBOITCompositeShader >m_wboitCompositeShader

Public Functions Documentation

function instance

cpp
static inline Shaders & instance()
static inline Shaders & instance()

function Shaders

cpp
Shaders(
    Shaders const & 
) =delete
Shaders(
    Shaders const & 
) =delete

function load

cpp
bool load()
bool load()

function operator=

cpp
void operator=(
    Shaders const & 
) =delete
void operator=(
    Shaders const & 
) =delete

function reload

cpp
bool reload()
bool reload()

Public Attributes Documentation

variable loaded

cpp
bool loaded {false};
bool loaded {false};

variable m_boxBlurShader

cpp
std::shared_ptr< BoxBlurShader > m_boxBlurShader;
std::shared_ptr< BoxBlurShader > m_boxBlurShader;

variable m_colorShader

cpp
std::shared_ptr< ColorShader > m_colorShader;
std::shared_ptr< ColorShader > m_colorShader;

variable m_frustumShader

cpp
std::shared_ptr< FrustumShader > m_frustumShader;
std::shared_ptr< FrustumShader > m_frustumShader;

variable m_gridShader

cpp
std::shared_ptr< GridShader > m_gridShader;
std::shared_ptr< GridShader > m_gridShader;

variable m_phongShader

cpp
std::shared_ptr< PhongShader > m_phongShader;
std::shared_ptr< PhongShader > m_phongShader;

variable m_screenOverlayShader

cpp
std::shared_ptr< ScreenOverlayShader > m_screenOverlayShader;
std::shared_ptr< ScreenOverlayShader > m_screenOverlayShader;

variable m_selectionCompositeShader

cpp
std::shared_ptr< SelectionCompositeShader > m_selectionCompositeShader;
std::shared_ptr< SelectionCompositeShader > m_selectionCompositeShader;

variable m_wboitCompositeShader

cpp
std::shared_ptr< WBOITCompositeShader > m_wboitCompositeShader;
std::shared_ptr< WBOITCompositeShader > m_wboitCompositeShader;

Updated on 2024-11-06 at 20:16:53 +0000