![]() |
VPP
0.7
A high-level modern C++ API for Vulkan
|
Template for defining local structure data fields. More...
#include <vppLangAggregates.hpp>
Template for defining local structure data fields.
Place Field inside LocalStruct to define a data field.
This field can have any scalar, vector or matrix shader type. Specify the type as the first template argument.
The second optional argument is bitwise OR of the following flags:
The flags allow to set interpolation mode for the fragment shader, per structure member. By default they are equal to zero, which means default precision and interpolation mode.