Inheritance diagram for Gfx::ShaderSource:
Gfx::ProcessedProgram

Classes

struct  MemberSpec
 

Public Member Functions

 ShaderSource (const ShaderSource &)=default
 
 ShaderSource (ShaderSource &&)=default
 
 ShaderSource (const QString &vert, const QString &frag)
 
 ShaderSource (const std::vector< QString > &vec)
 
 ShaderSource (std::vector< QString > &&vec)
 
ShaderSourceoperator= (const ShaderSource &)=default
 
ShaderSourceoperator= (ShaderSource &&)=default
 

Public Attributes

QString vertex
 
QString fragment
 

Static Public Attributes

static const std::array< MemberSpec, 2 > specification
 

Friends

QDebug & operator<< (QDebug &d, const ShaderSource &sp)
 
bool operator== (const ShaderSource &lhs, const ShaderSource &rhs) noexcept
 
bool operator!= (const ShaderSource &lhs, const ShaderSource &rhs) noexcept
 
bool operator== (const std::vector< QString > &lhs, const ShaderSource &rhs) noexcept
 
bool operator!= (const std::vector< QString > &lhs, const ShaderSource &rhs) noexcept
 

Member Data Documentation

◆ specification

const std::array<MemberSpec, 2> Gfx::ShaderSource::specification
inlinestatic
Initial value:
{
MemberSpec{QObject::tr("Fragment"), &ShaderSource::fragment, "GLSL"},
MemberSpec{QObject::tr("Vertex"), &ShaderSource::vertex, "GLSL"},
}

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