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>
commitb4bba51be724caf56bd43e88d2a202c9f4500247
parentec25b41eff6ed0a6f1a4b67f9d2e2c869e53bc67
authorLaszlo Agocs <laszlo.agocs@qt.io>
committerLaszlo Agocs <laszlo.agocs@qt.io>
commit timeMon, 5 Jan 2026 13:14:07 +0100