summaryrefslogtreecommitdiffstatshomepage
path: root/bgfx/chains/hlsl.json
diff options
context:
space:
mode:
Diffstat (limited to 'bgfx/chains/hlsl.json')
-rw-r--r--bgfx/chains/hlsl.json15
1 files changed, 15 insertions, 0 deletions
diff --git a/bgfx/chains/hlsl.json b/bgfx/chains/hlsl.json
index 3f5168140af..985a332ed9d 100644
--- a/bgfx/chains/hlsl.json
+++ b/bgfx/chains/hlsl.json
@@ -189,6 +189,21 @@
// value: Any valid ASCII string.
"name": "NTSC Encode",
+ // clear (optional): How to clear the output target for this particular entry.
+ "clear": {
+ // clearcolor (optional): An array containing an RGBA quadruplet to which to clear the output target.
+ // value: An array of four numeric values of the range 0.0 to 1.0.
+ "clearcolor": [ 0.0, 0.0, 0.0, 0.0 ],
+
+ // cleardepth (optional): A numeric value containing the depth value to which to clear the output target.
+ // value: Any numeric value.
+ "cleardepth": 1.0,
+
+ // clearstencil (optional): A numeric value containing the stencil value to which to clear the output target.
+ // value: An integer value.
+ "clearstencil": 0
+ },
+
// disablewhen (optional): An array of conditions that can be used to disable this pass.
"disablewhen": [
// type (optional): Reserved for future expansion. Currently only "slider" is supported.