diff options
author | Matthias Clasen <mclasen@redhat.com> | 2022-07-15 08:36:35 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-07-15 15:46:06 -0400 |
commit | 35e6a2fdb83c17a2ce27c6deb442d7efe28b7fec (patch) | |
tree | 108dd6cf9de122d261cafef27e6bb6f352ec8c1c /demos | |
parent | 69336fa5f182b4ede201e0553afc9444c88f00d8 (diff) | |
download | gtk+-35e6a2fdb83c17a2ce27c6deb442d7efe28b7fec.tar.gz |
node-editor: Sort help better
Move the gshader section where it belongs.
Diffstat (limited to 'demos')
-rw-r--r-- | demos/node-editor/node-format.md | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/demos/node-editor/node-format.md b/demos/node-editor/node-format.md index 9664090274..ca9417f7d0 100644 --- a/demos/node-editor/node-format.md +++ b/demos/node-editor/node-format.md @@ -137,6 +137,23 @@ Creates a node like `gsk_cross_fade_node_new()` with the given properties. Creates a node like `gsk_debug_node_new()` with the given properties. +### glshader + +| property | syntax | default | printed | +| ---------- | ------------------ | ---------------------- | ----------- | +| bounds | `<rect>` | 50 | always | +| sourcecode | `<string>` | "" | always | +| args | `<uniform values>` | none | non-default | +| child1 | `<node>` | none | non-default | +| child2 | `<node>` | none | non-default | +| child3 | `<node>` | none | non-default | +| child4 | `<node>` | none | non-default | + +Creates a GLShader node. The `sourcecode` must be a GLSL fragment shader. +The `args` must match the uniforms of simple types declared in that shader, +in order and comma-separated. The `child` properties must match the sampler +uniforms in the shader. + ### inset-shadow | property | syntax | default | printed | @@ -288,20 +305,3 @@ representation for this texture is `url("data:image/png;base64,iVBORw0KGgoAAAANS | transform| `<transform>` | none | non-default | Creates a node like `gsk_transform_node_new()` with the given properties. - -### glshader - -| property | syntax | default | printed | -| ---------- | ------------------ | ---------------------- | ----------- | -| bounds | `<rect>` | 50 | always | -| sourcecode | `<string>` | "" | always | -| args | `<uniform values>` | none | non-default | -| child1 | `<node>` | none | non-default | -| child2 | `<node>` | none | non-default | -| child3 | `<node>` | none | non-default | -| child4 | `<node>` | none | non-default | - -Creates a GLShader node. The `sourcecode` must be a GLSL fragment shader. -The `args` must match the uniforms of simple types declared in that shader, -in order and comma-separated. The `child` properties must match the sampler -uniforms in the shader. |