![]() |
VPP
0.7
A high-level modern C++ API for Vulkan
|
Shader (GPU-side) data type for mutable variables of boolean type. More...
#include <vppLangScalarTypes.hpp>
Public Member Functions | |
VBool (const Bool &rvalue) | |
const VBool & | operator= (const Bool &rhs) |
operator Bool () const | |
Bool | operator|| (const Bool &rhs) const |
Bool | operator && (const Bool &rhs) const |
Bool | operator! () const |
Bool | operator== (const Bool &rhs) const |
Bool | operator!= (const Bool &rhs) const |
Shader (GPU-side) data type for mutable variables of boolean type.
Use this type inside shader code as a counterpart of CPU-side bool type.
This is a l-value type. You can assign to it at will.
Beware that mutable variables can degrade performance on GPU, consider using Bool, unless you really want a mutable variable.