9 #ifndef __RE_RenderFlush__
10 #define __RE_RenderFlush__
29 void setViewportRenderer();
30 static RE_Font &getViewportFont();
41 bool flushRender(
bool render_complete =
false);
48 void pushState(
int viewing);
52 void handleViewportUpdate(
const UT_DimRect &rect);
53 void handleScissorRectUpdate(
const UT_DimRect &rect);
54 void handleScissorEnableUpdate(
bool enable);
57 void clipPlaneDisable(
int which);
58 void clipPlaneEnable(
int which,
const UT_Vector4D &plane);
65 void replacePushClipPlane(
int which,
const UT_Vector4D &plane,
66 bool xform_to_eye_coords,
68 void replacePopClipPlane(
int which,
72 void pushMatrix(
bool all_matrices =
true,
74 void popMatrix(
bool all_matrices =
true,
92 void scale(
float x = 1.0,
float y = 1.0,
float z = 1.0);
95 void ortho2DW(
float l,
float r,
float b,
float t);
96 void orthoFromViewport2DI(
const UT_DimRect &rect);
97 void ortho3DW(
float l,
float r,
float b,
float t,
99 void window3DW(
float l,
float r,
float b,
float t,
107 static UT_DMatrix4 getPerspectiveMatrix(
float l,
float r,
131 void getProjectiveTextureTransform(
const RE_Light *light,
134 static void debugOutput(
bool enable);
140 void flush(
bool render_complete);
141 void updatePixelRatios();
157 bool myViewportRenderer;
160 static RE_Font *theViewportFont;
161 static RE_Font *theViewportSymbolFont;
181 flush(render_complete);
186 #endif // __RE_RenderFlush__
SIM_API const UT_StringHolder angle
GLdouble GLdouble GLdouble z
virtual void setZStart(fpreal32 zStart)
GA_API const UT_StringHolder scale
GLboolean GLboolean GLboolean b
ImageBuf OIIO_API rotate(const ImageBuf &src, float angle, string_view filtername=string_view(), float filterwidth=0.0f, bool recompute_roi=false, ROI roi={}, int nthreads=0)
virtual void draw(RE_Render *r)
RE_PerContextData * getContextData()
GA_API const UT_StringHolder up
PUGI__FN char_t * translate(char_t *buffer, const char_t *from, const char_t *to, size_t to_length)
GLdouble GLdouble GLdouble y2
bool flushRender(bool render_complete=false)