20 #ifndef FASTUIDRAW_PAINTER_DRAW_HPP 21 #define FASTUIDRAW_PAINTER_DRAW_HPP 154 unsigned int indices_written) = 0;
168 unsigned int indices_written) = 0;
188 unmap(
unsigned int attributes_written,
189 unsigned int indices_written,
190 unsigned int data_store_written);
210 draw(
void)
const = 0;
230 unsigned int indices_written,
231 unsigned int data_store_written) = 0;
236 complete_unmapping(
void);
virtual void draw(void) const =0
void unmap(unsigned int attributes_written, unsigned int indices_written, unsigned int data_store_written)
file painter_draw_break_action.hpp
render_type_t
Enumeration to specify the render target of a Surface.
all classes and functions of FastUIDraw are in the namespace fastuidraw.
A delayed action is an action that is to be called just before the buffers of a PainterDraw are to be...
A wrapper over a pointer to implement reference counting.
void add_action(const reference_counted_ptr< DelayedAction > &h) const
bool unmapped(void) const
A PainterShaderGroup gives to what groups the active shaders of a Painter belong. ...
c_array< PainterAttribute > m_attributes
c_array< uint32_t > m_header_attributes
Store for attributes, indices of items and shared data of items for items to draw. Indices (stored in m_indices) are -ALWAYS- in groups of three where each group is a single triangle and each index is an index into m_attributes. The PainterDraw object is NOT thread safe, neither is its reference count. A PainterDraw object is used Painter to send attributer and index data to a Painter Backend.
c_array< PainterIndex > m_indices
virtual void unmap_implement(unsigned int attributes_written, unsigned int indices_written, unsigned int data_store_written)=0
A c_array is a wrapper over a C pointer with a size parameter to facilitate bounds checking and provi...
Defines default reference counting base classes.
void perform_action(void)
file painter_attribute.hpp
virtual bool draw_break(enum PainterSurface::render_type_t render_type, const PainterShaderGroup &old_groups, const PainterShaderGroup &new_groups, unsigned int indices_written)=0
file painter_shader_group.hpp
virtual void action(const reference_counted_ptr< const PainterDraw > &h)=0
file reference_counted.hpp