API Documentation
ShaderManager.h
1 // ShaderManager.h
3 //
5 
6 namespace nkGraphics
7 {
14  class ShaderManager final : public Manager<Shader>, public nkCommon::MaybeSingletonClass<ShaderManager>
15  {
16  public :
17 
18  // Available default shaders names
19  inline static const nkMemory::StringView DEFAULT_EMPTY_SHADER = "NILKINS_EMPTY_SHADER" ;
20  inline static const nkMemory::StringView DEFAULT_POSITION_SHADER = "NILKINS_POSITION_SHADER" ;
21  inline static const nkMemory::StringView DEFAULT_UV_SHADER = "NILKINS_UV_SHADER" ;
22  inline static const nkMemory::StringView DEFAULT_NORMAL_SHADER = "NILKINS_NORMAL_SHADER" ;
23  inline static const nkMemory::StringView DEFAULT_UV_NORMAL_SHADER = "NILKINS_UV_NORMAL_SHADER" ;
24  } ;
25 }
nkGraphics::ShaderManager::DEFAULT_NORMAL_SHADER
static const nkMemory::StringView DEFAULT_NORMAL_SHADER
Default (Built-in) normal shader name.
Definition: ShaderManager.h:22
nkGraphics::ShaderManager::DEFAULT_UV_SHADER
static const nkMemory::StringView DEFAULT_UV_SHADER
Default (Built-in) UV shader name.
Definition: ShaderManager.h:21
nkGraphics::ShaderManager
Manages the shaders recorded.
Definition: ShaderManager.h:15
nkGraphics::Manager
Base class for resource managers.
Definition: Manager.h:13
nkMemory::StringView
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
nkGraphics::ShaderManager::DEFAULT_POSITION_SHADER
static const nkMemory::StringView DEFAULT_POSITION_SHADER
Default (Built-in) position shader name.
Definition: ShaderManager.h:20
nkGraphics::ShaderManager::DEFAULT_UV_NORMAL_SHADER
static const nkMemory::StringView DEFAULT_UV_NORMAL_SHADER
Default (Built-in) normal + UV shader name.
Definition: ShaderManager.h:23
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
nkGraphics::ShaderManager::DEFAULT_EMPTY_SHADER
static const nkMemory::StringView DEFAULT_EMPTY_SHADER
Default (Built-in) empty shader name.
Definition: ShaderManager.h:19