19 #ifndef FASTUIDRAW_PAINTER_ATTRIBUTE_WRITER_HPP 20 #define FASTUIDRAW_PAINTER_ATTRIBUTE_WRITER_HPP 29 class PainterItemShader;
30 class PainterItemCoverageShader;
174 unsigned int attrib_location,
176 unsigned int *num_attribs_written,
177 unsigned int *num_indices_written)
const = 0;
virtual void on_new_store(WriteState *state) const =0
all classes and functions of FastUIDraw are in the namespace fastuidraw.
unsigned int m_min_indices_for_next
virtual bool initialize_state(WriteState *state) const =0
virtual bool requires_coverage_buffer(void) const =0
PainterItemCoverageShader * m_item_coverage_shader_override
virtual bool write_data(c_array< PainterAttribute > dst_attribs, c_array< PainterIndex > dst_indices, unsigned int attrib_location, WriteState *state, unsigned int *num_attribs_written, unsigned int *num_indices_written) const =0
virtual unsigned int state_length(void) const =0
Provides an interface to write attribute and index data when a simple copy of data from c_array objec...
c_array< unsigned int > m_state
PainterItemShader * m_item_shader_override
unsigned int m_min_attributes_for_next
A PainterItemCoverageShader represents a shader to draw an item to a coverage buffer (see PainterSurf...
file painter_attribute.hpp
Class for which copy ctor and assignment operator are private functions.
A PainterItemShader represents a shader to draw an item (typically a vertex and fragment shader pair)...
range_type< int > m_z_range