Basic QCCustomBrush doc and setter cleanup
Add QShader-taking overloads for the shader setters.
The shader may be sourced via other means, not necessarily
from files. Also consistent with QSGMaterialShader for
instance, which also provides both.
Allow the filename-taking constructor to only specify the
fragment shader (the first argument), which is likely
more common.
Expand the docs, so there is at least a minimal description
and example of how to create a fragment shader for a
custom brush.
This is by no means complete. For example, there is no
documentation of the built-in functions in customfrag.glsl
and the built-in uniform block members yet.
Pick-to: 6.11
Change-Id: Ib2a464d4a3965db25590dba2258060d76dfa7c17
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>