32 position(position), clipping_rectangle(clipping_rectangle), alpha(alpha)
36 static vk::VertexInputBindingDescription inputBindingDescription()
38 return {0,
sizeof(
vertex), vk::VertexInputRate::eVertex};
44 {0, 0, vk::Format::eR32G32B32A32Sfloat, offsetof(vertex, position)},
45 {1, 0, vk::Format::eR32G32B32A32Sfloat, offsetof(vertex, clipping_rectangle)},
46 {2, 0, vk::Format::eR32Sfloat, offsetof(vertex, alpha)},
sfloat_rgba32 clipping_rectangle
The position in pixels of the clipping rectangle relative to the bottom-left corner of the window,...
Definition pipeline_alpha_vertex.hpp:25