Draw operation parameters. More...
#include <eagine/shapes/drawing.hpp>
Public Member Functions | |
constexpr | draw_operation () noexcept |
Default constructor. | |
Public Attributes | |
span_size_t | first |
The index of the first element. | |
span_size_t | count |
The count of elements. | |
std::uint32_t | phase |
The drawing phase (shader-dependent). | |
std::uint32_t | primitive_restart_index |
The primitive restart index value. | |
std::uint16_t | patch_vertices |
The number of vertices per patch. | |
primitive_type | mode |
The primitive type. | |
index_data_type | idx_type |
The index data type. | |
bool | primitive_restart: 1 |
Whether primitive restart is enabled. | |
bool | cw_face_winding: 1 |
Whether the shape faces have clockwise winding (or counterclockwise). | |
Draw operation parameters.