OGLplus  (0.59.0) a C++ wrapper for rendering APIs

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).
 

Detailed Description

Draw operation parameters.


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

Copyright © 2015-2021 Matúš Chochlík.
<chochlik -at -gmail.com>
Documentation generated on Tue Apr 13 2021 by Doxygen (version 1.8.17).