Flint Engine
Modular C++20 2D game engine powered by SDL3
Loading...
Searching...
No Matches
Flint::DrawCommand Struct Reference

Associates a submitted drawable with its render layer. More...

#include <flint/graphics/drawable.h>

+ Collaboration diagram for Flint::DrawCommand:

Public Attributes

DrawLayer layer
 
std::shared_ptr< const Drawable > drawable
 

Detailed Description

Associates a submitted drawable with its render layer.

Definition at line 72 of file drawable.h.

Member Data Documentation

◆ drawable

std::shared_ptr<const Drawable> Flint::DrawCommand::drawable

Immutable reference to the target drawable.

Definition at line 74 of file drawable.h.

◆ layer

DrawLayer Flint::DrawCommand::layer

Target rendering pass layer.

Definition at line 73 of file drawable.h.


The documentation for this struct was generated from the following file: