Push-constant payload shared by the mask and content shaders. More...
#include <mxvk/include/mxvk/mxvk_stencil.hpp>
Public Attributes | |
| float | aspect = 1.0f |
| Render target width divided by height. | |
| float | phase = 0.0f |
| User-defined phase value for animated stencil/content shaders. | |
| float | scale = 1.0f |
| User-defined scale value for stencil/content shaders. | |
| float | time = 0.0f |
| Elapsed animation time in seconds. | |
Push-constant payload shared by the mask and content shaders.
The helper does not assign semantic meaning beyond the field names; examples use the values for animation time, aspect-ratio correction, phase offsets, and scale.
Definition at line 34 of file mxvk_stencil.hpp.
| float mxvk::VK_Stencil::PushConstants::aspect = 1.0f |
Render target width divided by height.
Definition at line 38 of file mxvk_stencil.hpp.
| float mxvk::VK_Stencil::PushConstants::phase = 0.0f |
User-defined phase value for animated stencil/content shaders.
Definition at line 40 of file mxvk_stencil.hpp.
| float mxvk::VK_Stencil::PushConstants::scale = 1.0f |
User-defined scale value for stencil/content shaders.
Definition at line 42 of file mxvk_stencil.hpp.
| float mxvk::VK_Stencil::PushConstants::time = 0.0f |
Elapsed animation time in seconds.
Definition at line 36 of file mxvk_stencil.hpp.