80 int *visible_segments)
const;
84#ifdef WITH_CXX_GUARDEDALLOC
85 MEM_CXX_CLASS_ALLOC_FUNCS(
"Freestyle:BlenderStrokeRenderer")
Configuration definitions.
Classes to render a stroke with OpenGL.
bool test_triangle_visibility(StrokeVertexRep *svRep[3]) const
vector< StrokeGroup * > texturedStrokeGroups
vector< StrokeGroup * > strokeGroups
vector< StrokeRep * > _strokeReps
void test_strip_visibility(Strip::vertex_container &strip_vertices, int *visible_faces, int *visible_segments) const
static const char * uvNames[]
void GenerateStrokeMesh(StrokeGroup *group, bool hasTex)
virtual ~BlenderStrokeRenderer()
static Material * GetStrokeShader(Main *bmain, bNodeTree *iNodeTree, bool do_id_user)
virtual void RenderStrokeRep(StrokeRep *iStrokeRep) const
uint get_stroke_mesh_id(void) const
float get_stroke_vertex_z(void) const
BlenderStrokeRenderer(Render *re, int render_count)
Depsgraph * freestyle_depsgraph
int get_stroke_count() const
struct GHash * _nodetree_hash
virtual void RenderStrokeRepBasic(StrokeRep *iStrokeRep) const
vector< StrokeRep * > strokes
blender::Map< Material *, int > materials