VPP  0.7
A high-level modern C++ API for Vulkan
Public Member Functions | List of all members
vpp::VBool Class Reference

Shader (GPU-side) data type for mutable variables of boolean type. More...

#include <vppLangScalarTypes.hpp>

Public Member Functions

 VBool (const Bool &rvalue)
 
const VBooloperator= (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
 

Detailed Description

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.


The documentation for this class was generated from the following file: