QSGSimpleMaterialShader Proxy Page

Macros

Macro Documentation

QSG_DECLARE_SIMPLE_COMPARABLE_SHADER(Shader, State)

This macro is used to declare a QSGMaterialType and a createMaterial() function for Shader with the given State, where the State class must define a compare function on the form:


  int compare(const State *other) const;

QSG_DECLARE_SIMPLE_SHADER(Shader, State)

This macro is used to declare a QSGMaterialType and a createMaterial() function for Shader with the given State.