RE_OGLRender Class Reference

#include <RE_OGLRender.h>

Inheritance diagram for RE_OGLRender:

RE_Render

List of all members.

Public Member Functions

 RE_OGLRender (int do_foreground, const char *appname=0)
virtual ~RE_OGLRender ()
const char * className () const
bool isInitialized () const
virtual RE_RendergetRender ()=0
int glslMajorVersion ()
int glslMinorVersion ()
int hasGLExtension (RE_Extension e) const
void getDriverInfo (UT_WorkBuffer &info)
RE_OGLExtgetExt () const
int64 getFreeTextureMemoryKB (int64 *largest_chunk=NULL)
int64 getFreeBufferMemoryKB (int64 *largest_chunk=NULL)
int64 getFreeFramebufferMemoryKB (int64 *largest_chunk=NULL)
RE_DisplayMode getMode () const
RE_VisualType getVisualType () const
void enableMultisample (bool enable)
bool isMultisampleEnabled () const
void getMaxViewportSize (int &w, int &h) const
void setWindow (RE_Window *)
bool makeCurrent ()
bool isCurrent ()
bool contextIsValid ()
RE_OGLContext getContext () const
bool pushOffscreenBuffer (OGLDrawable type)
void popOffscreenBuffer ()
void setMainContext (RE_Window *w)
const RE_WindowgetCurrentWindow () const
RE_WindowgetCurrentWindow ()
void lockContextForRender ()
void unlockContextAfterRender ()
bool tryLockContextForRender ()
bool isContextLocked () const
void setIconLoader (RE_IDType wid, RE_IconLoader loader)
void clearIconLoader (RE_IDType wid)
void setIconLoader (RE_IconLoader loader)
void setIconImage (const char *filename)
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 dumpState (bool extended_info=true) const
void dumpTextureState () const
void dumpLightState () const
void verifyState ()
int pushDrawFramebuffer ()
int pushDrawFramebuffer (RE_OGLFramebuffer *fb)
void setDrawFramebuffer (RE_OGLFramebuffer *fb)
RE_OGLFramebuffergetDrawFramebuffer ()
void popDrawFramebuffer (int *nest=NULL)
int pushReadFramebuffer ()
int pushReadFramebuffer (RE_OGLFramebuffer *fb)
void setReadFramebuffer (RE_OGLFramebuffer *fb)
RE_OGLFramebuffergetReadFramebuffer ()
void popReadFramebuffer (int *nest=NULL)
void updateFramebuffer ()
void updateCurrentFramebuffer (RE_OGLFramebuffer *fb, bool for_draw)
void clear ()
void clearZ (float z=1.0)
void clearCZ (float z=1.0)
void clearS ()
void enableColorBufferWriting ()
void disableColorBufferWriting ()
bool getColorBufferWriting ()
void updateColorBufferWriting ()
void enableDepthBufferWriting ()
void disableDepthBufferWriting ()
bool getDepthBufferWriting ()
void updateDepthBufferWriting ()
int enableZbuffer (int state, int clear_it)
void swapbuffers ()
int pushDrawBuffer (RE_RenderBuf buf=RE_BUFFER_UNINIT)
void popDrawBuffer (int *nest=0)
void setDrawBuffer (RE_RenderBuf buf)
RE_RenderBuf getDrawBuffer ()
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) const
void waitForRetrace () const
void ortho2DW (float l, float r, float b, float t)
void ortho3DW (float l, float r, float b, float t, float n, float f)
void perspective (float fov_radians, float a, float n, float f)
void window3DW (float l, float r, float b, float t, float near, float far)
int mapWorld (float xs, float xy, float *x1, float *y1, float *z1, float *x2, float *y2, float *z2)
int mapWorld (float xs, float ys, const UT_DimRect &viewport, const UT_Matrix4 &proj, const UT_Matrix4 &view, float *x1, float *y1, float *z1, float *x2, float *y2, float *z2)
int mapScreen (float xw, float yw, float zw, float *xs, float *ys)
int mapScreen (float xw, float yw, float zw, const UT_DimRect &viewport, const UT_Matrix4 &proj, const UT_Matrix4 &view, float *xs, float *ys)
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 getViewportMaskActive () const
void orthoFromViewport2DI (const UT_DimRect &viewport)
void viewportOrtho2DI (const UT_DimRect &rect)
void clipPlane (int which, int onoff, const UT_Vector4 *parms=0)
int getOGLMaxClipPlanes ()
void setActiveOcclusionQuery (RE_OcclusionQuery *q)
RE_OcclusionQuerygetActiveOcclusionQuery () const
int isBackface ()
void setBackface (int removeBackface=0)
int getReverseWinding ()
void setReverseWinding (int reverse_winding)
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)
void pushViewport ()
void popViewport ()
void pushState (int viewing)
void popState ()
void matrixMode (RE_MatrixMode mode)
RE_MatrixMode getMatrixMode ()
void pushMatrix (int update_projection=1)
void popMatrix (int update_projection=1)
void loadIdentityMatrix ()
void loadMatrix (const UT_Matrix4 &m)
void loadMatrix (const UT_DMatrix4 &m)
void getMatrix (UT_Matrix4 &m)
void getAMatrix (RE_MatrixMode mmode, UT_Matrix4 &m)
void getAMatrix (RE_MatrixMode mmode, UT_DMatrix4 &m)
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 setColor (const UT_Color &c, float alpha=1.0)
void setColor (float r, float g, float b, float a)
void setColorMask (bool red, bool green, bool blue, bool alpha)
void getColorMask (bool &red, bool &green, bool &blue, bool &alpha)
void getColor (UT_Color &c) const
void setAlpha (float alpha)
float getAlpha () const
int pushColor ()
void popColor (int *nest=NULL)
int pushColor (const UT_Color &c, float alpha=1.0f)
void resetColorCache ()
int pushPattern (RE_FillPattern p)
void popPattern (int *nest=NULL)
int pushLineStyle (RE_LineStyle s)
void popLineStyle (int *nest=NULL)
int pushLineWidth (float w)
void popLineWidth (int *nest=NULL)
float getLineWidth () const
float getMaxSmoothLineWidth ()
int pushPointSize (float size)
void popPointSize (int *nest=NULL)
void setPointSize (float size)
void setZFunction (RE_ZFunction func)
RE_ZFunction getZFunction () const
int isZbuffer ()
void updateZFunction () const
void enableDepthClamp (bool b)
bool getDepthClamp () const
int pushStencilState ()
void popStencilState (int *nest=NULL)
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 beginXORDraw (RE_CacheObject *&id)
void endXORDraw (RE_CacheObject *&id)
void clearXORDraw (RE_CacheObject *&id)
void resetXORDraw (RE_CacheObject *&id)
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 blendAlpha (int onoff, int usezbuffer=0)
void blendAlphaPremult (bool onoff, int usezbuffer=0)
void alphaTest (int onoff)
void setAlphaTestFunction (RE_ZFunction func, float val)
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
RE_CacheObjectstartObjectDefine ()
void endObjectDefine (bool push_attribs=true)
void deleteObject (RE_CacheObject *obj)
void drawObject (RE_CacheObject *obj)
int useDisplayLists ()
int isCaching () const
void insertGeometryIntoCache (RE_GeometryObject *obj, const char *gname)
void insertReferenceIntoCache (RE_GeometryObject *obj)
RE_SmartObjectstartSmartObjectDefine ()
bool endSmartObjectDefine (bool push_attribs=true)
void deleteSmartObject (RE_SmartObject *obj)
bool isSmartObjectDirty (RE_SmartObject *obj)
bool inObjectDefine () const
bool trackingObjectShaderUsage () const
bool trackingObjectTextureUsage () const
const UT_IntArraygetShadersUsedBySmartObject (RE_SmartObject *obj)
void deletePendingShadersFromSmartObjectCreation ()
void deletePendingTexturesFromSmartObjectCreation ()
void recordShaderForSmartObject (int shader_idx)
void recordTextureForSmartObject (int texture_idx)
void clearAllMaterials ()
void clearAllTextures ()
void setMaterial (RE_Material &mat, int layer=0, bool texture=true)
int pushMaterial (RE_Material *mat, int layer=0, bool texture=true)
void popMaterial (int *nest=NULL)
void pushMaterialDiffuse ()
void popMaterialDiffuse ()
void setDiffuseMaterialFromMaterialStack ()
RE_MaterialgetDefaultMaterial ()
bool assignDefaultShader (RE_OGLMaterial *mat, int layer=0, bool textured=true)
RE_ShadergetDefaultShader ()
int pushShader ()
int pushShader (RE_Shader *s)
void bindShader (RE_Shader *s)
RE_ShadergetShader ()
void popShader (int *nest=NULL)
void updateShader (RE_Shader *s)
void setUniform (RE_UniformBuiltIn builtin_var_type, RE_Uniform *var, bool owned)
RE_UniformgetUniform (RE_UniformBuiltIn builtin_var_type, bool &owned)
void printBuiltinUniforms (bool bound_only)
int pushUniform (RE_UniformBuiltIn builtin_var_type)
void popUniform (int *level=NULL)
void bindBuiltInUniforms (RE_Shader *s, RE_UniformBinding bind)
void enableTexture (RE_TextureDimension t, int textureunit=RE_ACTIVE_UNIT)
void disableTexture (int textureunit=RE_ACTIVE_UNIT)
bool isTextureEnabled (RE_TextureDimension t, int textureunit=RE_ACTIVE_UNIT) const
void bindTexture (RE_OGLTexture *tex, int unit=RE_ACTIVE_UNIT, RE_TextureMode mode=RE_TEXTURE_UNKNOWN)
void unbindTexture (RE_OGLTexture *tex)
void setActiveTexture (int textureunit)
int getActiveTexture () const
void setTextureMode (RE_TextureMode mode, int textureunit=RE_ACTIVE_UNIT)
RE_TextureMode getTextureMode (int textureunit=RE_ACTIVE_UNIT) const
int pushTextureState (int textureunit=RE_ACTIVE_UNIT)
void popTextureState (int *nest=NULL)
RE_TextureDimension getBoundTextureType (int texunit=RE_ACTIVE_UNIT) const
RE_OGLTexturegetBoundTexture (int texunit=RE_ACTIVE_UNIT) const
void disableAllTextures ()
void updateTextureState () const
int getMaxTextureUnits () const
int getMaxTextureCoords () const
int getMaxShaderTextureUnits () const
int getMaxVertexTextureUnits () const
int getMaxFragmentTextureUnits () const
int getTextureAnisotropyLimit () const
int getMaxTextureSize () const
int getMaxTexture3DSize () const
int getMaxTextureRectangleSize ()
int pushReadAlignment (const void *data, int scansize)
void popReadAlignment (int *nest=NULL)
int pushWriteAlignment (const void *data, int scansize)
void popWriteAlignment (int *nest=NULL)
void useSeamlessMaps (bool enable)
bool usingSeamlessMaps ()
void removeTextureRefs (RE_OGLTexture *tex)
RE_OGLTexturegetRandomTexture (unsigned int seed, bool interp, int size=64, bool owned=false)
void setLightModel (int local_viewer, int two_sided_lighting)
unsigned defineLight (const RE_Light &light, int light_flags=0)
bool isLightDefined (const RE_Light &light) const
void deNormalizeLightDefinition (const RE_Light &light)
void setLightState (const RE_Light &light, int onoff)
int whichGLLightIs (const RE_Light *light)
void deNormalizeLightDefinition (unsigned index)
void undefineLight (unsigned index)
void undefineAllLights ()
void setLightState (unsigned index, int onoff)
bool getLightState (unsigned index)
void allLightsOff ()
RE_LightgetLight (int index)
int getNumLights ()
int getMaxLights () const
void setGLSpots (int f)
void setAllowSpecular (int f)
int getAllowSpecular () const
RE_UniformgetLightEnabledUniform () const
void setNormalizeGlobalAmbient (bool normalize)
bool getNormalizeGlobalAmbient () const
RE_InterpMode getInterpMode ()
void interpMode (RE_InterpMode mode)
void toggleLighting (int onoff)
void toggleLightShading (int onoff)
void setNonLitColor (const UT_Color &col)
void useProjectiveTexture (bool ison, RE_Light *light, RE_TextureCompress format, bool limitres, int maxw, int maxh, float texturescale, bool mipmap, int aniso_samples)
void getProjectiveTextureTransform (const RE_Light *light, bool bias, UT_Matrix4 &mat)
void depthCueing (int state, int usegreyramp=0)
void enableFog (int type, float density, float nearf, float farf, const float *col, float alpha)
void disableFog ()
void useFogCoord (bool onoff)
void fogCoord (const float z)
void beginPicking (uint *buf, long bufsiz, short x, short y, short w, short h)
long endPicking (uint *buf)
int isPicking () const
void loadPickId (uint id)
void pushPickId (uint id)
void popPickId ()
void scaleViewForPick (float *l, float *r, float *b, float *t)
void zoomRaster (float xzoom, float yzoom=-1)
void getRasterZoom (float &xzoom, float &yzoom) const
void displayRaster (float x, float y, short w, short h, IMG_Raster *r, float zoom=-1.0f, int dither=1)
void displayRaster (float x, float y, short w, short h, UT_RGBA *r, short stride, float zoom=-1.0f, int dither=1)
void displayRaster (float x, float y, const PXL_Raster *raster, const RE_RasterOpts *opts=0)
void displayRasterTexture (float x, float y, const PXL_Raster *raster, const RE_RasterOpts *opts=0)
float getRasterX () const
float getRasterY () const
float getRasterZ () const
void convertRasterToTexture (PXL_Raster *raster, int convert16bit=0)
void convertLUTToTexture (PXL_Lookup *lookup)
bool setupShaderForLUT (RE_Shader *shader, PXL_Lookup *lookup, int lut_texture_unit=1, float gamma=1.0f, bool add_shader=true)
bool is3DLUTSupported ()
int isFloatZoomSupported ()
int getMaxPixelMapSize ()
int isHalfFloatSupported ()
void copyToFront (short x, short y, short w, short h)
void copyToBack (short x, short y, short w, short h)
void saveFront (short x, short y, short w, short h)
void restoreFront (short x, short y, short w, short h)
void saveRaster (short x, short y, short w, short h, IMG_Raster *r, bool use_backbuf=true)
TIL_RastersaveRaster (short x, short y, short w, short h, PXL_DataFormat format, bool alphatoo, bool use_backbuf=true)
void setDrawPixelsMode (RE_DrawPixelsMode new_mode)
RE_DrawPixelsMode getDrawPixelsMode ()
void rect2DW (float x1, float y1, float x2, float y2)
void rect2DS (short x1, short y1, short x2, short y2)
void rectf2DW (float x1, float y1, float x2, float y2)
void rectf2DS (short x1, short y1, short x2, short y2)
void box2DS (short x1, short y1, short x2, short y2)
void boxf2DS (short x1, short y1, short x2, short y2)
void arcW (float x, float y, float r, short a, short b)
void arcS (short x, short y, short r, short a, short b)
void arcfW (float x, float y, float r, short a, short b)
void arcfS (short x, short y, short r, short a, short b)
void sectorS (short x, short y, short ir, short outer, float a, float b, int slices=20, int loops=1)
void sectorW (float x, float y, float ir, float outer, float a, float b, int slices=20, int loops=1)
void circlefS (short x, short y, short innerr, short outerr, int slices=50)
void circlefW (float x, float y, float innerr, float outerr, int slices=50)
void circlefS (short x, short y, short r, int slices=50)
 Draw a filled circle of radius r.
void circlefW (float x, float y, float r, int slices=50)
void circleS (short x, short y, short r, int slices=50)
 Draw a circle of radius r with lines.
void circleW (float x, float y, float r, int slices=50)
void sphereW (float x, float y, float z, float r, int divs=20)
void spherefW (float x, float y, float z, float r, int divs=20)
void textMove3S (short x, short y, short z)
void textMove3W (float x, float y, float z)
void textMoveS (short x, short y)
void textMoveW (float x, float y)
void setViewportFontOffset (int x, int y)
int getViewportFontOffsetX () const
int getViewportFontOffsetY () const
void getTextPos (short *x, short *y)
void * createNurbsObject (void)
void destroyNurbsObject (void *nurbsobj)
void beginNurbsSurface (void *nurbsobj)
void endNurbsSurface (void *nurbsobj)
void nurbsSurface (int uklen, float *uknots, int vklen, float *vknots, int nrows, float *cvs, int uorder, int vorder, int rational, void *nurbsobj)
void beginTrimLoop (void *nurbsobj)
void endTrimLoop (void *nurbsobj)
void polyTrimCurve (int nvtx, float *cvs, void *nurbsobj)
void nurbsTrimCurve (int uklen, float *uknots, int order, float *cvs, int rational, void *nurbsobj)
void setNurbsProperties (int autonormal, float tol, void *nurbsobj=0)
void end ()
void beginPolygon (int concave)
void endPolygon ()
void beginLine ()
void endLine ()
void beginLines ()
void endLines ()
void beginClosedLine ()
void endClosedLine ()
void beginPoint ()
void endPoint ()
void beginTriangles ()
void endTriangles ()
void beginTriangleFan ()
void endTriangleFan ()
void beginTriMesh ()
void endTriMesh ()
void beginQuads ()
void endQuads ()
void beginQuadStrip ()
void endQuadStrip ()
void v2DS (const short v[2])
void v2DI (const int v[2])
void v2DW (const float v[2])
void v3DS (const short v[3])
void v3DI (const int v[3])
void v3DW (const float v[3])
void vertex2DI (int x, int y)
void vertex2DS (short x, short y)
void vertex2DW (float x, float y)
void vertex3DI (int x, int y, int z)
void vertex3DS (short x, short y, short z)
void vertex3DW (float x, float y, float z)
void c3DS (const short v[3])
void c3DW (const float v[3])
void c4DW (const float v[4])
void cacheC3DW (const float v[3])
void cacheC4DW (const float v[4])
void n3DW (const float v[3])
void t2DW (const float v[2])
void t3DW (const float v[3])
void t4DW (const float v[4])
void mt2DW (const float v[2], unsigned int tclayer)
void mt3DW (const float v[3], unsigned int tclayer)
void a1DW (unsigned int loc, const float v[1])
void a2DW (unsigned int loc, const float v[2])
void a3DW (unsigned int loc, const float v[3])
void a4DW (unsigned int loc, const float v[4])
void move2DW (float x, float y)
void move2DS (short x, short y)
void move3DW (float x, float y, float z)
void move3DS (short x, short y, short z)
void rmove2DW (float x, float y)
void rmove2DS (short x, short y)
void rmove3DW (float x, float y, float z)
void rmove3DS (short x, short y, short z)
void draw2DW (float x, float y)
void draw2DS (short x, short y)
void draw3DW (float x, float y, float z)
void draw3DS (short x, short y, short z)
void rdraw2DW (float x, float y)
void rdraw2DS (short x, short y)
void rdraw3DW (float x, float y, float z)
void rdraw3DS (short x, short y, short z)
void enable (int state)
 RE_FLAG_STATE (ColorMaterial, GL_COLOR_MATERIAL)
 RE_FLAG_STATE (DepthCueing, GL_FOG)
 RE_FLAG_STATE (DepthTest, GL_DEPTH_TEST)
 RE_FLAG_STATE (Dither, GL_DITHER)
 RE_FLAG_STATE (Lighting, GL_LIGHTING)
 RE_FLAG_STATE (Scissor, GL_SCISSOR_TEST)
 RE_FLAG_STATE (AlphaTest, GL_ALPHA_TEST)
 RE_FLAG_STATE (LineSmoothing, GL_LINE_SMOOTH)
 RE_FLAG_STATE (PointSmoothing, GL_POINT_SMOOTH)
 RE_FLAG_STATE (Stencil, GL_STENCIL_TEST)
 RE_FLAG_11_STATE (PointOffset, GL_POLYGON_OFFSET_POINT)
 RE_FLAG_11_STATE (LineOffset, GL_POLYGON_OFFSET_LINE)
 RE_FLAG_11_STATE (FillOffset, GL_POLYGON_OFFSET_FILL)

Static Public Member Functions

static void initialize ()
static bool hasGL11 ()
static bool hasGL12 ()
static bool hasGL13 ()
static bool hasGL14 ()
static bool hasGL15 ()
static bool hasGL20 ()
static bool hasGL21 ()
static int glMajorVersion ()
static int glMinorVersion ()
static bool hasShadersExt ()
static void disableShadersExt ()
static RE_GraphicsDevice getGraphicsDevice ()
static bool hasDriverVersion ()
static int getDriverMajorVersion ()
static int getDriverMinorVersion ()
static int getDriverBuildVersion ()
static int64 getInitialFreeMemoryKB ()
static int resX ()
static int resY ()
static int virtualResX ()
static int virtualResY ()
static void updateScreenSize ()
static int getNumScreens ()
static UT_DimRect getScreen (int i)
static UT_DimRect getWorkArea (int i)
static int getScreenContaining (int x, int y, bool closest_if_none=false)
static bool areScreensUniform ()
static UT_DimRect getWorkAreaForScreen (UT_DimRect area)
static UT_DimRect getTotalScreenArea ()
static UT_DimRect getTotalWorkArea ()
static void updateScreensAndWorkAreas ()
static int positionOnScreen (UT_DimRect &area, int screen_hint=-1)
static bool positionOkay (const UT_DimRect &area)
static short dpi ()
static float pixelsToInches (int n)
static int inchesToPixels (float i)
static void scaleDPI (fpreal dpi)
static RE_VisualgetVisualForMode (RE_DisplayMode newmode)
static RE_ServergetServer ()
static RE_CursorgetCursor (const char *name)
static void resetCurrent ()
static RE_WindowgetMainContext ()
static RE_OGLRendergetCurrentRender ()
static RE_WindowListgetWindowList ()
static void allowSmoothLines (int yn)
static int allowsSmoothLines ()
static int getGLBlendSource (RE_BlendSourceFactor sourceFactor)
static int getGLBlendDest (RE_BlendDestFactor destFactor)
static bool notifySmartObjectsOfShaderDeletion (int shader_idx)
static bool notifySmartObjectsOfTextureDeletion (int texture_idx)
static int computeTextureRes (unsigned int res)
static RE_FontinternalGetFont (const char *name, float size)
static RE_FontgetViewportFont ()
static RE_FontgetViewportSymbolFont (float size)
static void setDefaultFont (const char *name, float size)
static void destroyShaderObject (unsigned int progid, bool unreg, bool shader)
static void destroyTextureObject (unsigned int texid, RE_OGLTexture *tex)
static void destroyFramebufferObject (unsigned int fbo)
static void destroyRenderbufferObject (unsigned int rb)
static void destroyBufferObject (unsigned int buf)
static void destroyDisplayList (unsigned int list)
static void destroyOcclusionQuery (unsigned int query)

Protected Attributes

ut_thread_id_t myNativeThread
bool myIsAllowingOtherThreads

Static Protected Attributes

static UT_ThreadSpecificValue
< RE_OGLRender * > 
theCurrentRender
static UT_ThreadSpecificValue
< RE_OGLRender * > 
theLastRender


Detailed Description

Definition at line 111 of file RE_OGLRender.h.


Constructor & Destructor Documentation

RE_OGLRender::RE_OGLRender ( int  do_foreground,
const char *  appname = 0 
)

virtual RE_OGLRender::~RE_OGLRender (  )  [virtual]


Member Function Documentation

void RE_OGLRender::a1DW ( unsigned int  loc,
const float  v[1] 
) [inline]

Definition at line 1200 of file RE_OGLRender.h.

void RE_OGLRender::a2DW ( unsigned int  loc,
const float  v[2] 
) [inline]

Definition at line 1202 of file RE_OGLRender.h.

void RE_OGLRender::a3DW ( unsigned int  loc,
const float  v[3] 
) [inline]

Definition at line 1204 of file RE_OGLRender.h.

void RE_OGLRender::a4DW ( unsigned int  loc,
const float  v[4] 
) [inline]

Definition at line 1206 of file RE_OGLRender.h.

void RE_OGLRender::allLightsOff (  ) 

void RE_OGLRender::allowSmoothLines ( int  yn  )  [inline, static]

Definition at line 1750 of file RE_OGLRender.h.

int RE_OGLRender::allowsSmoothLines (  )  [inline, static]

Definition at line 1751 of file RE_OGLRender.h.

void RE_OGLRender::alphaTest ( int  onoff  ) 

void RE_OGLRender::arcfS ( short  x,
short  y,
short  r,
short  a,
short  b 
)

void RE_OGLRender::arcfW ( float  x,
float  y,
float  r,
short  a,
short  b 
)

void RE_OGLRender::arcS ( short  x,
short  y,
short  r,
short  a,
short  b 
)

void RE_OGLRender::arcW ( float  x,
float  y,
float  r,
short  a,
short  b 
)

static bool RE_OGLRender::areScreensUniform (  )  [static]

bool RE_OGLRender::assignDefaultShader ( RE_OGLMaterial mat,
int  layer = 0,
bool  textured = true 
)

void RE_OGLRender::beginClosedLine (  ) 

void RE_OGLRender::beginLine (  ) 

void RE_OGLRender::beginLines (  ) 

void RE_OGLRender::beginNurbsSurface ( void *  nurbsobj  ) 

void RE_OGLRender::beginPicking ( uint buf,
long  bufsiz,
short  x,
short  y,
short  w,
short  h 
)

void RE_OGLRender::beginPoint (  ) 

Examples:
GR/GR_BaryCenter.C.

void RE_OGLRender::beginPolygon ( int  concave  ) 

Examples:
GR/GR_BoundingBox.C.

void RE_OGLRender::beginQuads (  ) 

void RE_OGLRender::beginQuadStrip (  ) 

Examples:
GR/GR_SimpleNoise.C.

void RE_OGLRender::beginTriangleFan (  ) 

void RE_OGLRender::beginTriangles (  ) 

void RE_OGLRender::beginTriMesh (  ) 

void RE_OGLRender::beginTrimLoop ( void *  nurbsobj  ) 

void RE_OGLRender::beginXORDraw ( RE_CacheObject *&  id  ) 

void RE_OGLRender::bindBuiltInUniforms ( RE_Shader s,
RE_UniformBinding  bind 
)

void RE_OGLRender::bindShader ( RE_Shader s  ) 

void RE_OGLRender::bindTexture ( RE_OGLTexture tex,
int  unit = RE_ACTIVE_UNIT,
RE_TextureMode  mode = RE_TEXTURE_UNKNOWN 
)

void RE_OGLRender::blend ( int  onoff  ) 

void RE_OGLRender::blendAlpha ( int  onoff,
int  usezbuffer = 0 
)

void RE_OGLRender::blendAlphaPremult ( bool  onoff,
int  usezbuffer = 0 
)

void RE_OGLRender::box2DS ( short  x1,
short  y1,
short  x2,
short  y2 
)

void RE_OGLRender::boxf2DS ( short  x1,
short  y1,
short  x2,
short  y2 
)

void RE_OGLRender::c3DS ( const short  v[3]  )  [inline]

Definition at line 1155 of file RE_OGLRender.h.

void RE_OGLRender::c3DW ( const float  v[3]  )  [inline]

Examples:
GR/GR_BoundingBox.C.

Definition at line 1161 of file RE_OGLRender.h.

void RE_OGLRender::c4DW ( const float  v[4]  )  [inline]

Definition at line 1166 of file RE_OGLRender.h.

void RE_OGLRender::cacheC3DW ( const float  v[3]  )  [inline]

Definition at line 1171 of file RE_OGLRender.h.

void RE_OGLRender::cacheC4DW ( const float  v[4]  )  [inline]

Definition at line 1182 of file RE_OGLRender.h.

void RE_OGLRender::circlefS ( short  x,
short  y,
short  r,
int  slices = 50 
)

Draw a filled circle of radius r.

void RE_OGLRender::circlefS ( short  x,
short  y,
short  innerr,
short  outerr,
int  slices = 50 
)

Draw a circle with a hole in the centre of it: draws only from radius innerr to radius outerr.

void RE_OGLRender::circlefW ( float  x,
float  y,
float  r,
int  slices = 50 
)

void RE_OGLRender::circlefW ( float  x,
float  y,
float  innerr,
float  outerr,
int  slices = 50 
)

void RE_OGLRender::circleS ( short  x,
short  y,
short  r,
int  slices = 50 
)

Draw a circle of radius r with lines.

void RE_OGLRender::circleW ( float  x,
float  y,
float  r,
int  slices = 50 
)

const char* RE_OGLRender::className (  )  const

void RE_OGLRender::clear (  ) 

void RE_OGLRender::clearAllMaterials (  ) 

void RE_OGLRender::clearAllTextures (  ) 

void RE_OGLRender::clearCZ ( float  z = 1.0  ) 

void RE_OGLRender::clearGLErrors (  ) 

void RE_OGLRender::clearIconLoader ( RE_IDType  wid  ) 

void RE_OGLRender::clearS (  ) 

void RE_OGLRender::clearXORDraw ( RE_CacheObject *&  id  ) 

void RE_OGLRender::clearZ ( float  z = 1.0  ) 

void RE_OGLRender::clipPlane ( int  which,
int  onoff,
const UT_Vector4 parms = 0 
)

int RE_OGLRender::computeTextureRes ( unsigned int  res  )  [inline, static]

Definition at line 1763 of file RE_OGLRender.h.

bool RE_OGLRender::contextIsValid (  )  [inline]

Definition at line 250 of file RE_OGLRender.h.

void RE_OGLRender::convertLUTToTexture ( PXL_Lookup lookup  ) 

void RE_OGLRender::convertRasterToTexture ( PXL_Raster raster,
int  convert16bit = 0 
)

void RE_OGLRender::copyToBack ( short  x,
short  y,
short  w,
short  h 
)

void RE_OGLRender::copyToFront ( short  x,
short  y,
short  w,
short  h 
)

void* RE_OGLRender::createNurbsObject ( void   ) 

unsigned RE_OGLRender::defineLight ( const RE_Light light,
int  light_flags = 0 
)

void RE_OGLRender::deleteObject ( RE_CacheObject obj  ) 

void RE_OGLRender::deletePendingShadersFromSmartObjectCreation (  ) 

void RE_OGLRender::deletePendingTexturesFromSmartObjectCreation (  ) 

void RE_OGLRender::deleteSmartObject ( RE_SmartObject obj  ) 

void RE_OGLRender::deNormalizeLightDefinition ( unsigned  index  ) 

void RE_OGLRender::deNormalizeLightDefinition ( const RE_Light light  ) 

void RE_OGLRender::depthCueing ( int  state,
int  usegreyramp = 0 
)

static void RE_OGLRender::destroyBufferObject ( unsigned int  buf  )  [static]

static void RE_OGLRender::destroyDisplayList ( unsigned int  list  )  [static]

static void RE_OGLRender::destroyFramebufferObject ( unsigned int  fbo  )  [static]

void RE_OGLRender::destroyNurbsObject ( void *  nurbsobj  ) 

static void RE_OGLRender::destroyOcclusionQuery ( unsigned int  query  )  [static]

static void RE_OGLRender::destroyRenderbufferObject ( unsigned int  rb  )  [static]

static void RE_OGLRender::destroyShaderObject ( unsigned int  progid,
bool  unreg,
bool  shader 
) [static]

static void RE_OGLRender::destroyTextureObject ( unsigned int  texid,
RE_OGLTexture tex 
) [static]

void RE_OGLRender::disableAllTextures (  ) 

void RE_OGLRender::disableColorBufferWriting (  ) 

void RE_OGLRender::disableDepthBufferWriting (  ) 

void RE_OGLRender::disableFog (  ) 

void RE_OGLRender::disableLogicOp (  ) 

void RE_OGLRender::disableScreenMask (  ) 

void RE_OGLRender::disableShadersExt (  )  [inline, static]

Definition at line 1627 of file RE_OGLRender.h.

void RE_OGLRender::disableTexture ( int  textureunit = RE_ACTIVE_UNIT  ) 

void RE_OGLRender::displayRaster ( float  x,
float  y,
const PXL_Raster raster,
const RE_RasterOpts opts = 0 
)

void RE_OGLRender::displayRaster ( float  x,
float  y,
short  w,
short  h,
UT_RGBA r,
short  stride,
float  zoom = -1.0f,
int  dither = 1 
)

void RE_OGLRender::displayRaster ( float  x,
float  y,
short  w,
short  h,
IMG_Raster r,
float  zoom = -1.0f,
int  dither = 1 
)

void RE_OGLRender::displayRasterTexture ( float  x,
float  y,
const PXL_Raster raster,
const RE_RasterOpts opts = 0 
)

short RE_OGLRender::dpi (  )  [inline, static]

Definition at line 1645 of file RE_OGLRender.h.

void RE_OGLRender::draw2DS ( short  x,
short  y 
)

void RE_OGLRender::draw2DW ( float  x,
float  y 
)

void RE_OGLRender::draw3DS ( short  x,
short  y,
short  z 
)

void RE_OGLRender::draw3DW ( float  x,
float  y,
float  z 
)

void RE_OGLRender::drawObject ( RE_CacheObject obj  ) 

void RE_OGLRender::dumpLightState (  )  const

void RE_OGLRender::dumpState ( bool  extended_info = true  )  const

void RE_OGLRender::dumpTextureState (  )  const

void RE_OGLRender::enable ( int  state  )  [inline]

Definition at line 1226 of file RE_OGLRender.h.

void RE_OGLRender::enableColorBufferWriting (  ) 

void RE_OGLRender::enableDepthBufferWriting (  ) 

void RE_OGLRender::enableDepthClamp ( bool  b  ) 

void RE_OGLRender::enableFog ( int  type,
float  density,
float  nearf,
float  farf,
const float *  col,
float  alpha 
)

void RE_OGLRender::enableLogicOp (  ) 

void RE_OGLRender::enableMultisample ( bool  enable  ) 

void RE_OGLRender::enableTexture ( RE_TextureDimension  t,
int  textureunit = RE_ACTIVE_UNIT 
)

int RE_OGLRender::enableZbuffer ( int  state,
int  clear_it 
)

void RE_OGLRender::end (  ) 

void RE_OGLRender::endClosedLine (  ) 

void RE_OGLRender::endLine (  ) 

void RE_OGLRender::endLines (  ) 

void RE_OGLRender::endNurbsSurface ( void *  nurbsobj  ) 

void RE_OGLRender::endObjectDefine ( bool  push_attribs = true  ) 

long RE_OGLRender::endPicking ( uint buf  ) 

void RE_OGLRender::endPoint (  ) 

Examples:
GR/GR_BaryCenter.C.

void RE_OGLRender::endPolygon (  ) 

Examples:
GR/GR_BoundingBox.C.

void RE_OGLRender::endQuads (  ) 

void RE_OGLRender::endQuadStrip (  ) 

Examples:
GR/GR_SimpleNoise.C.

bool RE_OGLRender::endSmartObjectDefine ( bool  push_attribs = true  ) 

void RE_OGLRender::endTriangleFan (  ) 

void RE_OGLRender::endTriangles (  ) 

void RE_OGLRender::endTriMesh (  ) 

void RE_OGLRender::endTrimLoop ( void *  nurbsobj  ) 

void RE_OGLRender::endXORDraw ( RE_CacheObject *&  id  ) 

void RE_OGLRender::flush ( int  wait = 0  )  const

void RE_OGLRender::fogCoord ( const float  z  ) 

void RE_OGLRender::forceSmooth (  ) 

RE_OcclusionQuery* RE_OGLRender::getActiveOcclusionQuery (  )  const

int RE_OGLRender::getActiveTexture (  )  const

int RE_OGLRender::getAllowSpecular (  )  const [inline]

Definition at line 1781 of file RE_OGLRender.h.

float RE_OGLRender::getAlpha (  )  const

void RE_OGLRender::getAlphaBlendFunction ( RE_BlendSourceFactor sourceFactor,
RE_BlendDestFactor destFactor 
)

void RE_OGLRender::getAMatrix ( RE_MatrixMode  mmode,
UT_DMatrix4 m 
)

void RE_OGLRender::getAMatrix ( RE_MatrixMode  mmode,
UT_Matrix4 m 
)

void RE_OGLRender::getBlendFunction ( RE_BlendSourceFactor sourceFactor,
RE_BlendDestFactor destFactor 
)

int RE_OGLRender::getBlendSmoothLevel (  )  const [inline]

Definition at line 1745 of file RE_OGLRender.h.

RE_OGLTexture* RE_OGLRender::getBoundTexture ( int  texunit = RE_ACTIVE_UNIT  )  const

RE_TextureDimension RE_OGLRender::getBoundTextureType ( int  texunit = RE_ACTIVE_UNIT  )  const

void RE_OGLRender::getColor ( UT_Color c  )  const

bool RE_OGLRender::getColorBufferWriting (  ) 

void RE_OGLRender::getColorMask ( bool &  red,
bool &  green,
bool &  blue,
bool &  alpha 
)

RE_OGLContext RE_OGLRender::getContext (  )  const [inline]

Definition at line 251 of file RE_OGLRender.h.

RE_OGLRender * RE_OGLRender::getCurrentRender (  )  [inline, static]

Definition at line 1666 of file RE_OGLRender.h.

RE_Window * RE_OGLRender::getCurrentWindow (  )  [inline]

Definition at line 1675 of file RE_OGLRender.h.

const RE_Window * RE_OGLRender::getCurrentWindow (  )  const [inline]

Definition at line 1672 of file RE_OGLRender.h.

static RE_Cursor* RE_OGLRender::getCursor ( const char *  name  )  [static]

RE_Material* RE_OGLRender::getDefaultMaterial (  ) 

RE_Shader* RE_OGLRender::getDefaultShader (  ) 

bool RE_OGLRender::getDepthBufferWriting (  ) 

bool RE_OGLRender::getDepthClamp (  )  const

RE_RenderBuf RE_OGLRender::getDrawBuffer (  ) 

RE_OGLFramebuffer* RE_OGLRender::getDrawFramebuffer (  ) 

RE_DrawPixelsMode RE_OGLRender::getDrawPixelsMode (  ) 

int RE_OGLRender::getDriverBuildVersion (  )  [inline, static]

Definition at line 1637 of file RE_OGLRender.h.

void RE_OGLRender::getDriverInfo ( UT_WorkBuffer info  ) 

int RE_OGLRender::getDriverMajorVersion (  )  [inline, static]

Definition at line 1635 of file RE_OGLRender.h.

int RE_OGLRender::getDriverMinorVersion (  )  [inline, static]

Definition at line 1636 of file RE_OGLRender.h.

RE_OGLExt * RE_OGLRender::getExt (  )  const [inline]

Definition at line 1639 of file RE_OGLRender.h.

int64 RE_OGLRender::getFreeBufferMemoryKB ( int64 largest_chunk = NULL  ) 

int64 RE_OGLRender::getFreeFramebufferMemoryKB ( int64 largest_chunk = NULL  ) 

int64 RE_OGLRender::getFreeTextureMemoryKB ( int64 largest_chunk = NULL  ) 

static int RE_OGLRender::getGLBlendDest ( RE_BlendDestFactor  destFactor  )  [static]

static int RE_OGLRender::getGLBlendSource ( RE_BlendSourceFactor  sourceFactor  )  [static]

int RE_OGLRender::getGLError (  ) 

const char* RE_OGLRender::getGLErrorString ( int  error  ) 

RE_GraphicsDevice RE_OGLRender::getGraphicsDevice (  )  [inline, static]

Definition at line 1630 of file RE_OGLRender.h.

static int64 RE_OGLRender::getInitialFreeMemoryKB (  )  [static]

RE_InterpMode RE_OGLRender::getInterpMode (  ) 

RE_Light* RE_OGLRender::getLight ( int  index  ) 

RE_Uniform * RE_OGLRender::getLightEnabledUniform (  )  const [inline]

Definition at line 1784 of file RE_OGLRender.h.

bool RE_OGLRender::getLightState ( unsigned  index  ) 

float RE_OGLRender::getLineWidth (  )  const

RE_Window * RE_OGLRender::getMainContext (  )  [inline, static]

Definition at line 1663 of file RE_OGLRender.h.

void RE_OGLRender::getMatrix ( UT_Matrix4 m  ) 

RE_MatrixMode RE_OGLRender::getMatrixMode (  ) 

int RE_OGLRender::getMaxFragmentTextureUnits (  )  const [inline]

Definition at line 781 of file RE_OGLRender.h.

int RE_OGLRender::getMaxLights (  )  const

int RE_OGLRender::getMaxPixelMapSize (  ) 

int RE_OGLRender::getMaxShaderTextureUnits (  )  const [inline]

Definition at line 777 of file RE_OGLRender.h.

float RE_OGLRender::getMaxSmoothLineWidth (  ) 

int RE_OGLRender::getMaxTexture3DSize (  )  const [inline]

Definition at line 789 of file RE_OGLRender.h.

int RE_OGLRender::getMaxTextureCoords (  )  const [inline]

Definition at line 775 of file RE_OGLRender.h.

int RE_OGLRender::getMaxTextureRectangleSize (  ) 

int RE_OGLRender::getMaxTextureSize (  )  const [inline]

Definition at line 788 of file RE_OGLRender.h.

int RE_OGLRender::getMaxTextureUnits (  )  const [inline]

Definition at line 773 of file RE_OGLRender.h.

int RE_OGLRender::getMaxVertexTextureUnits (  )  const [inline]

Definition at line 779 of file RE_OGLRender.h.

void RE_OGLRender::getMaxViewportSize ( int &  w,
int &  h 
) const

RE_DisplayMode RE_OGLRender::getMode (  )  const

int RE_OGLRender::getNextGLError (  ) 

bool RE_OGLRender::getNormalizeGlobalAmbient (  )  const [inline]

Definition at line 1792 of file RE_OGLRender.h.

int RE_OGLRender::getNumLights (  ) 

static int RE_OGLRender::getNumScreens (  )  [static]

void RE_OGLRender::getOffsetAmount ( float *  variable,
float *  constant 
) [inline]

Definition at line 1718 of file RE_OGLRender.h.

int RE_OGLRender::getOGLMaxClipPlanes (  )  [inline]

Definition at line 1692 of file RE_OGLRender.h.

void RE_OGLRender::getProjectiveTextureTransform ( const RE_Light light,
bool  bias,
UT_Matrix4 mat 
)

RE_OGLTexture* RE_OGLRender::getRandomTexture ( unsigned int  seed,
bool  interp,
int  size = 64,
bool  owned = false 
)

float RE_OGLRender::getRasterX (  )  const [inline]

Definition at line 1795 of file RE_OGLRender.h.

float RE_OGLRender::getRasterY (  )  const [inline]

Definition at line 1796 of file RE_OGLRender.h.

float RE_OGLRender::getRasterZ (  )  const [inline]

Definition at line 1797 of file RE_OGLRender.h.

void RE_OGLRender::getRasterZoom ( float &  xzoom,
float &  yzoom 
) const

RE_RenderBuf RE_OGLRender::getReadBuffer (  ) 

RE_OGLFramebuffer* RE_OGLRender::getReadFramebuffer (  ) 

virtual RE_Render* RE_OGLRender::getRender (  )  [pure virtual]

Implemented in RE_Render.

int RE_OGLRender::getReverseWinding (  ) 

static UT_DimRect RE_OGLRender::getScreen ( int  i  )  [static]

static int RE_OGLRender::getScreenContaining ( int  x,
int  y,
bool  closest_if_none = false 
) [static]

UT_DimRect RE_OGLRender::getScreenMask2DI (  ) 

static RE_Server* RE_OGLRender::getServer (  )  [static]

RE_Shader* RE_OGLRender::getShader (  ) 

const UT_IntArray* RE_OGLRender::getShadersUsedBySmartObject ( RE_SmartObject obj  ) 

RE_SmoothMode RE_OGLRender::getSmoothLines (  ) 

void RE_OGLRender::getTextPos ( short *  x,
short *  y 
)

int RE_OGLRender::getTextureAnisotropyLimit (  )  const [inline]

Definition at line 783 of file RE_OGLRender.h.

RE_TextureMode RE_OGLRender::getTextureMode ( int  textureunit = RE_ACTIVE_UNIT  )  const

static UT_DimRect RE_OGLRender::getTotalScreenArea (  )  [static]

static UT_DimRect RE_OGLRender::getTotalWorkArea (  )  [static]

RE_Uniform* RE_OGLRender::getUniform ( RE_UniformBuiltIn  builtin_var_type,
bool &  owned 
)

UT_DimRect RE_OGLRender::getViewport2DI (  ) 

static RE_Font* RE_OGLRender::getViewportFont (  )  [static]

Get the font we use in the viewport. This is not antialiased, but it is properly clipped and transformed in 3D space.

int RE_OGLRender::getViewportFontOffsetX (  )  const [inline]

Definition at line 1800 of file RE_OGLRender.h.

int RE_OGLRender::getViewportFontOffsetY (  )  const [inline]

Definition at line 1804 of file RE_OGLRender.h.

bool RE_OGLRender::getViewportMaskActive (  )  const

static RE_Font* RE_OGLRender::getViewportSymbolFont ( float  size  )  [static]

Get the symbol font we use in the viewport. Not antialiased, but properly clipped and transformed in 3D space.

static RE_Visual* RE_OGLRender::getVisualForMode ( RE_DisplayMode  newmode  )  [static]

RE_VisualType RE_OGLRender::getVisualType (  )  const

RE_WindowList * RE_OGLRender::getWindowList (  )  [inline, static]

Definition at line 1669 of file RE_OGLRender.h.

static UT_DimRect RE_OGLRender::getWorkArea ( int  i  )  [static]

static UT_DimRect RE_OGLRender::getWorkAreaForScreen ( UT_DimRect  area  )  [static]

RE_ZFunction RE_OGLRender::getZFunction (  )  const

int RE_OGLRender::glMajorVersion (  )  [inline, static]

Definition at line 1620 of file RE_OGLRender.h.

int RE_OGLRender::glMinorVersion (  )  [inline, static]

Definition at line 1621 of file RE_OGLRender.h.

int RE_OGLRender::glslMajorVersion (  )  [inline]

Definition at line 1623 of file RE_OGLRender.h.

int RE_OGLRender::glslMinorVersion (  )  [inline]

Definition at line 1624 of file RE_OGLRender.h.

bool RE_OGLRender::hasDriverVersion (  )  [inline, static]

Definition at line 1632 of file RE_OGLRender.h.

bool RE_OGLRender::hasGL11 (  )  [inline, static]

Definition at line 1592 of file RE_OGLRender.h.

bool RE_OGLRender::hasGL12 (  )  [inline, static]

Definition at line 1596 of file RE_OGLRender.h.

bool RE_OGLRender::hasGL13 (  )  [inline, static]

Definition at line 1600 of file RE_OGLRender.h.

bool RE_OGLRender::hasGL14 (  )  [inline, static]

Definition at line 1604 of file RE_OGLRender.h.

bool RE_OGLRender::hasGL15 (  )  [inline, static]

Definition at line 1608 of file RE_OGLRender.h.

bool RE_OGLRender::hasGL20 (  )  [inline, static]

Definition at line 1612 of file RE_OGLRender.h.

bool RE_OGLRender::hasGL21 (  )  [inline, static]

Definition at line 1616 of file RE_OGLRender.h.

int RE_OGLRender::hasGLExtension ( RE_Extension  e  )  const

bool RE_OGLRender::hasShadersExt (  )  [inline, static]

Definition at line 1626 of file RE_OGLRender.h.

int RE_OGLRender::inchesToPixels ( float  i  )  [inline, static]

Definition at line 1657 of file RE_OGLRender.h.

static void RE_OGLRender::initialize (  )  [static]

bool RE_OGLRender::inObjectDefine (  )  const [inline]

Definition at line 1753 of file RE_OGLRender.h.

void RE_OGLRender::insertGeometryIntoCache ( RE_GeometryObject obj,
const char *  gname 
)

void RE_OGLRender::insertReferenceIntoCache ( RE_GeometryObject obj  ) 

static RE_Font* RE_OGLRender::internalGetFont ( const char *  name,
float  size 
) [static]

Get a standard font for the UI. Size is in points. This should be protected with some friends, but due to various issues it can't be. Never use this - use UIgetFont instead.

void RE_OGLRender::interpMode ( RE_InterpMode  mode  ) 

void RE_OGLRender::intersectMask2DI ( const UT_DimRect rect  ) 

void RE_OGLRender::invertPixels (  ) 

bool RE_OGLRender::is3DLUTSupported (  ) 

int RE_OGLRender::isBackface (  ) 

bool RE_OGLRender::isBlending (  )  const [inline]

Definition at line 1740 of file RE_OGLRender.h.

int RE_OGLRender::isCaching (  )  const [inline]

Definition at line 1809 of file RE_OGLRender.h.

bool RE_OGLRender::isContextLocked (  )  const

bool RE_OGLRender::isCurrent (  )  [inline]

Definition at line 248 of file RE_OGLRender.h.

int RE_OGLRender::isFloatZoomSupported (  ) 

bool RE_OGLRender::isFrontBufferDirty (  )  const [inline]

Definition at line 1684 of file RE_OGLRender.h.

int RE_OGLRender::isHalfFloatSupported (  ) 

bool RE_OGLRender::isInitialized (  )  const [inline]

Definition at line 119 of file RE_OGLRender.h.

bool RE_OGLRender::isLightDefined ( const RE_Light light  )  const

bool RE_OGLRender::isLineOffset (  )  [inline]

Definition at line 1697 of file RE_OGLRender.h.

bool RE_OGLRender::isMultisampleEnabled (  )  const

int RE_OGLRender::isPicking (  )  const

bool RE_OGLRender::isPointOffset (  )  [inline]

Definition at line 1695 of file RE_OGLRender.h.

bool RE_OGLRender::isPolygonOffset (  ) 

bool RE_OGLRender::isSmartObjectDirty ( RE_SmartObject obj  ) 

bool RE_OGLRender::isTextureEnabled ( RE_TextureDimension  t,
int  textureunit = RE_ACTIVE_UNIT 
) const

int RE_OGLRender::isZbuffer (  ) 

void RE_OGLRender::lineOffset ( bool  onoff  )  [inline]

Definition at line 1709 of file RE_OGLRender.h.

void RE_OGLRender::loadIdentityMatrix (  ) 

void RE_OGLRender::loadMatrix ( const UT_DMatrix4 m  ) 

void RE_OGLRender::loadMatrix ( const UT_Matrix4 m  ) 

void RE_OGLRender::loadPickId ( uint  id  ) 

void RE_OGLRender::lockContextForRender (  ) 

bool RE_OGLRender::makeCurrent (  ) 

int RE_OGLRender::mapScreen ( float  xw,
float  yw,
float  zw,
const UT_DimRect viewport,
const UT_Matrix4 proj,
const UT_Matrix4 view,
float *  xs,
float *  ys 
)

int RE_OGLRender::mapScreen ( float  xw,
float  yw,
float  zw,
float *  xs,
float *  ys 
)

int RE_OGLRender::mapWorld ( float  xs,
float  ys,
const UT_DimRect viewport,
const UT_Matrix4 proj,
const UT_Matrix4 view,
float *  x1,
float *  y1,
float *  z1,
float *  x2,
float *  y2,
float *  z2 
)

int RE_OGLRender::mapWorld ( float  xs,
float  xy,
float *  x1,
float *  y1,
float *  z1,
float *  x2,
float *  y2,
float *  z2 
)

void RE_OGLRender::matrixMode ( RE_MatrixMode  mode  ) 

void RE_OGLRender::move2DS ( short  x,
short  y 
)

void RE_OGLRender::move2DW ( float  x,
float  y 
)

void RE_OGLRender::move3DS ( short  x,
short  y,
short  z 
)

void RE_OGLRender::move3DW ( float  x,
float  y,
float  z 
)

void RE_OGLRender::mt2DW ( const float  v[2],
unsigned int  tclayer 
)

void RE_OGLRender::mt3DW ( const float  v[3],
unsigned int  tclayer 
)

void RE_OGLRender::multiplyMatrix ( const UT_DMatrix4 m  ) 

void RE_OGLRender::multiplyMatrix ( const UT_Matrix4 m  ) 

void RE_OGLRender::n3DW ( const float  v[3]  )  [inline]

Examples:
GR/GR_BoundingBox.C, and GR/GR_SimpleNoise.C.

Definition at line 1194 of file RE_OGLRender.h.

static bool RE_OGLRender::notifySmartObjectsOfShaderDeletion ( int  shader_idx  )  [static]

static bool RE_OGLRender::notifySmartObjectsOfTextureDeletion ( int  texture_idx  )  [static]

void RE_OGLRender::nurbsSurface ( int  uklen,
float *  uknots,
int  vklen,
float *  vknots,
int  nrows,
float *  cvs,
int  uorder,
int  vorder,
int  rational,
void *  nurbsobj 
)

void RE_OGLRender::nurbsTrimCurve ( int  uklen,
float *  uknots,
int  order,
float *  cvs,
int  rational,
void *  nurbsobj 
)

void RE_OGLRender::ortho2DW ( float  l,
float  r,
float  b,
float  t 
)

void RE_OGLRender::ortho3DW ( float  l,
float  r,
float  b,
float  t,
float  n,
float  f 
)

void RE_OGLRender::orthoFromViewport2DI ( const UT_DimRect viewport  )  [inline]

Definition at line 428 of file RE_OGLRender.h.

void RE_OGLRender::perspective ( float  fov_radians,
float  a,
float  n,
float  f 
)

float RE_OGLRender::pixelsToInches ( int  n  )  [inline, static]

Definition at line 1651 of file RE_OGLRender.h.

void RE_OGLRender::pointOffset ( bool  onoff  )  [inline]

Definition at line 1700 of file RE_OGLRender.h.

void RE_OGLRender::polygonOffset ( bool  onoff  ) 

void RE_OGLRender::polyTrimCurve ( int  nvtx,
float *  cvs,
void *  nurbsobj 
)

void RE_OGLRender::popBlendState ( int *  nesting = 0  ) 

void RE_OGLRender::popColor ( int *  nest = NULL  ) 

void RE_OGLRender::popDrawBuffer ( int *  nest = 0  ) 

void RE_OGLRender::popDrawFramebuffer ( int *  nest = NULL  ) 

void RE_OGLRender::popLineStyle ( int *  nest = NULL  ) 

void RE_OGLRender::popLineWidth ( int *  nest = NULL  ) 

void RE_OGLRender::popMaterial ( int *  nest = NULL  ) 

void RE_OGLRender::popMaterialDiffuse (  ) 

Examples:
GR/GR_BoundingBox.C.

void RE_OGLRender::popMatrix ( int  update_projection = 1  ) 

void RE_OGLRender::popOffscreenBuffer (  ) 

void RE_OGLRender::popPattern ( int *  nest = NULL  ) 

void RE_OGLRender::popPickId (  ) 

void RE_OGLRender::popPointSize ( int *  nest = NULL  ) 

void RE_OGLRender::popReadAlignment ( int *  nest = NULL  ) 

void RE_OGLRender::popReadBuffer ( int *  nest = 0  ) 

void RE_OGLRender::popReadFramebuffer ( int *  nest = NULL  ) 

void RE_OGLRender::popShader ( int *  nest = NULL  ) 

void RE_OGLRender::popSmoothLines ( int *  nesting = 0  ) 

void RE_OGLRender::popState (  ) 

void RE_OGLRender::popStencilState ( int *  nest = NULL  ) 

void RE_OGLRender::popTextureState ( int *  nest = NULL  ) 

void RE_OGLRender::popUniform ( int *  level = NULL  ) 

void RE_OGLRender::popViewport (  ) 

void RE_OGLRender::popWriteAlignment ( int *  nest = NULL  ) 

static bool RE_OGLRender::positionOkay ( const UT_DimRect area  )  [static]

static int RE_OGLRender::positionOnScreen ( UT_DimRect area,
int  screen_hint = -1 
) [static]

void RE_OGLRender::printAllGLErrors ( const char *  header,
bool  assert = false 
)

void RE_OGLRender::printBuiltinUniforms ( bool  bound_only  ) 

void RE_OGLRender::printGLError ( const char *  header,
bool  assert = false 
)

int RE_OGLRender::pushBlendState (  ) 

int RE_OGLRender::pushColor ( const UT_Color c,
float  alpha = 1.0f 
) [inline]

Definition at line 1725 of file RE_OGLRender.h.

int RE_OGLRender::pushColor (  ) 

int RE_OGLRender::pushDrawBuffer ( RE_RenderBuf  buf = RE_BUFFER_UNINIT  ) 

int RE_OGLRender::pushDrawFramebuffer ( RE_OGLFramebuffer fb  ) 

int RE_OGLRender::pushDrawFramebuffer (  ) 

int RE_OGLRender::pushLineStyle ( RE_LineStyle  s  ) 

int RE_OGLRender::pushLineWidth ( float  w  ) 

int RE_OGLRender::pushMaterial ( RE_Material mat,
int  layer = 0,
bool  texture = true 
)

void RE_OGLRender::pushMaterialDiffuse (  ) 

Examples:
GR/GR_BoundingBox.C.

void RE_OGLRender::pushMatrix ( int  update_projection = 1  ) 

bool RE_OGLRender::pushOffscreenBuffer ( OGLDrawable  type  ) 

int RE_OGLRender::pushPattern ( RE_FillPattern  p  ) 

void RE_OGLRender::pushPickId ( uint  id  ) 

int RE_OGLRender::pushPointSize ( float  size  ) 

int RE_OGLRender::pushReadAlignment ( const void *  data,
int  scansize 
)

int RE_OGLRender::pushReadBuffer ( RE_RenderBuf  buf = RE_BUFFER_UNINIT  ) 

int RE_OGLRender::pushReadFramebuffer ( RE_OGLFramebuffer fb  ) 

int RE_OGLRender::pushReadFramebuffer (  ) 

int RE_OGLRender::pushShader ( RE_Shader s  ) 

int RE_OGLRender::pushShader (  ) 

int RE_OGLRender::pushSmoothLines (  ) 

void RE_OGLRender::pushState ( int  viewing  ) 

int RE_OGLRender::pushStencilState (  ) 

int RE_OGLRender::pushTextureState ( int  textureunit = RE_ACTIVE_UNIT  ) 

int RE_OGLRender::pushUniform ( RE_UniformBuiltIn  builtin_var_type  ) 

void RE_OGLRender::pushViewport (  ) 

int RE_OGLRender::pushWriteAlignment ( const void *  data,
int  scansize 
)

void RE_OGLRender::rdraw2DS ( short  x,
short  y 
)

void RE_OGLRender::rdraw2DW ( float  x,
float  y 
)

void RE_OGLRender::rdraw3DS ( short  x,
short  y,
short  z 
)

void RE_OGLRender::rdraw3DW ( float  x,
float  y,
float  z 
)

RE_OGLRender::RE_FLAG_11_STATE ( FillOffset  ,
GL_POLYGON_OFFSET_FILL   
)

RE_OGLRender::RE_FLAG_11_STATE ( LineOffset  ,
GL_POLYGON_OFFSET_LINE   
)

RE_OGLRender::RE_FLAG_11_STATE ( PointOffset  ,
GL_POLYGON_OFFSET_POINT   
)

RE_OGLRender::RE_FLAG_STATE ( Stencil  ,
GL_STENCIL_TEST   
)

RE_OGLRender::RE_FLAG_STATE ( PointSmoothing  ,
GL_POINT_SMOOTH   
)

RE_OGLRender::RE_FLAG_STATE ( LineSmoothing  ,
GL_LINE_SMOOTH   
)

RE_OGLRender::RE_FLAG_STATE ( AlphaTest  ,
GL_ALPHA_TEST   
)

RE_OGLRender::RE_FLAG_STATE ( Scissor  ,
GL_SCISSOR_TEST   
)

RE_OGLRender::RE_FLAG_STATE ( Lighting  ,
GL_LIGHTING   
)

RE_OGLRender::RE_FLAG_STATE ( Dither  ,
GL_DITHER   
)

RE_OGLRender::RE_FLAG_STATE ( DepthTest  ,
GL_DEPTH_TEST   
)

RE_OGLRender::RE_FLAG_STATE ( DepthCueing  ,
GL_FOG   
)

RE_OGLRender::RE_FLAG_STATE ( ColorMaterial  ,
GL_COLOR_MATERIAL   
)

void RE_OGLRender::recordShaderForSmartObject ( int  shader_idx  ) 

void RE_OGLRender::recordTextureForSmartObject ( int  texture_idx  ) 

void RE_OGLRender::rect2DS ( short  x1,
short  y1,
short  x2,
short  y2 
)

void RE_OGLRender::rect2DW ( float  x1,
float  y1,
float  x2,
float  y2 
)

void RE_OGLRender::rectf2DS ( short  x1,
short  y1,
short  x2,
short  y2 
)

void RE_OGLRender::rectf2DW ( float  x1,
float  y1,
float  x2,
float  y2 
)

void RE_OGLRender::removeTextureRefs ( RE_OGLTexture tex  ) 

void RE_OGLRender::resetColorCache (  )  [inline]

Definition at line 1733 of file RE_OGLRender.h.

static void RE_OGLRender::resetCurrent (  )  [static]

void RE_OGLRender::resetSClearValue (  ) 

void RE_OGLRender::resetSFunction (  ) 

void RE_OGLRender::resetSOperation (  ) 

void RE_OGLRender::resetSWriteMask (  ) 

void RE_OGLRender::resetXORDraw ( RE_CacheObject *&  id  ) 

void RE_OGLRender::restoreFront ( short  x,
short  y,
short  w,
short  h 
)

int RE_OGLRender::resX (  )  [inline, static]

Definition at line 1641 of file RE_OGLRender.h.

int RE_OGLRender::resY (  )  [inline, static]

Definition at line 1642 of file RE_OGLRender.h.

void RE_OGLRender::rmove2DS ( short  x,
short  y 
)

void RE_OGLRender::rmove2DW ( float  x,
float  y 
)

void RE_OGLRender::rmove3DS ( short  x,
short  y,
short  z 
)

void RE_OGLRender::rmove3DW ( float  x,
float  y,
float  z 
)

void RE_OGLRender::rotate ( float  angle,
char  axis 
)

void RE_OGLRender::saveFront ( short  x,
short  y,
short  w,
short  h 
)

TIL_Raster* RE_OGLRender::saveRaster ( short  x,
short  y,
short  w,
short  h,
PXL_DataFormat  format,
bool  alphatoo,
bool  use_backbuf = true 
)

void RE_OGLRender::saveRaster ( short  x,
short  y,
short  w,
short  h,
IMG_Raster r,
bool  use_backbuf = true 
)

void RE_OGLRender::scale ( float  x = 1.0,
float  y = 1.0,
float  z = 1.0 
)

static void RE_OGLRender::scaleDPI ( fpreal  dpi  )  [static]

void RE_OGLRender::scaleViewForPick ( float *  l,
float *  r,
float *  b,
float *  t 
)

void RE_OGLRender::screenMask2DI ( const UT_DimRect rect  ) 

void RE_OGLRender::sectorS ( short  x,
short  y,
short  ir,
short  outer,
float  a,
float  b,
int  slices = 20,
int  loops = 1 
)

void RE_OGLRender::sectorW ( float  x,
float  y,
float  ir,
float  outer,
float  a,
float  b,
int  slices = 20,
int  loops = 1 
)

void RE_OGLRender::setActiveOcclusionQuery ( RE_OcclusionQuery q  ) 

void RE_OGLRender::setActiveTexture ( int  textureunit  ) 

void RE_OGLRender::setAllowSpecular ( int  f  )  [inline]

Definition at line 1779 of file RE_OGLRender.h.

void RE_OGLRender::setAlpha ( float  alpha  ) 

bool RE_OGLRender::setAlphaBlendFunction ( RE_BlendSourceFactor  sourceFactor,
RE_BlendDestFactor  destFactor,
bool  force = false 
)

void RE_OGLRender::setAlphaTestFunction ( RE_ZFunction  func,
float  val 
)

void RE_OGLRender::setBackface ( int  removeBackface = 0  ) 

void RE_OGLRender::setBlendFunction ( RE_BlendSourceFactor  sourceFactor,
RE_BlendDestFactor  destFactor 
)

void RE_OGLRender::setColor ( float  r,
float  g,
float  b,
float  a 
)

void RE_OGLRender::setColor ( const UT_Color c,
float  alpha = 1.0 
)

void RE_OGLRender::setColorMask ( bool  red,
bool  green,
bool  blue,
bool  alpha 
)

static void RE_OGLRender::setDefaultFont ( const char *  name,
float  size 
) [static]

void RE_OGLRender::setDiffuseMaterialFromMaterialStack (  ) 

void RE_OGLRender::setDrawBuffer ( RE_RenderBuf  buf  ) 

void RE_OGLRender::setDrawFramebuffer ( RE_OGLFramebuffer fb  ) 

void RE_OGLRender::setDrawPixelsMode ( RE_DrawPixelsMode  new_mode  ) 

void RE_OGLRender::setFrontBufferDirty ( bool  d  )  [inline]

Definition at line 1688 of file RE_OGLRender.h.

void RE_OGLRender::setGLSpots ( int  f  )  [inline]

Definition at line 1776 of file RE_OGLRender.h.

void RE_OGLRender::setIconImage ( const char *  filename  ) 

void RE_OGLRender::setIconLoader ( RE_IconLoader  loader  )  [inline]

Definition at line 1678 of file RE_OGLRender.h.

void RE_OGLRender::setIconLoader ( RE_IDType  wid,
RE_IconLoader  loader 
)

void RE_OGLRender::setLightModel ( int  local_viewer,
int  two_sided_lighting 
)

void RE_OGLRender::setLightState ( unsigned  index,
int  onoff 
)

void RE_OGLRender::setLightState ( const RE_Light light,
int  onoff 
)

void RE_OGLRender::setMainContext ( RE_Window w  ) 

void RE_OGLRender::setMaterial ( RE_Material mat,
int  layer = 0,
bool  texture = true 
)

void RE_OGLRender::setNonLitColor ( const UT_Color col  ) 

void RE_OGLRender::setNormalizeGlobalAmbient ( bool  normalize  )  [inline]

Definition at line 1788 of file RE_OGLRender.h.

void RE_OGLRender::setNurbsProperties ( int  autonormal,
float  tol,
void *  nurbsobj = 0 
)

void RE_OGLRender::setOffsetAmount ( float  variable,
float  constant 
)

void RE_OGLRender::setPointSize ( float  size  ) 

void RE_OGLRender::setReadBuffer ( RE_RenderBuf  buf  ) 

void RE_OGLRender::setReadFramebuffer ( RE_OGLFramebuffer fb  ) 

void RE_OGLRender::setReverseWinding ( int  reverse_winding  ) 

void RE_OGLRender::setSClearValue ( int  clearValue  ) 

void RE_OGLRender::setSFunction ( RE_SFunction  func,
int  ref,
int  mask 
)

void RE_OGLRender::setSOperation ( RE_SOperation  sfail,
RE_SOperation  dpfail,
RE_SOperation  dppass 
)

void RE_OGLRender::setSWriteMask ( int  writeMask  ) 

void RE_OGLRender::setTextureMode ( RE_TextureMode  mode,
int  textureunit = RE_ACTIVE_UNIT 
)

void RE_OGLRender::setUniform ( RE_UniformBuiltIn  builtin_var_type,
RE_Uniform var,
bool  owned 
)

bool RE_OGLRender::setupShaderForLUT ( RE_Shader shader,
PXL_Lookup lookup,
int  lut_texture_unit = 1,
float  gamma = 1.0f,
bool  add_shader = true 
)

void RE_OGLRender::setViewportFontOffset ( int  x,
int  y 
)

void RE_OGLRender::setWindow ( RE_Window  ) 

void RE_OGLRender::setZFunction ( RE_ZFunction  func  ) 

void RE_OGLRender::smoothBlendLines ( RE_SmoothMode  mode  ) 

void RE_OGLRender::smoothBlendLinesNoFlagChange ( bool  by_smooth  ) 

void RE_OGLRender::spherefW ( float  x,
float  y,
float  z,
float  r,
int  divs = 20 
)

void RE_OGLRender::sphereW ( float  x,
float  y,
float  z,
float  r,
int  divs = 20 
)

RE_CacheObject* RE_OGLRender::startObjectDefine (  ) 

RE_SmartObject* RE_OGLRender::startSmartObjectDefine (  ) 

void RE_OGLRender::swapbuffers (  ) 

void RE_OGLRender::t2DW ( const float  v[2]  )  [inline]

Definition at line 1195 of file RE_OGLRender.h.

void RE_OGLRender::t3DW ( const float  v[3]  )  [inline]

Definition at line 1196 of file RE_OGLRender.h.

void RE_OGLRender::t4DW ( const float  v[4]  )  [inline]

Definition at line 1197 of file RE_OGLRender.h.

void RE_OGLRender::textMove3S ( short  x,
short  y,
short  z 
)

void RE_OGLRender::textMove3W ( float  x,
float  y,
float  z 
)

void RE_OGLRender::textMoveS ( short  x,
short  y 
)

void RE_OGLRender::textMoveW ( float  x,
float  y 
)

void RE_OGLRender::toggleLighting ( int  onoff  ) 

void RE_OGLRender::toggleLightShading ( int  onoff  ) 

bool RE_OGLRender::trackingObjectShaderUsage (  )  const [inline]

Definition at line 1756 of file RE_OGLRender.h.

bool RE_OGLRender::trackingObjectTextureUsage (  )  const [inline]

Definition at line 1759 of file RE_OGLRender.h.

void RE_OGLRender::translate ( float  x,
float  y,
float  z = 0.0 
)

bool RE_OGLRender::tryLockContextForRender (  ) 

void RE_OGLRender::unbindTexture ( RE_OGLTexture tex  ) 

void RE_OGLRender::undefineAllLights (  ) 

void RE_OGLRender::undefineLight ( unsigned  index  ) 

void RE_OGLRender::unlockContextAfterRender (  ) 

void RE_OGLRender::updateColorBufferWriting (  ) 

void RE_OGLRender::updateCurrentFramebuffer ( RE_OGLFramebuffer fb,
bool  for_draw 
)

void RE_OGLRender::updateDepthBufferWriting (  ) 

void RE_OGLRender::updateFramebuffer (  ) 

void RE_OGLRender::updateScreensAndWorkAreas (  )  [inline, static]

Definition at line 1648 of file RE_OGLRender.h.

static void RE_OGLRender::updateScreenSize (  )  [static]

void RE_OGLRender::updateShader ( RE_Shader s  ) 

void RE_OGLRender::updateStencilState (  ) 

void RE_OGLRender::updateTextureState (  )  const

void RE_OGLRender::updateZFunction (  )  const

int RE_OGLRender::useDisplayLists (  ) 

void RE_OGLRender::useFogCoord ( bool  onoff  ) 

void RE_OGLRender::useProjectiveTexture ( bool  ison,
RE_Light light,
RE_TextureCompress  format,
bool  limitres,
int  maxw,
int  maxh,
float  texturescale,
bool  mipmap,
int  aniso_samples 
)

void RE_OGLRender::useSeamlessMaps ( bool  enable  ) 

bool RE_OGLRender::usingSeamlessMaps (  ) 

void RE_OGLRender::v2DI ( const int  v[2]  )  [inline]

Definition at line 1127 of file RE_OGLRender.h.

void RE_OGLRender::v2DS ( const short  v[2]  )  [inline]

Definition at line 1126 of file RE_OGLRender.h.

void RE_OGLRender::v2DW ( const float  v[2]  )  [inline]

Definition at line 1128 of file RE_OGLRender.h.

void RE_OGLRender::v3DI ( const int  v[3]  )  [inline]

Definition at line 1130 of file RE_OGLRender.h.

void RE_OGLRender::v3DS ( const short  v[3]  )  [inline]

Definition at line 1129 of file RE_OGLRender.h.

void RE_OGLRender::v3DW ( const float  v[3]  )  [inline]

Definition at line 1131 of file RE_OGLRender.h.

void RE_OGLRender::verifyState (  ) 

void RE_OGLRender::vertex2DI ( int  x,
int  y 
) [inline]

Definition at line 1137 of file RE_OGLRender.h.

void RE_OGLRender::vertex2DS ( short  x,
short  y 
) [inline]

Definition at line 1138 of file RE_OGLRender.h.

void RE_OGLRender::vertex2DW ( float  x,
float  y 
) [inline]

Definition at line 1139 of file RE_OGLRender.h.

void RE_OGLRender::vertex3DI ( int  x,
int  y,
int  z 
) [inline]

Definition at line 1140 of file RE_OGLRender.h.

void RE_OGLRender::vertex3DS ( short  x,
short  y,
short  z 
) [inline]

Definition at line 1142 of file RE_OGLRender.h.

void RE_OGLRender::vertex3DW ( float  x,
float  y,
float  z 
) [inline]

Examples:
GR/GR_BaryCenter.C, GR/GR_BoundingBox.C, and GR/GR_SimpleNoise.C.

Definition at line 1144 of file RE_OGLRender.h.

void RE_OGLRender::viewport2DI ( const UT_DimRect rect  ) 

void RE_OGLRender::viewportOrtho2DI ( const UT_DimRect rect  )  [inline]

Definition at line 435 of file RE_OGLRender.h.

int RE_OGLRender::virtualResX (  )  [inline, static]

Definition at line 1643 of file RE_OGLRender.h.

int RE_OGLRender::virtualResY (  )  [inline, static]

Definition at line 1644 of file RE_OGLRender.h.

void RE_OGLRender::waitForRetrace (  )  const

int RE_OGLRender::whichGLLightIs ( const RE_Light light  ) 

void RE_OGLRender::window3DW ( float  l,
float  r,
float  b,
float  t,
float  near,
float  far 
)

void RE_OGLRender::xorPixels (  ) 

void RE_OGLRender::zoomRaster ( float  xzoom,
float  yzoom = -1 
)


Member Data Documentation

Definition at line 1554 of file RE_OGLRender.h.

ut_thread_id_t RE_OGLRender::myNativeThread [protected]

Definition at line 1553 of file RE_OGLRender.h.

Definition at line 1547 of file RE_OGLRender.h.

Definition at line 1549 of file RE_OGLRender.h.


The documentation for this class was generated from the following file:

Generated on Mon Jan 28 00:29:51 2013 for HDK by  doxygen 1.5.9