From 5d4ca5e87a539f7226a99dd8fa06b7fd92dea66b Mon Sep 17 00:00:00 2001 From: dan sinclair Date: Wed, 21 Nov 2018 11:10:32 -0500 Subject: 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. --- docs/vk_script.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') 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 -- cgit v1.2.3