Browse Source

Mention stencil test in lovr.graphics.clear;

bjorn 6 years ago
parent
commit
58adce71dd
1 changed files with 2 additions and 0 deletions
  1. 2 0
      api/lovr/graphics/clear.lua

+ 2 - 0
api/lovr/graphics/clear.lua

@@ -67,6 +67,8 @@ return {
   notes = [[
   notes = [[
     The two variants of this function can be mixed and matched, meaning you can use booleans for
     The two variants of this function can be mixed and matched, meaning you can use booleans for
     some of the values and numeric values for others.
     some of the values and numeric values for others.
+
+    Note that the clear is not affected by the stencil test.
   ]],
   ]],
   related = {
   related = {
     'lovr.graphics.setBackgroundColor'
     'lovr.graphics.setBackgroundColor'