Berserk
Public Member Functions | List of all members
ShaderCompileOptions Class Referencefinal

Options passed to compile shader. More...

#include <Shader.hpp>

Inheritance diagram for ShaderCompileOptions:
Inheritance graph
[legend]
Collaboration diagram for ShaderCompileOptions:
Collaboration graph
[legend]

Public Member Functions

BRK_API ShaderCompileOptions ()=default
 
BRK_API ~ShaderCompileOptions () override=default
 
BRK_API void Set (const StringName &option)
 
BRK_API bool IsSet (const StringName &option) const
 
BRK_API void Clear ()
 
BRK_API size_t GetCount () const
 
BRK_API const std::unordered_set< StringName > & Get () const
 
- Public Member Functions inherited from RefCnt
virtual ~RefCnt ()
 
bool IsUnique () const
 
std::int32_t GetRefs () const
 
std::int32_t AddRef () const
 
std::int32_t RelRef () const
 

Additional Inherited Members

- Protected Member Functions inherited from RefCnt
virtual void Destroy () const
 

Detailed Description

Options passed to compile shader.

Constructor & Destructor Documentation

◆ ShaderCompileOptions()

BRK_API ShaderCompileOptions::ShaderCompileOptions ( )
default

◆ ~ShaderCompileOptions()

BRK_API ShaderCompileOptions::~ShaderCompileOptions ( )
overridedefault

Member Function Documentation

◆ Clear()

BRK_API void ShaderCompileOptions::Clear ( )
inline

◆ Get()

BRK_API const std::unordered_set<StringName>& ShaderCompileOptions::Get ( ) const
inline

◆ GetCount()

BRK_API size_t ShaderCompileOptions::GetCount ( ) const
inline

◆ IsSet()

BRK_API bool ShaderCompileOptions::IsSet ( const StringName option) const
inline

◆ Set()

BRK_API void ShaderCompileOptions::Set ( const StringName option)
inline

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