Rebel Fork Framework
Urho3D::ShaderDefineArray Struct Reference

Array of shader defines: pairs of name and value. More...

#include <Urho3D/Shader/ShaderDefs.h>

Public Member Functions

 ShaderDefineArray ()=default
 Construct default.
 
 ShaderDefineArray (const ea::string &defineString)
 Construct from string.
 
void Append (const ea::string &define)
 Append define without value.
 
void Append (const ea::string &define, const ea::string &value)
 Append define with value.
 
unsigned Size () const
 Return size.
 
ea::vector< ea::string > FindUnused (const ea::string &code) const
 Find defines unused in source code.
 

Public Attributes

ea::vector< ea::pair< ea::string, ea::string > > defines_
 Vector of defines.
 

Detailed Description

Array of shader defines: pairs of name and value.


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