Vertex layout consumed by VK_PointSpriteBatch. More...
#include <mxvk/include/mxvk/mxvk_point_sprite_batch.hpp>
Public Attributes | |
| float | color [4] {} |
| RGBA tint color passed to shader location 2. | |
| float | position [3] {} |
| Vertex position passed to shader location 0. | |
| float | size = 0.0f |
| Rasterized point size in pixels, passed to shader location 1. | |
Vertex layout consumed by VK_PointSpriteBatch.
The vertex shader receives world or clip-space effect coordinates at location 0, point size at location 1, and tint color at location 2.
Definition at line 30 of file mxvk_point_sprite_batch.hpp.
| float mxvk::PointSpriteVertex::color[4] {} |
RGBA tint color passed to shader location 2.
Definition at line 36 of file mxvk_point_sprite_batch.hpp.
| float mxvk::PointSpriteVertex::position[3] {} |
Vertex position passed to shader location 0.
Definition at line 32 of file mxvk_point_sprite_batch.hpp.
| float mxvk::PointSpriteVertex::size = 0.0f |
Rasterized point size in pixels, passed to shader location 1.
Definition at line 34 of file mxvk_point_sprite_batch.hpp.