diff options
author | dan sinclair <dj2@everburning.com> | 2018-11-21 11:10:32 -0500 |
---|---|---|
committer | David Neto <dneto@google.com> | 2018-11-21 11:10:32 -0500 |
commit | 5d4ca5e87a539f7226a99dd8fa06b7fd92dea66b (patch) | |
tree | 601daa18926d3c590dec6c14ff650595484a9d05 /docs | |
parent | 5d455a0106281bf69bf0976dedb455d0894025fd (diff) | |
download | amber-5d4ca5e87a539f7226a99dd8fa06b7fd92dea66b.tar.gz |
Fixup clear stencil value (#82)
The clear stencil value is a uint32_t and the clear depth value is a
float. This CL clarifies the expected values and fixes up the stencil
example to be the correct type.
Fixes #81.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/vk_script.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/vk_script.md b/docs/vk_script.md index 2d5cf3b..c997ae3 100644 --- a/docs/vk_script.md +++ b/docs/vk_script.md @@ -259,13 +259,13 @@ Sets the clear color. Defaults to (0, 0, 0, 0). ### Clear Depth * `clear depth _value_` -Sets the depth clear value. Defaults to 1.0. +Sets the depth clear value. The _value_ is a float and defaults to 1.0. ### Clear Stencil * `clear stencil _value_` -Sets the stencil clear value. Defaults to 0.0. +Sets the stencil clear value. The _value_ is an integer and defaults to 0. ### Clear |