Draw primitive. More...
#include <le2d/primitive.hpp>
Public Attributes | |
| std::span< Vertex const > | vertices {} |
| std::span< std::uint32_t const > | indices {} |
| vk::PrimitiveTopology | topology {vk::PrimitiveTopology::eTriangleList} |
| ITextureBase const * | texture {} |
Draw primitive.
Intended to be transient: created, used, and discarded per frame.
| std::span<std::uint32_t const> le::Primitive::indices {} |
| ITextureBase const* le::Primitive::texture {} |
| vk::PrimitiveTopology le::Primitive::topology {vk::PrimitiveTopology::eTriangleList} |
| std::span<Vertex const> le::Primitive::vertices {} |