|
| | RE_Render (int do_foreground, const char *appname=0) |
| |
| | ~RE_Render () override |
| |
| RE_Render * | createNewRenderContext () |
| |
| | ~RE_OGLRender () override |
| |
| const char * | className () const |
| |
| int | getContextID () const |
| |
| bool | isInitialized () const |
| |
| void | initGLState () |
| |
| RE_Render * | getRender () |
| |
| const RE_Render * | getRender () const |
| |
| RE_WindowDrawable * | getDrawable () |
| |
| int | glslMajorVersion () |
| |
| int | glslMinorVersion () |
| |
| int | glslMaxOutputComponents (RE_ShaderType stage) |
| |
| int | glslMaxUniformComponents (RE_ShaderType stage) |
| |
| bool | hasGLExtension (RE_Extension e) const |
| |
| bool | getDeviceUUID (uint8(&uuid)[GL_UUID_SIZE_EXT]) const |
| |
| bool | getDriverUUID (uint8(&uuid)[GL_UUID_SIZE_EXT]) const |
| |
| RE_OGLExt * | getExt () const |
| |
| int64 | getFreeTextureMemoryKB (int64 *largest_chunk=nullptr) |
| |
| int64 | getFreeBufferMemoryKB (int64 *largest_chunk=nullptr) |
| |
| int64 | getFreeFramebufferMemoryKB (int64 *largest_chunk=nullptr) |
| |
| void | checkForSuspendResume () |
| |
| RE_DisplayMode | getMode () const |
| |
| RE_VisualType | getVisualType () const |
| |
| void | enableMultisample (bool enable) |
| |
| bool | isMultisampleEnabled () const |
| |
| void | enableAlphaToCoverage (bool enable) |
| |
| bool | isAlphaToCoverage () const |
| |
| void | getMaxViewportSize (int &w, int &h) const |
| |
| int | getMaxColorSamples () const |
| |
| int | getMaxDepthSamples () const |
| |
| void | setWindow (RE_Window *, bool attach=true) |
| |
| bool | makeCurrent (bool ignore_errors=false) |
| |
| bool | isCurrentRender () const |
| |
| bool | isDrawableContextValid () const |
| |
| RE_OGLContext | getDrawableContext () const |
| |
| bool | isCurrent () const |
| | ====================================================================== More...
|
| |
| bool | contextIsValid () const |
| |
| RE_OGLContext | getContext () const |
| |
| bool | pushOffscreenBufferToDrawable (RE_WindowDrawable *type) |
| | ====================================================================== More...
|
| |
| void | popOffscreenBufferFromDrawable () |
| |
| bool | pushOffscreenBuffer (OGLDrawable type) |
| | ====================================================================== More...
|
| |
| void | popOffscreenBuffer () |
| |
| void | setMainContext (RE_Window *w) |
| | ====================================================================== More...
|
| |
| const RE_Window * | getCurrentWindow () const |
| |
| RE_Window * | getCurrentWindow () |
| |
| void | lockContextForRender () |
| |
| void | unlockContextAfterRender () |
| |
| bool | tryLockContextForRender () |
| |
| bool | isContextLocked () const |
| |
| void | lockContext () |
| |
| void | unlockContext () |
| |
| void | bumpRenderCount () |
| |
| void | resetRenderCount () |
| |
| int64 | getRenderCount () const |
| |
| int | getGLError () |
| |
| int | getNextGLError () |
| |
| void | clearGLErrors () |
| |
| const char * | getGLErrorString (int error) |
| |
| void | printGLError (const char *header, bool assert=false) |
| |
| void | printAllGLErrors (const char *header, bool assert=false) |
| |
| void | dumpNewState (bool show_all=false, bool show_shader_blocks=true) |
| |
| void | dumpViewportState (bool show_all=false) |
| |
| void | dumpTextureState () const |
| |
| void | dumpVertexAttributes () const |
| |
| void | dumpFragmentTests (bool show_all=false) const |
| |
| void | dumpRasterizeState (bool show_all=false) const |
| |
| void | dumpTextureCacheState (int stack_level=-1) const |
| |
| void | getLimits (UT_WorkBuffer &os) |
| |
| bool | isDebugLabelSupported () const |
| |
| bool | isDebugging () const |
| |
| int | pushDebug (bool enable) |
| |
| void | popDebug (int *nest=nullptr) |
| |
| int | pushDebugGroup (const char *name, int id=1987) |
| |
| void | popDebugGroup (int *nest=nullptr) |
| |
| void | addComment (const char *name, RE_Severity sev=RE_SEVERITY_MESSAGE, int id=1987) |
| |
| int | pushDrawFramebuffer () |
| |
| int | pushDrawFramebuffer (RE_OGLFramebuffer *fb) |
| |
| void | setDrawFramebuffer (RE_OGLFramebuffer *fb) |
| |
| RE_OGLFramebuffer * | getDrawFramebuffer () |
| |
| void | popDrawFramebuffer (int *nest=nullptr) |
| |
| int | pushReadFramebuffer () |
| |
| int | pushReadFramebuffer (RE_OGLFramebuffer *fb) |
| |
| void | setReadFramebuffer (RE_OGLFramebuffer *fb) |
| |
| RE_OGLFramebuffer * | getReadFramebuffer () |
| |
| void | popReadFramebuffer (int *nest=nullptr) |
| |
| void | updateFramebuffer () |
| |
| void | updateCurrentFramebuffer (RE_OGLFramebuffer *fb, bool for_draw) |
| |
| void | registerFBO (RE_OGLFramebuffer *fb, int fb_id) |
| |
| void | unregisterFBO (int id) |
| |
| RE_OGLFramebuffer * | getFBO (int id) const |
| |
| void | useSampleMask (bool use) |
| |
| bool | usingSampleMask () const |
| |
| int | getMaxIntegerSamples () const |
| |
| int | getSampleMask (int mask_number) |
| |
| void | setSampleMask (int mask_number, int mask) |
| |
| void | clearC (float *color=nullptr) |
| |
| void | clearZ (float z=1.0) |
| |
| void | clearCZ (float z=1.0) |
| |
| void | clearS () |
| |
| void | enableColorBufferWriting () |
| |
| void | disableColorBufferWriting () |
| |
| bool | getColorBufferWriting () |
| |
| void | updateColorBufferWriting () |
| |
| void | setColorMask (bool red, bool green, bool blue, bool alpha) |
| |
| void | getColorMask (bool &red, bool &green, bool &blue, bool &alpha) |
| |
| bool | swapbuffers () |
| |
| int | pushDrawBuffer (RE_RenderBuf buf=RE_BUFFER_UNINIT) |
| |
| void | popDrawBuffer (int *nest=0) |
| |
| void | setDrawBuffer (RE_RenderBuf buf) |
| |
| RE_RenderBuf | getDrawBuffer () |
| |
| bool | getDrawBufferIsBlendable () |
| |
| int | pushReadBuffer (RE_RenderBuf buf=RE_BUFFER_UNINIT) |
| |
| void | popReadBuffer (int *nest=0) |
| |
| void | setReadBuffer (RE_RenderBuf buf) |
| |
| RE_RenderBuf | getReadBuffer () |
| |
| bool | isFrontBufferDirty () const |
| |
| void | setFrontBufferDirty (bool d) |
| |
| void | flush (int wait=0) |
| |
| bool | memoryBarrier (RE_MemoryBarrierBitfield barriers) |
| |
| void | viewport2DI (const UT_DimRect &rect) |
| |
| void | screenMask2DI (const UT_DimRect &rect) |
| |
| void | disableScreenMask () |
| |
| void | intersectMask2DI (const UT_DimRect &rect) |
| |
| UT_DimRect | getScreenMask2DI () |
| |
| UT_DimRect | getViewport2DI () |
| |
| bool | getScreenMask () |
| |
| int | getOGLMaxClipPlanes () |
| |
| void | enableClipDistance (int clip_plane, bool enable) |
| |
| bool | clipDistanceEnabled (int clip_plane) const |
| |
| void | setActiveOcclusionQuery (RE_OcclusionQuery *q) |
| |
| RE_OcclusionQuery * | getActiveOcclusionQuery () const |
| |
| int | pushBackfaceCulling () |
| |
| int | pushBackfaceCulling (bool backface) |
| |
| void | popBackfaceCulling (int *nested=0) |
| |
| bool | isBackface () const |
| |
| void | setBackface (bool removeBackface) |
| |
| bool | getReverseWinding () |
| |
| void | setReverseWinding (bool reverse_winding) |
| |
| RE_FaceMode | getCullFace () const |
| |
| void | setCullFace (RE_FaceMode m) |
| |
| bool | isPointOffset () |
| |
| bool | isLineOffset () |
| |
| bool | isPolygonOffset () |
| |
| void | pointOffset (bool onoff) |
| |
| void | lineOffset (bool onoff) |
| |
| void | polygonOffset (bool onoff) |
| |
| void | setOffsetAmount (float variable, float constant) |
| |
| void | getOffsetAmount (float *variable, float *constant) const |
| |
| bool | beginTransformFeedback (RE_PrimType mode, bool rasterize_too, int stream_bitfield=0x1) |
| |
| void | endTransformFeedback () |
| |
| int | getNumFeedbackPrimitives (int stream=0) |
| |
| bool | hasFeedbackBufferOverflow (int stream=0) |
| |
| bool | isTransformFeedbackEnabled () const |
| |
| RE_PrimType | getFeedbackMode () const |
| |
| bool | isRasterizeEnabled () const |
| |
| int | pushLineWidth (float w) |
| |
| void | popLineWidth (int *nest=nullptr) |
| |
| float | getLineWidth () const |
| |
| float | getMaxSmoothLineWidth () |
| |
| int | pushPointSize (float size, bool program_point_size=false) |
| |
| void | popPointSize (int *nest=nullptr) |
| |
| void | setPointSize (float size) |
| |
| void | setProgramPointSize (bool enable) |
| |
| bool | getProgramPointSize () const |
| |
| int | pushDepthState () |
| |
| void | popDepthState (int *nest=nullptr) |
| |
| void | enableDepthBufferWriting () |
| |
| void | disableDepthBufferWriting () |
| |
| bool | getDepthBufferWriting () |
| |
| void | updateDepthBufferWriting () |
| |
| void | enableDepthTest () |
| |
| void | disableDepthTest () |
| |
| bool | getDepthTest () |
| |
| void | updateDepthTest () |
| |
| void | setZFunction (RE_ZFunction func) |
| |
| RE_ZFunction | getZFunction () const |
| |
| void | updateZFunction () const |
| |
| void | enableDepthClamp (bool b) |
| |
| bool | getDepthClamp () |
| |
| void | updateDepthClamp () |
| |
| void | setDepthRange (double nr, double fr) |
| |
| void | getDepthRange (double &nr, double &fr) const |
| |
| int | pushStencilState () |
| |
| void | popStencilState (int *nest=nullptr) |
| |
| bool | isStencil () |
| |
| void | setStencil (bool enable) |
| |
| void | setSClearValue (int clearValue) |
| |
| void | setSWriteMask (int writeMask) |
| |
| void | setSFunction (RE_SFunction func, int ref, int mask) |
| |
| void | setSOperation (RE_SOperation sfail, RE_SOperation dpfail, RE_SOperation dppass) |
| |
| void | updateStencilState () |
| |
| void | resetSFunction () |
| |
| void | resetSWriteMask () |
| |
| void | resetSClearValue () |
| |
| void | resetSOperation () |
| |
| void | enableLogicOp () |
| |
| void | disableLogicOp () |
| |
| void | invertPixels () |
| |
| void | xorPixels () |
| |
| void | orPixels () |
| |
| int | pushBlendState () |
| |
| void | popBlendState (int *nesting=0) |
| |
| bool | isBlending () const |
| |
| void | blend (int onoff) |
| |
| void | setBlendFunction (RE_BlendSourceFactor sourceFactor, RE_BlendDestFactor destFactor) |
| |
| bool | setAlphaBlendFunction (RE_BlendSourceFactor sourceFactor, RE_BlendDestFactor destFactor, bool force=false) |
| |
| void | getBlendFunction (RE_BlendSourceFactor *sourceFactor, RE_BlendDestFactor *destFactor) |
| |
| void | getAlphaBlendFunction (RE_BlendSourceFactor *sourceFactor, RE_BlendDestFactor *destFactor) |
| |
| void | setBlendEquation (RE_BlendEquation eq) |
| |
| RE_BlendEquation | getBlendEquation () |
| |
| void | blendAlpha (int onoff=1) |
| |
| void | blendAlphaPremult (bool onoff=true) |
| |
| int | pushSmoothLines () |
| |
| void | popSmoothLines (int *nesting=0) |
| |
| void | forceSmooth () |
| |
| void | smoothBlendLines (RE_SmoothMode mode) |
| |
| void | smoothBlendLinesNoFlagChange (bool by_smooth) |
| |
| RE_SmoothMode | getSmoothLines () |
| |
| int | getBlendSmoothLevel () const |
| |
| void | setMaterial (const RE_MaterialPtr &mat, int layer=0, bool texture=true, RE_ShaderTarget sht=RE_SHADER_TARGET_TRIANGLE, RE_Shader *override_mat_shader=nullptr, bool allow_partial_render=false) |
| |
| int | pushMaterial (const RE_MaterialPtr &mat, int layer=0, bool texture=true, RE_ShaderTarget sht=RE_SHADER_TARGET_TRIANGLE, RE_Shader *override_mat_shader=nullptr, bool allow_partial_render=false) |
| |
| int | pushMaterial () |
| |
| void | popMaterial (int *nest=nullptr) |
| |
| const RE_MaterialPtr & | getDefaultMaterial () |
| |
| int | pushShader () |
| |
| int | pushShader (RE_Shader *s) |
| |
| int | pushShader (RE_ShaderHandle &sh) |
| |
| void | bindShader (RE_Shader *s) |
| |
| void | bindShader (RE_ShaderHandle &sh) |
| |
| RE_Shader * | getShader () |
| |
| void | popShader (int *nest=nullptr) |
| |
| void | updateShader (RE_Shader *s) |
| |
| int | pushShaderTransformFeedback (RE_Shader *sh, RE_PrimType type, bool rasterize=true, int stream_bitfield=0x1) |
| |
| int | pushShaderTransformFeedback (RE_ShaderHandle &sh, RE_PrimType type, bool rasterize=true, int stream_bitfield=0x1) |
| |
| void | popShaderTransformFeedback (int *nest=nullptr) |
| |
| void | setShaderOnlyMode (bool enable) |
| |
| void | requestFixedFunction () |
| |
| void | setPatchOuterLevel (const UT_Vector4F &outer) |
| |
| void | setPatchInnerLevel (const UT_Vector2F &inner) |
| |
| void | setPatchVertices (int num_verts) |
| |
| bool | setShaderSampleRate (fpreal rate) |
| |
| fpreal | getShaderSampleRate () const |
| |
| bool | isSampleShading () const |
| |
| void | pushUniform (RE_UniformBuiltIn bindex, RE_Uniform *var=nullptr) |
| |
| void | pushUniformData (RE_UniformBuiltIn bindex, const void *data) |
| |
| void | pushUniformInt (RE_UniformBuiltIn bindex, int i) |
| |
| void | pushUniformColor (RE_UniformBuiltIn bindex, const UT_Color &clr, fpreal32 alpha=1.0f) |
| |
| void | pushUniformSampler (RE_UniformBuiltIn bindex, RE_Texture *tex) |
| |
| void | pushUniformMatrix (RE_UniformBuiltIn bindex, const UT_Matrix4D &mat) |
| |
| void | assignUniformData (RE_UniformBuiltIn bindex, const void *data) |
| |
| void | assignUniformInt (RE_UniformBuiltIn bindex, int i) |
| |
| void | assignUniformSampler (RE_UniformBuiltIn bindex, RE_Texture *tex) |
| |
| void | assignUniformColor (RE_UniformBuiltIn bindex, const UT_Color &clr, fpreal32 alpha=1.0f) |
| |
| void | assignUniformMatrix (RE_UniformBuiltIn bindex, const UT_Matrix4D &mat) |
| |
| void | popUniform (RE_UniformBuiltIn bindex) |
| |
| void | popUniformData (RE_UniformBuiltIn bindex) |
| |
| RE_Uniform * | getUniform (RE_UniformBuiltIn builtin_var_type) const |
| |
| void | printBuiltInUniforms (bool bound_only) |
| |
| void | printBuiltInUniform (RE_UniformBuiltIn b) |
| |
| int | bindBuiltInUniforms (RE_Shader *s) |
| |
| bool | bindBuiltInUniform (RE_Shader *s, RE_UniformBuiltIn uniform) |
| |
| int64 | getBuiltInUniformSerial () const |
| |
| void | bumpBuiltInUniformSerial () |
| |
| void | pushUniform (RE_Uniform &uniform) |
| |
| void | popUniform (RE_Uniform &uniform) |
| |
| void | pushObjectMatrix (const UT_Matrix4D &obj, bool inverse_too=false) |
| |
| void | popObjectMatrix () |
| |
| void | setFragmentDerivativeHint (bool nicest) |
| |
| bool | getFragmentDerivativeHint () |
| |
| int | getMaxVertexAttribs () const |
| |
| void | setConstAttribF32 (int loc, int vsize, const fpreal32 *data) |
| |
| void | setConstAttribF32 (int loc, int vsize, const fpreal64 *data) |
| |
| void | setConstAttribF64 (int loc, int vsize, const fpreal64 *data) |
| |
| void | setConstAttribI32 (int loc, int vsize, const int32 *data) |
| |
| void | setConstAttribU32 (int loc, int vsize, const uint32 *data) |
| |
| bool | setCurrentVAO (RE_OGLVertexArrayList *list) |
| |
| RE_OGLVertexArrayList * | getCurrentVAO () |
| |
| RE_OGLVertexArrayList * | getDefaultVAO () |
| |
| void | setDefaultVAO (RE_OGLVertexArrayList *vao) |
| |
| void | resetCurrentVAO (RE_OGLVertexArrayList *deleted_list) |
| |
| UT_IntArray & | getBoundUniformBlocks () |
| |
| void | bindTexture (const RE_OGLTexture *tex, int unit=RE_ACTIVE_UNIT, RE_TextureMode mode=RE_TEXTURE_UNKNOWN) |
| |
| void | verifyTextureIsNotBound (RE_OGLTexture *texture) |
| |
| RE_TextureID | bindTextureBuffer (int id, int unit) |
| |
| RE_TextureID | bindTextureRaw2D (int id, int unit) |
| |
| int | bindTextureRaw (int id, int unit) |
| |
| bool | bindTextures (int first, const UT_IntArray &tex_ids) |
| |
| void | unbindTexture (const RE_OGLTexture *tex) |
| |
| void | setActiveTexture (int textureunit) |
| |
| int | getActiveTexture () const |
| |
| int | pushTextureState (int textureunit=RE_ALL_UNITS) |
| |
| void | popTextureState (int *nest=nullptr) |
| |
| RE_TextureDimension | getBoundTextureType (int texunit=RE_ACTIVE_UNIT) const |
| |
| const RE_OGLTexture * | getBoundTexture (int texunit=RE_ACTIVE_UNIT) const |
| |
| int | findFirstFreeTextureUnit (int starting_unit=0) const |
| |
| void | updateTextureState () const |
| |
| int | getMaxShaderTextureUnits () const |
| |
| int | getMaxVertexTextureUnits () const |
| |
| int | getMaxGeometryTextureUnits () const |
| |
| int | getMaxFragmentTextureUnits () const |
| |
| int | getTextureAnisotropyLimit () const |
| |
| int | getMaxTextureSize () const |
| |
| int | getMaxTexture3DSize () const |
| |
| int | getMaxTextureRectangleSize () |
| |
| int | getMaxColorBuffers () const |
| |
| int | getMaxDrawBuffers () const |
| |
| void | disableAllTextures () |
| |
| void | removeTextureRefs (RE_OGLTexture *tex) |
| |
| bool | bindImageTexture (int image_unit, RE_Texture *image, RE_BufferAccess image_access, bool layered, int layer) |
| |
| void | unbindImageTexture (int image_unit) |
| |
| int | pushReadAlignment (const void *data, int scansize) |
| |
| void | popReadAlignment (int *nest=nullptr) |
| |
| int | pushWriteAlignment (const void *data, int scansize) |
| |
| void | popWriteAlignment (int *nest=nullptr) |
| |
| void | useSeamlessMaps (bool enable) |
| |
| bool | usingSeamlessMaps () |
| |
| RE_OGLTexture * | getRandomTexture (unsigned int seed, bool interp, int size=64) |
| |
| RE_OGLTexture * | getRandomTexture3D (unsigned int seed, bool interp, int size=32) |
| |
| RE_OGLTexture * | getRandomTextureArray (unsigned int seed, bool interp, int num_layers, int size=64) |
| |
| RE_OGLTexture * | getRandomSampleMaskTexture (unsigned int seed, int nsamples, int size=64) |
| |
| void | convertRasterToTexture (PXL_Raster *raster, int convert16bit=0, bool isinteger=false) |
| |
| void | convertLUTToTexture (PXL_Lookup *lookup) |
| |
| bool | setupShaderForLUT (RE_Shader *shader, PXL_Lookup *lookup, float gamma, bool add_shader) |
| |
| bool | is3DLUTSupported () const |
| |
| void | buildRasterTextureGeometry (fpreal32 x0, fpreal32 y0, fpreal32 z, fpreal32 x1, fpreal32 y1, fpreal32 u0, fpreal32 v0, fpreal32 u1, fpreal32 v1, int rotation, RE_Geometry &geo) |
| |
| void | displayRasterTexture (float x, float y, float z, const PXL_Raster *raster, const RE_RasterOpts *opts=0) |
| |
| void | displayRasterTexture (float x, float y, float z, float w, float h, const IMG_Raster *raster, const RE_RasterOpts *opts=0) |
| |
| void | displayRasterTexture (float x, float y, float z, int w, int h, UT_RGBA *r, int stride, float zoomx=-1.0f, float zoomy=-1.0f, int dither=1, float alpha_mult=1.0f) |
| |
| void | saveRaster (int x, int y, int w, int h, IMG_Raster *r, bool use_backbuf=true) |
| |
| UT_UniquePtr< TIL_Raster > | saveRaster (int x, int y, int w, int h, PXL_DataFormat format, bool alphatoo, bool use_backbuf=true) |
| |
| void | setViewportFontOffset (int x, int y) |
| |
| int | getViewportFontOffsetX () const |
| |
| int | getViewportFontOffsetY () const |
| |
| RE_FontBuffers * | fetchFontBufferFromPool (int size) |
| |
| void | returnFontBufferToPool (RE_FontBuffers *buf) |
| |
| bool | beginConditionalRender (RE_OcclusionQuery *query_obj, bool render_wait, bool region_support) |
| |
| void | endConditionalRender () |
| |
| void | enablePrimitiveRestart (bool enable) |
| |
| void | setPrimitiveRestartIndex (unsigned int index) |
| |
| void | drawViewportPoint (const fpreal32 p[3], fpreal32 size) |
| |
| void | preDrawViewportString (UT_Matrix4D &view, UT_Matrix4D &proj, UT_DimRect &viewport) |
| |
| void | drawViewportString (const fpreal32 p[3], const char *str, const UT_Color *clr=nullptr, const UT_Matrix4D *view=nullptr, const UT_Matrix4D *proj=nullptr, const UT_DimRect *viewport=nullptr) |
| |
| void | postDrawViewportString () |
| |
| void | destroyVertexArrayObject (unsigned int vao) |
| |
| void | destroyQuery (unsigned int query) |
| |
| void | destroyFramebufferObject (unsigned int fbo) |
| |
| void | fetchDriverInfo (UT_WorkBuffer &info, bool full_info) |
| |
| void | fetchDriverPlatformInfo (UT_WorkBuffer &info, bool for_gl) |
| |
| void | unbindPipeline () |
| |
| void | invalidateCachedState () |
| |
| void | resync () |
| |
| void | enableSubBufferDrawing (bool enable) |
| |
| bool | subBufferDrawingEnabled () const |
| |
| | RE_RenderFlush () |
| |
| | ~RE_RenderFlush () override |
| |
| void | setViewportRenderer () |
| | Flag this object as being used to render into a 3D viewport. More...
|
| |
| void | setContextData (RE_PerContextData *data) |
| | Holds a pointer to per-context data we use to provide OGL buffers. More...
|
| |
| RE_PerContextData * | getContextData () |
| |
| void | setZStart (fpreal32 zStart) override |
| |
| void | draw (RE_Render *r) override |
| |
| bool | flushRender (bool render_complete=false) |
| |
| void | pushViewport () |
| |
| void | popViewport () |
| |
| void | pushState (int viewing) |
| |
| void | popState () |
| |
| void | handleViewportUpdate (const UT_DimRect &rect) |
| |
| void | handleScissorRectUpdate (const UT_DimRect &rect) |
| |
| void | handleScissorEnableUpdate (bool enable) |
| |
| void | clipPlaneDisable (int which) |
| |
| void | clipPlaneEnable (int which, const UT_Vector4D &plane) |
| |
| UT_Vector4D | planeToEyeCoords (const UT_Vector4D &plane) |
| |
| void | replacePushClipPlane (int which, const UT_Vector4D &plane, bool xform_to_eye_coords, RE_UniformStackEntry &stack_entry) |
| |
| void | replacePopClipPlane (int which, const RE_UniformStackEntry &stack_entry) |
| |
| void | pushMatrix (bool all_matrices=true, RE_MatrixMode mmode=RE_MATRIX_VIEWING) |
| |
| void | popMatrix (bool all_matrices=true, RE_MatrixMode mmode=RE_MATRIX_VIEWING) |
| |
| void | loadIdentityMatrix (RE_MatrixMode mmode=RE_MATRIX_VIEWING) |
| |
| void | loadMatrix (const UT_Matrix4 &m, RE_MatrixMode mmode=RE_MATRIX_VIEWING) |
| |
| void | loadMatrix (const UT_DMatrix4 &m, RE_MatrixMode mmode=RE_MATRIX_VIEWING) |
| |
| void | getMatrix (UT_Matrix4 &m, RE_MatrixMode mmode=RE_MATRIX_VIEWING) |
| |
| void | getMatrix (UT_DMatrix4 &m, RE_MatrixMode mmode=RE_MATRIX_VIEWING) |
| |
| void | multiplyMatrix (const UT_Matrix4 &m) |
| |
| void | multiplyMatrix (const UT_DMatrix4 &m) |
| |
| void | translate (float x, float y, float z=0.0) |
| |
| void | scale (float x=1.0, float y=1.0, float z=1.0) |
| |
| void | rotate (float angle, char axis) |
| |
| void | ortho2DW (float l, float r, float b, float t) |
| |
| void | orthoFromViewport2DI (const UT_DimRect &rect) |
| |
| void | ortho3DW (float l, float r, float b, float t, float n, float f) |
| |
| void | window3DW (float l, float r, float b, float t, float n, float f) |
| |
| void | getProjectiveTextureTransform (const RE_Light *light, bool bias, UT_Matrix4 &mat) |
| |
| | RE_RenderUI () |
| |
| virtual | ~RE_RenderUI () |
| |
| void | prepare (fpreal xperpixel, fpreal yperpixel, fpreal xorigin, fpreal yorigin) |
| |
| virtual void | clearAllData () |
| |
| void | bumpLayer (int delta) |
| |
| fpreal32 | getZStart () const |
| |
| fpreal32 | getZEnd () const |
| |
| void | incrementZEnd () |
| |
| fpreal32 | getXPerPixel () const |
| | Get x or y distance in current units that corresponds to 1 pixel. More...
|
| |
| fpreal32 | getYPerPixel () const |
| |
| fpreal32 | getXOrigin () const |
| |
| fpreal32 | getYOrigin () const |
| |
| void | pushColor () |
| | These are options that can change per-vertex. More...
|
| |
| void | pushColor (const UT_Color &c, fpreal32 a=1.0f) |
| |
| void | pushColor (fpreal32 r, fpreal32 g, fpreal32 b, fpreal32 a=1.0f) |
| |
| void | setColor (const UT_Color &c, fpreal32 a=1.0f) |
| |
| void | setColor (fpreal32 r, fpreal32 g, fpreal32 b, fpreal32 a=1.0f) |
| |
| void | setAlpha (fpreal32 a) |
| |
| void | popColor () |
| |
| void | getColor (UT_Color &c) const |
| |
| fpreal32 | getAlpha () const |
| |
| void | pushPointSize (fpreal32 size) |
| | Point options that can change per-point. More...
|
| |
| void | setPointSize (fpreal32 size) |
| |
| void | popPointSize () |
| |
| void | pushLineSmoothing (bool smooth_lines) |
| | Line options that can change per-line. More...
|
| |
| void | pushLineSmoothing () |
| |
| void | setLineSmoothing (bool smooth_lines) |
| |
| void | popLineSmoothing () |
| |
| void | pushLineStyle (RE_LineStyle style) |
| |
| void | pushLineStyle () |
| |
| void | setLineStyle (RE_LineStyle style) |
| |
| void | popLineStyle () |
| |
| void | pushLineWidth (fpreal32 width) |
| |
| void | pushLineWidth () |
| |
| void | setLineWidth (fpreal32 width) |
| |
| void | popLineWidth () |
| |
| void | beginTriangles () |
| | These functions mark the start or end of primitives. More...
|
| |
| void | endTriangles () |
| |
| void | beginTriangleFan () |
| |
| void | endTriangleFan () |
| |
| void | beginTriMesh () |
| |
| void | endTriMesh () |
| |
| void | beginQuads () |
| |
| void | endQuads () |
| |
| void | beginQuadStrip () |
| |
| void | endQuadStrip () |
| |
| void | beginPolygon (int concave) |
| |
| void | endPolygon () |
| |
| void | beginLine () |
| |
| void | beginClosedLine () |
| |
| void | endLine () |
| |
| void | beginLines () |
| |
| void | endLines () |
| |
| void | beginPoint () |
| |
| void | endPoint () |
| |
| void | t2DW (const fpreal32 tx[2]) |
| | Set vertex attributes. More...
|
| |
| void | c3DW (const fpreal32 clr[3]) |
| |
| void | c4DW (const fpreal32 clr[4]) |
| |
| void | v2DW (const fpreal32 vtx[2]) |
| | Create vertices for primitives. More...
|
| |
| void | v2DI (const int vtx[2]) |
| |
| void | vertex2DW (fpreal32 x, fpreal32 y) |
| |
| void | vertex2DI (int x, int y) |
| |
| void | vertex2DS (int x, int y) |
| |
| void | setFont (RE_Font &font) |
| | Text rendering functions. More...
|
| |
| void | textMoveW (fpreal32 x, fpreal32 y) |
| |
| void | textMoveS (int x, int y) |
| |
| void | putMultiLineString (const utf8 *str) |
| |
| void | putString (RE_Font &font, const utf8 *start, const utf8 *end, UT_Unicode::transform *xform=nullptr) |
| |
| void | putString (RE_Font &font, const UT_StringView &sv, UT_Unicode::transform *xform=nullptr) |
| |
| void | putString (const utf8 *start, const utf8 *end) |
| |
| void | putString (const utf8 *str) |
| |
| void | putChar (utf32 c) |
| |
| void | rect2DW (fpreal32 x1, fpreal32 y1, fpreal32 x2, fpreal32 y2) |
| | Unfilled rectangles. More...
|
| |
| void | rect2DS (int x1, int y1, int x2, int y2) |
| |
| void | box2DS (int x1, int y1, int x2, int y2) |
| |
| void | rectf2DW (fpreal32 x1, fpreal32 y1, fpreal32 x2, fpreal32 y2) |
| | Filled rectangles. More...
|
| |
| void | rectf2DS (int x1, int y1, int x2, int y2) |
| |
| void | boxf2DS (int x1, int y1, int x2, int y2) |
| |
| void | circleW (float x, float y, float r) |
| | Unfilled arcs. More...
|
| |
| void | circleS (int x, int y, int r) |
| |
| void | arcW (float x, float y, float r, int angle_start, int angle_end) |
| |
| void | arcS (int x, int y, int r, int angle_start, int angle_end) |
| |
| void | circlefW (float x, float y, float r) |
| | Filled arcs. More...
|
| |
| void | circlefS (int x, int y, int r) |
| |
| void | arcfW (float x, float y, float r, int angle_start, int angle_end) |
| |
| void | arcfS (int x, int y, int r, int angle_start, int angle_end) |
| |
| void | ringfW (float x, float y, float inner_r, float outer_r) |
| | Partially filled circles (filled between inner and outer radii). More...
|
| |
| void | ringfS (int x, int y, int inner_r, int outer_r) |
| |
| void | sectorW (float x, float y, float inner_r, float outer_r, float angle_start, float angle_end) |
| | Partially filled arcs (filled between inner and outer radii). More...
|
| |
| void | sectorfW (float x, float y, float inner_r, float outer_r, float angle_start, float angle_end) |
| |
| void | v3DW (const float vtx[3]) |
| | A few limited functions for handling drawing to a 3D viewport. More...
|
| |
| void | vertex3DW (float x, float y, float z) |
| |
| void | textMove3W (float x, float y, float z) |
| |