35 position(position), clipping_rectangle(clipping_rectangle), alpha(alpha)
39 static vk::VertexInputBindingDescription inputBindingDescription()
41 return {0,
sizeof(
vertex), vk::VertexInputRate::eVertex};
47 {0, 0, vk::Format::eR32G32B32A32Sfloat, offsetof(vertex, position)},
48 {1, 0, vk::Format::eR32G32B32A32Sfloat, offsetof(vertex, clipping_rectangle)},
49 {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:28