ludus::graphics::renderer::OverlayList¶
Ludus Wiki · API overview · Browse API
Class
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/overlays.hpp
#include <ludus/graphics/renderer/overlays.hpp>
class ludus::graphics::renderer::OverlayList final
Static fields¶
MAX_VERTICES¶
static constexpr foundation::usize ludus::graphics::renderer::OverlayList::MAX_VERTICES = 3072
Related types: foundation::usize
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/overlays.hpp
MAX_COMMANDS¶
static constexpr foundation::usize ludus::graphics::renderer::OverlayList::MAX_COMMANDS = 256
Related types: foundation::usize
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/overlays.hpp
Methods¶
OverlayList¶
ludus::graphics::renderer::OverlayList::OverlayList() noexcept
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/overlays.hpp
~OverlayList¶
ludus::graphics::renderer::OverlayList::~OverlayList()
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/overlays.hpp
Initialize¶
rhi::RasterStatus ludus::graphics::renderer::OverlayList::Initialize() noexcept
Related types: rhi::RasterStatus
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/overlays.hpp
Clear¶
void ludus::graphics::renderer::OverlayList::Clear() noexcept
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/overlays.hpp
Append¶
rhi::RasterStatus ludus::graphics::renderer::OverlayList::Append(const OverlayVertex *vertices, foundation::usize count, const OverlayStyle &style={}) noexcept
Related types: foundation::usize · rhi::RasterStatus · OverlayStyle · OverlayVertex
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/overlays.hpp
Quad¶
rhi::RasterStatus ludus::graphics::renderer::OverlayList::Quad(foundation::math::Vector4 rectangle, foundation::math::Vector4 uv, foundation::math::Vector4 color, foundation::uint32 width, foundation::uint32 height, bool coverage=false, const OverlayStyle &style={}) noexcept
Related types: foundation::uint32 · rhi::RasterStatus · foundation::math::Vector4 · OverlayStyle
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/overlays.hpp
Line¶
rhi::RasterStatus ludus::graphics::renderer::OverlayList::Line(foundation::math::Vector4 start, foundation::math::Vector4 end, foundation::math::Vector4 color, foundation::float32 physicalWidth, foundation::uint32 width, foundation::uint32 height, const OverlayStyle &style={}) noexcept
Related types: foundation::float32 · foundation::uint32 · rhi::RasterStatus · foundation::math::Vector4 · OverlayStyle
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/overlays.hpp
Vertices¶
const OverlayVertex * ludus::graphics::renderer::OverlayList::Vertices() const noexcept
Related types: OverlayVertex
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/overlays.hpp
VertexCount¶
foundation::usize ludus::graphics::renderer::OverlayList::VertexCount() const noexcept
Related types: foundation::usize
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/overlays.hpp
Commands¶
const OverlayCommand * ludus::graphics::renderer::OverlayList::Commands() const noexcept
Related types: OverlayCommand
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/overlays.hpp
CommandCount¶
foundation::usize ludus::graphics::renderer::OverlayList::CommandCount() const noexcept
Related types: foundation::usize
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/overlays.hpp
DroppedCommands¶
foundation::uint64 ludus::graphics::renderer::OverlayList::DroppedCommands() const noexcept
Related types: foundation::uint64
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/overlays.hpp