Changeset View
Changeset View
Standalone View
Standalone View
source/blender/freestyle/intern/stroke/StrokeRenderer.h
| Show First 20 Lines • Show All 115 Lines • ▼ Show 20 Lines | |||||
| /* */ | /* */ | ||||
| /* */ | /* */ | ||||
| /**********************************/ | /**********************************/ | ||||
| /*! Class to render a stroke. Creates a triangle strip and stores it strip is lazily created at the | /*! Class to render a stroke. Creates a triangle strip and stores it strip is lazily created at the | ||||
| * first rendering */ | * first rendering */ | ||||
| class StrokeRenderer { | class StrokeRenderer { | ||||
| public: | public: | ||||
| StrokeRenderer(); | |||||
| virtual ~StrokeRenderer(); | virtual ~StrokeRenderer(); | ||||
| /*! Renders a stroke rep */ | /*! Renders a stroke rep */ | ||||
| virtual void RenderStrokeRep(StrokeRep *iStrokeRep) const = 0; | virtual void RenderStrokeRep(StrokeRep *iStrokeRep) const = 0; | ||||
| virtual void RenderStrokeRepBasic(StrokeRep *iStrokeRep) const = 0; | virtual void RenderStrokeRepBasic(StrokeRep *iStrokeRep) const = 0; | ||||
| // initializes the texture manager | // initializes the texture manager | ||||
| // lazy, checks if it has already been done | // lazy, checks if it has already been done | ||||
| Show All 11 Lines | |||||