Nameless Engine
Loading...
Searching...
No Matches
ne::ShaderPack::InternalResources Struct Reference

#include <ShaderPack.h>

Public Attributes

bool bIsRenderConfigurationSet = false
 
std::set< ShaderMacro > renderConfiguration
 
std::unordered_map< std::set< ShaderMacro >, std::shared_ptr< Shader >, ShaderMacroSetHashshadersInPack
 

Detailed Description

Groups used data.

Member Data Documentation

◆ bIsRenderConfigurationSet

bool ne::ShaderPack::InternalResources::bIsRenderConfigurationSet = false

Whether renderConfiguration was set or not.

◆ renderConfiguration

std::set<ShaderMacro> ne::ShaderPack::InternalResources::renderConfiguration

Last set renderer's configuration.

◆ shadersInPack

std::unordered_map<std::set<ShaderMacro>, std::shared_ptr<Shader>, ShaderMacroSetHash> ne::ShaderPack::InternalResources::shadersInPack

Stores shaders of this pack (pairs of "shader configuration" - "shader").


The documentation for this struct was generated from the following file: