VPP  0.7
A high-level modern C++ API for Vulkan
vpp::VFloat Class Reference

Shader (GPU-side) data type for mutable variables of 32-bit floating point type. More...

#include <vppLangScalarTypes.hpp>

Detailed Description

Shader (GPU-side) data type for mutable variables of 32-bit floating point type.

Use this type inside shader code as a counterpart of CPU-side float 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 Float, unless you really want a mutable variable.


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