![]() |
VPP
0.7
A high-level modern C++ API for Vulkan
|
Shader (GPU-side) data type for mutable variables of 4-element boolean vector type. More...
#include <vppLangVectorTypes.hpp>
Shader (GPU-side) data type for mutable variables of 4-element boolean vector type.
Use this type inside shader code as a counterpart of CPU-side bool[4] type, when it is required to change value of the vector.
This is a l-value type. It can be initialized and changed any time.
Beware that mutable variables can degrade performance on GPU, therefore BVec4 is preferable, unless you really want a mutable variable.