Classes |
Public Member Functions |
Public Attributes |
Static Public Attributes |
Friends |
List of all members
Gfx::ShaderSource Struct Reference
Inheritance diagram for Gfx::ShaderSource:
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) | |
ShaderSource & | operator= (const ShaderSource &)=default |
ShaderSource & | operator= (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
|
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: