Implementation of GL as a rendering system. More...
#include <OgreGLRenderSystem.h>

Public Types | |
| typedef MapIterator < Ogre::RenderTargetMap > | RenderTargetIterator |
| Iterator over RenderTargets. | |
Public Member Functions | |
| GLRenderSystem () | |
| ~GLRenderSystem () | |
| void | _applyObliqueDepthProjection (Matrix4 &matrix, const Plane &plane, bool forGpuProgram) |
| See RenderSystem. | |
| void | _beginFrame (void) |
| See RenderSystem. | |
| virtual void | _beginGeometryCount (void) |
| The RenderSystem will keep a count of tris rendered, this resets the count. | |
| void | _cleanupDepthBuffers (bool bCleanManualBuffers=true) |
| Removes all depth buffers. | |
| void | _convertProjectionMatrix (const Matrix4 &matrix, Matrix4 &dest, bool forGpuProgram=false) |
| See RenderSystem. | |
| DepthBuffer * | _createDepthBufferFor (RenderTarget *renderTarget) |
| RenderWindow * | _createRenderWindow (const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0) |
| bool | _createRenderWindows (const RenderWindowDescriptionList &renderWindowDescriptions, RenderWindowList &createdWindows) |
| virtual void | _disableTextureUnit (size_t texUnit) |
| Turns off a texture unit. | |
| virtual void | _disableTextureUnitsFrom (size_t texUnit) |
| Disables all texture units from the given unit upwards. | |
| void | _endFrame (void) |
| See RenderSystem. | |
| virtual unsigned int | _getBatchCount (void) const |
| Reports the number of batches rendered since the last _beginGeometryCount call. | |
| virtual CullingMode | _getCullingMode (void) const |
| virtual const String & | _getDefaultViewportMaterialScheme (void) const |
| Returns the default material scheme used by the render system. | |
| void | _getDepthStencilFormatFor (GLenum internalColourFormat, GLenum *depthFormat, GLenum *stencilFormat) |
| Mimics D3D9RenderSystem::_getDepthStencilFormatFor, if no FBO RTT manager, outputs GL_NONE. | |
| virtual unsigned int | _getFaceCount (void) const |
| Reports the number of tris rendered since the last _beginGeometryCount call. | |
| GLContext * | _getMainContext () |
| Returns the main context. | |
| virtual unsigned int | _getVertexCount (void) const |
| Reports the number of vertices passed to the renderer since the last _beginGeometryCount call. | |
| virtual Viewport * | _getViewport (void) |
| Get the current active viewport for rendering. | |
| RenderWindow * | _initialise (bool autoCreateWindow, const String &windowTitle="OGRE Render Window") |
| See RenderSystem. | |
| virtual void | _initRenderTargets (void) |
| Utility method for initialising all render targets attached to this rendering system. | |
| void | _makeOrthoMatrix (const Radian &fovy, Real aspect, Real nearPlane, Real farPlane, Matrix4 &dest, bool forGpuProgram=false) |
| See RenderSystem. | |
| void | _makeProjectionMatrix (const Radian &fovy, Real aspect, Real nearPlane, Real farPlane, Matrix4 &dest, bool forGpuProgram=false) |
| See RenderSystem. | |
| void | _makeProjectionMatrix (Real left, Real right, Real bottom, Real top, Real nearPlane, Real farPlane, Matrix4 &dest, bool forGpuProgram=false) |
| See RenderSystem. | |
| virtual void | _notifyCameraRemoved (const Camera *cam) |
| Utility method to notify all render targets that a camera has been removed, in case they were referring to it as their viewer. | |
| void | _oneTimeContextInitialization () |
| One time initialization for the RenderState of a context. | |
| virtual RenderSystemContext * | _pauseFrame (void) |
| Pause rendering for a frame. | |
| void | _render (const RenderOperation &op) |
| See RenderSystem. | |
| virtual void | _resumeFrame (RenderSystemContext *context) |
| Resume rendering for a frame. | |
| void | _setAlphaRejectSettings (CompareFunction func, unsigned char value, bool alphaToCoverage) |
| See RenderSystem. | |
| void | _setColourBufferWriteEnabled (bool red, bool green, bool blue, bool alpha) |
| See RenderSystem. | |
| void | _setCullingMode (CullingMode mode) |
| See RenderSystem. | |
| void | _setDepthBias (float constantBias, float slopeScaleBias) |
| See RenderSystem. | |
| void | _setDepthBufferCheckEnabled (bool enabled=true) |
| See RenderSystem. | |
| void | _setDepthBufferFunction (CompareFunction func=CMPF_LESS_EQUAL) |
| See RenderSystem. | |
| void | _setDepthBufferParams (bool depthTest=true, bool depthWrite=true, CompareFunction depthFunction=CMPF_LESS_EQUAL) |
| See RenderSystem. | |
| void | _setDepthBufferWriteEnabled (bool enabled=true) |
| See RenderSystem. | |
| void | _setFog (FogMode mode, const ColourValue &colour, Real density, Real start, Real end) |
| See RenderSystem. | |
| void | _setPointParameters (Real size, bool attenuationEnabled, Real constant, Real linear, Real quadratic, Real minSize, Real maxSize) |
| See RenderSystem. | |
| void | _setPointSpritesEnabled (bool enabled) |
| See RenderSystem. | |
| void | _setPolygonMode (PolygonMode level) |
| See RenderSystem. | |
| void | _setProjectionMatrix (const Matrix4 &m) |
| See RenderSystem. | |
| void | _setRenderTarget (RenderTarget *target) |
| Set current render target to target, enabling its GL context if needed. | |
| void | _setSceneBlending (SceneBlendFactor sourceFactor, SceneBlendFactor destFactor, SceneBlendOperation op) |
| See RenderSystem. | |
| void | _setSceneBlendingOperation (SceneBlendOperation op) |
| See RenderSystem. | |
| void | _setSeparateSceneBlending (SceneBlendFactor sourceFactor, SceneBlendFactor destFactor, SceneBlendFactor sourceFactorAlpha, SceneBlendFactor destFactorAlpha, SceneBlendOperation op, SceneBlendOperation alphaOp) |
| See RenderSystem. | |
| void | _setSeparateSceneBlendingOperation (SceneBlendOperation op, SceneBlendOperation alphaOp) |
| See RenderSystem. | |
| void | _setSurfaceParams (const ColourValue &ambient, const ColourValue &diffuse, const ColourValue &specular, const ColourValue &emissive, Real shininess, TrackVertexColourType tracking) |
| See RenderSystem. | |
| void | _setTexture (size_t unit, bool enabled, const TexturePtr &tex) |
| See RenderSystem. | |
| virtual void | _setTexture (size_t unit, bool enabled, const String &texname) |
| Sets the texture to bind to a given texture unit. | |
| void | _setTextureAddressingMode (size_t stage, const TextureUnitState::UVWAddressingMode &uvw) |
| See RenderSystem. | |
| void | _setTextureBlendMode (size_t stage, const LayerBlendModeEx &bm) |
| See RenderSystem. | |
| void | _setTextureBorderColour (size_t stage, const ColourValue &colour) |
| See RenderSystem. | |
| void | _setTextureCoordCalculation (size_t stage, TexCoordCalcMethod m, const Frustum *frustum=0) |
| See RenderSystem. | |
| void | _setTextureCoordSet (size_t stage, size_t index) |
| See RenderSystem. | |
| void | _setTextureLayerAnisotropy (size_t unit, unsigned int maxAnisotropy) |
| See RenderSystem. | |
| void | _setTextureMatrix (size_t stage, const Matrix4 &xform) |
| See RenderSystem. | |
| void | _setTextureMipmapBias (size_t unit, float bias) |
| See RenderSystem. | |
| virtual void | _setTextureProjectionRelativeTo (bool enabled, const Vector3 &pos) |
| Notify the rendersystem that it should adjust texture projection to be relative to a different origin. | |
| void | _setTextureUnitCompareEnabled (size_t unit, bool compare) |
| See RenderSystem. | |
| void | _setTextureUnitCompareFunction (size_t unit, CompareFunction function) |
| See RenderSystem. | |
| void | _setTextureUnitFiltering (size_t unit, FilterType ftype, FilterOptions filter) |
| See RenderSystem. | |
| virtual void | _setTextureUnitFiltering (size_t unit, FilterOptions minFilter, FilterOptions magFilter, FilterOptions mipFilter) |
| Sets the filtering options for a given texture unit. | |
| virtual void | _setTextureUnitSettings (size_t texUnit, TextureUnitState &tl) |
| Utility function for setting all the properties of a texture unit at once. | |
| virtual void | _setVertexTexture (size_t unit, const TexturePtr &tex) |
| Binds a texture to a vertex sampler. | |
| void | _setViewMatrix (const Matrix4 &m) |
| See RenderSystem. | |
| void | _setViewport (Viewport *vp) |
| See RenderSystem. | |
| virtual void | _setWorldMatrices (const Matrix4 *m, unsigned short count) |
| Sets multiple world matrices (vertex blending). | |
| void | _setWorldMatrix (const Matrix4 &m) |
| See RenderSystem. | |
| virtual void | _swapAllRenderTargetBuffers () |
| Internal method for swapping all the buffers on all render targets, if _updateAllRenderTargets was called with a 'false' parameter. | |
| void | _switchContext (GLContext *context) |
| Switch GL context, dealing with involved internal cached states too. | |
| void | _unregisterContext (GLContext *context) |
| Unregister a render target->context mapping. | |
| virtual void | _updateAllRenderTargets (bool swapBuffers=true) |
| Internal method for updating all render targets attached to this rendering system. | |
| void | _useLights (const LightList &lights, unsigned short limit) |
| See RenderSystem. | |
| virtual void | addClipPlane (const Plane &p) |
| Add a user clipping plane. | |
| virtual void | addClipPlane (Real A, Real B, Real C, Real D) |
| Add a user clipping plane. | |
| virtual void | addListener (Listener *l) |
| Adds a listener to the custom events that this render system can raise. | |
| bool | areFixedFunctionLightsInViewSpace () const |
| See RenderSystem. | |
| virtual void | attachRenderTarget (RenderTarget &target) |
| Attaches the passed render target to the render system. | |
| virtual void | beginProfileEvent (const String &eventName) |
| void | bindGpuProgram (GpuProgram *prg) |
| See RenderSystem. | |
| void | bindGpuProgramParameters (GpuProgramType gptype, GpuProgramParametersSharedPtr params, uint16 variabilityMask) |
| See RenderSystem. | |
| void | bindGpuProgramPassIterationParameters (GpuProgramType gptype) |
| See RenderSystem. | |
| void | clearFrameBuffer (unsigned int buffers, const ColourValue &colour=ColourValue::Black, Real depth=1.0f, unsigned short stencil=0) |
| Clears one or more frame buffers on the active render target. | |
| virtual void | convertColourValue (const ColourValue &colour, uint32 *pDest) |
| Generates a packed data version of the passed in ColourValue suitable for use as with this RenderSystem. | |
| HardwareOcclusionQuery * | createHardwareOcclusionQuery (void) |
| Create an object for performing hardware occlusion queries. | |
| virtual MultiRenderTarget * | createMultiRenderTarget (const String &name) |
| virtual RenderSystemCapabilities * | createRenderSystemCapabilities () const |
| See RenderSystem. | |
| virtual void | destroyHardwareOcclusionQuery (HardwareOcclusionQuery *hq) |
| Destroy a hardware occlusion query object. | |
| virtual void | destroyRenderTarget (const String &name) |
| Destroys a render target of any sort. | |
| virtual void | destroyRenderTexture (const String &name) |
| Destroys a render texture. | |
| void | destroyRenderWindow (RenderWindow *pWin) |
| See RenderSystem. | |
| virtual void | destroyRenderWindow (const String &name) |
| Destroys a render window. | |
| virtual RenderTarget * | detachRenderTarget (const String &name) |
| Detaches the render target with the passed name from the render system and returns a pointer to it. | |
| void | enableClipPlane (ushort index, bool enable) |
| See RenderSystem. | |
| virtual void | endProfileEvent (void) |
| const RenderSystemCapabilities * | getCapabilities (void) const |
| Gets the capabilities of the render system. | |
| VertexElementType | getColourVertexElementType (void) const |
| See RenderSystem. | |
| ConfigOptionMap & | getConfigOptions (void) |
| See RenderSystem. | |
| virtual void | getCustomAttribute (const String &name, void *pData) |
| Gets a custom (maybe platform-specific) attribute. | |
| unsigned int | getDisplayMonitorCount () const |
| virtual const DriverVersion & | getDriverVersion (void) const |
| Returns the driver version. | |
| String | getErrorDescription (long errorNumber) const |
| See RenderSystem. | |
| bool | getFixedPipelineEnabled (void) const |
| Returns true if fixed pipeline rendering is enabled on the system. | |
| HardwareVertexBufferSharedPtr | getGlobalInstanceVertexBuffer () const |
| Returns the global instance vertex buffer. | |
| VertexDeclaration * | getGlobalInstanceVertexBufferVertexDeclaration () const |
| Gets vertex declaration for the global vertex buffer for the global instancing. | |
| size_t | getGlobalNumberOfInstances () const |
| Gets the global number of instances. | |
| GLSupport * | getGLSupportRef () |
| Real | getHorizontalTexelOffset (void) |
| Returns the horizontal texel offset value required for mapping texel origins to pixel origins in this rendersystem. | |
| virtual bool | getInvertVertexWinding (void) const |
| Indicates whether or not the vertex windings set will be inverted for the current render (e.g. | |
| Real | getMaximumDepthInputValue (void) |
| Gets the maximum (farthest) depth value to be used when rendering using identity transforms. | |
| Real | getMinimumDepthInputValue (void) |
| Gets the minimum (closest) depth value to be used when rendering using identity transforms. | |
| RenderSystemCapabilities * | getMutableCapabilities () |
| Get a pointer to the current capabilities being used by the RenderSystem. | |
| const String & | getName (void) const |
| See RenderSystem. | |
| uint16 | getNativeShadingLanguageVersion () const |
| Gets the native shading language version for this render system. | |
| virtual const StringVector & | getRenderSystemEvents (void) const |
| Gets a list of the rendersystem specific events that this rendersystem can raise. | |
| virtual RenderTarget * | getRenderTarget (const String &name) |
| Returns a pointer to the render target with the passed name, or NULL if that render target cannot be found. | |
| virtual RenderTargetIterator | getRenderTargetIterator (void) |
| Returns a specialised MapIterator over all render targets attached to the RenderSystem. | |
| Real | getVerticalTexelOffset (void) |
| Returns the vertical texel offset value required for mapping texel origins to pixel origins in this rendersystem. | |
| bool | getWBufferEnabled (void) const |
| Returns true if the renderer will try to use W-buffers when available. | |
| virtual bool | hasAnisotropicMipMapFilter () const |
| void | initialiseFromRenderSystemCapabilities (RenderSystemCapabilities *caps, RenderTarget *primary) |
| See RenderSystem. | |
| virtual bool | isGpuProgramBound (GpuProgramType gptype) |
| Returns whether or not a Gpu program of the given type is currently bound. | |
| virtual bool | isStaticBufferLockable () const |
| virtual void | markProfileEvent (const String &eventName) |
| OGRE_MUTEX (mThreadInitMutex) | |
| void | operator delete (void *ptr) |
| void | operator delete (void *ptr, void *) |
| void | operator delete (void *ptr, const char *, int, const char *) |
| void | operator delete[] (void *ptr) |
| void | operator delete[] (void *ptr, const char *, int, const char *) |
| void * | operator new (size_t sz, const char *file, int line, const char *func) |
| operator new, with debug line info | |
| void * | operator new (size_t sz) |
| void * | operator new (size_t sz, void *ptr) |
| placement operator new | |
| void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
| array operator new, with debug line info | |
| void * | operator new[] (size_t sz) |
| void | postExtraThreadsStarted () |
| void | preExtraThreadsStarted () |
| Tell the rendersystem to perform any prep tasks it needs to directly before other threads which might access the rendering API are registered. | |
| void | registerThread () |
| Register the an additional thread which may make calls to rendersystem-related objects. | |
| void | reinitialise (void) |
| See RenderSystem. | |
| virtual void | removeListener (Listener *l) |
| Remove a listener to the custom events that this render system can raise. | |
| virtual void | resetClipPlanes () |
| Clears the user clipping region. | |
| void | setAmbientLight (float r, float g, float b) |
| See RenderSystem. | |
| void | setClipPlane (ushort index, Real A, Real B, Real C, Real D) |
| See RenderSystem. | |
| virtual void | setClipPlanes (const PlaneList &clipPlanes) |
| Sets the user clipping region. | |
| void | setConfigOption (const String &name, const String &value) |
| See RenderSystem. | |
| virtual void | setCurrentPassIterationCount (const size_t count) |
| set the current multi pass count value. | |
| virtual void | setDepthBufferFor (RenderTarget *renderTarget) |
| Retrieves an existing DepthBuffer or creates a new one suited for the given RenderTarget and sets it. | |
| virtual void | setDeriveDepthBias (bool derive, float baseValue=0.0f, float multiplier=0.0f, float slopeScale=0.0f) |
| Tell the render system whether to derive a depth bias on its own based on the values passed to it in setCurrentPassIterationCount. | |
| void | setFixedPipelineEnabled (bool enabled) |
| Sets if fixed pipeline rendering is enabled on the system. | |
| void | setGlobalInstanceVertexBuffer (const HardwareVertexBufferSharedPtr &val) |
| Sets the global instance vertex buffer. | |
| void | setGlobalInstanceVertexBufferVertexDeclaration (VertexDeclaration *val) |
| Sets vertex declaration for the global vertex buffer for the global instancing. | |
| void | setGlobalNumberOfInstances (const size_t val) |
| Sets the global number of instances. | |
| virtual void | setInvertVertexWinding (bool invert) |
| Sets whether or not vertex windings set should be inverted; this can be important for rendering reflections. | |
| void | setLightingEnabled (bool enabled) |
| See RenderSystem. | |
| void | setNormaliseNormals (bool normalise) |
| See RenderSystem. | |
| void | setScissorTest (bool enabled, size_t left=0, size_t top=0, size_t right=800, size_t bottom=600) |
| See RenderSystem. | |
| void | setShadingType (ShadeOptions so) |
| See RenderSystem. | |
| void | setStencilBufferParams (CompareFunction func=CMPF_ALWAYS_PASS, uint32 refValue=0, uint32 compareMask=0xFFFFFFFF, uint32 writeMask=0xFFFFFFFF, StencilOperation stencilFailOp=SOP_KEEP, StencilOperation depthFailOp=SOP_KEEP, StencilOperation passOp=SOP_KEEP, bool twoSidedOperation=false) |
| See RenderSystem. | |
| void | setStencilCheckEnabled (bool enabled) |
| See RenderSystem. | |
| void | setVertexBufferBinding (VertexBufferBinding *binding) |
| See RenderSystem. | |
| void | setVertexDeclaration (VertexDeclaration *decl) |
| See RenderSystem. | |
| void | setWBufferEnabled (bool enabled) |
| Sets whether or not W-buffers are enabled if they are available for this renderer. | |
| void | shutdown (void) |
| See RenderSystem. | |
| void | unbindGpuProgram (GpuProgramType gptype) |
| See RenderSystem. | |
| void | unregisterThread () |
| Unregister an additional thread which may make calls to rendersystem-related objects. | |
| virtual void | useCustomRenderSystemCapabilities (RenderSystemCapabilities *capabilities) |
| Force the render system to use the special capabilities. | |
| String | validateConfigOptions (void) |
| See RenderSystem. | |
Protected Types | |
| typedef list < HardwareOcclusionQuery * > ::type | HardwareOcclusionQueryList |
| typedef list< Listener * >::type | ListenerList |
Protected Member Functions | |
| void | bindVertexElementToGpu (const VertexElement &elem, HardwareVertexBufferSharedPtr vertexBuffer, const size_t vertexStart, vector< GLuint >::type &attribsBound, vector< GLuint >::type &instanceAttribsBound) |
| virtual void | fireEvent (const String &name, const NameValuePairList *params=0) |
| Internal method for firing a rendersystem event. | |
| void | setClipPlanesImpl (const PlaneList &clipPlanes) |
| Internal method used to set the underlying clip planes when needed. | |
| bool | updatePassIterationRenderState (void) |
| updates pass iteration rendering state including bound gpu program parameter pass iteration auto constant entry | |
Protected Attributes | |
| GpuProgramParametersSharedPtr | mActiveComputeGpuProgramParameters |
| GpuProgramParametersSharedPtr | mActiveFragmentGpuProgramParameters |
| GpuProgramParametersSharedPtr | mActiveGeometryGpuProgramParameters |
| RenderTarget * | mActiveRenderTarget |
| The Active render target. | |
| GpuProgramParametersSharedPtr | mActiveTesselationDomainGpuProgramParameters |
| GpuProgramParametersSharedPtr | mActiveTesselationHullGpuProgramParameters |
| GpuProgramParametersSharedPtr | mActiveVertexGpuProgramParameters |
| The Active GPU programs and gpu program parameters. | |
| Viewport * | mActiveViewport |
| size_t | mBatchCount |
| PlaneList | mClipPlanes |
| bool | mClipPlanesDirty |
| bool | mComputeProgramBound |
| CullingMode | mCullingMode |
| RenderSystemCapabilities * | mCurrentCapabilities |
| size_t | mCurrentPassIterationCount |
| number of times to render the current state | |
| size_t | mCurrentPassIterationNum |
| DepthBufferMap | mDepthBufferPool |
| DepthBuffers to be attached to render targets. | |
| bool | mDerivedDepthBias |
| Whether to update the depth bias per render call. | |
| float | mDerivedDepthBiasBase |
| float | mDerivedDepthBiasMultiplier |
| float | mDerivedDepthBiasSlopeScale |
| size_t | mDisabledTexUnitsFrom |
| Texture units from this upwards are disabled. | |
| DriverVersion | mDriverVersion |
| bool | mEnableFixedPipeline |
| is fixed pipeline enabled | |
| ListenerList | mEventListeners |
| StringVector | mEventNames |
| List of names of events this rendersystem may raise. | |
| size_t | mFaceCount |
| bool | mFragmentProgramBound |
| bool | mGeometryProgramBound |
| HardwareVertexBufferSharedPtr | mGlobalInstanceVertexBuffer |
| a global vertex buffer for global instancing | |
| VertexDeclaration * | mGlobalInstanceVertexBufferVertexDeclaration |
| a vertex declaration for the global vertex buffer for the global instancing | |
| size_t | mGlobalNumberOfInstances |
| the number of global instances (this number will be multiply by the render op instance number) | |
| HardwareOcclusionQueryList | mHwOcclusionQueries |
| bool | mInvertVertexWinding |
| ColourValue | mManualBlendColours [OGRE_MAX_TEXTURE_LAYERS][2] |
| Saved manual colour blends. | |
| uint16 | mNativeShadingLanguageVersion |
| RenderTargetPriorityMap | mPrioritisedRenderTargets |
| The render targets, ordered by priority. | |
| RenderSystemCapabilities * | mRealCapabilities |
| Used to store the capabilities of the graphics card. | |
| RenderTargetMap | mRenderTargets |
| The render targets. | |
| bool | mTesselationDomainProgramBound |
| bool | mTesselationHullProgramBound |
| bool | mTexProjRelative |
| Vector3 | mTexProjRelativeOrigin |
| TextureManager * | mTextureManager |
| bool | mUseCustomCapabilities |
| size_t | mVertexCount |
| bool | mVertexProgramBound |
| bool | mWBuffer |
Private Types | |
| typedef list< GLContext * >::type | GLContextList |
Private Member Functions | |
| GLfloat | _getCurrentAnisotropy (size_t unit) |
| Internal method for anisotropy validation. | |
| GLint | convertCompareFunction (CompareFunction func) const |
| GLint | convertStencilOp (StencilOperation op, bool invert=false) const |
| GLint | getBlendMode (SceneBlendFactor ogreBlend) const |
| GLuint | getCombinedMinMipFilter (void) const |
| GLint | getTextureAddressingMode (TextureUnitState::TextureAddressingMode tam) const |
| void | initConfigOptions (void) |
| void | initialiseContext (RenderWindow *primary) |
| void | initInputDevices (void) |
| void | makeGLMatrix (GLfloat gl_matrix[16], const Matrix4 &m) |
| void | processInputDevices (void) |
| void | setGLLight (size_t index, Light *lt) |
| void | setGLLightPositionDirection (Light *lt, GLenum lightindex) |
| Internal method to set pos / direction of a light. | |
| void | setLights () |
Private Attributes | |
| ushort | mActiveTextureUnit |
| GLfloat | mAutoTextureMatrix [16] |
| GLContextList | mBackgroundContextList |
| List of background thread contexts. | |
| bool | mColourWrite [4] |
| Store last colour write state. | |
| GLContext * | mCurrentContext |
| GLGpuProgram * | mCurrentFragmentProgram |
| GLGpuProgram * | mCurrentGeometryProgram |
| unsigned short | mCurrentLights |
| GLGpuProgram * | mCurrentVertexProgram |
| bool | mDepthWrite |
| Store last depth write state. | |
| unsigned short | mFixedFunctionTextureUnits |
| Number of fixed-function texture units. | |
| bool | mGLInitialised |
| Check if the GL system has already been initialised. | |
| GLSL::GLSLProgramFactory * | mGLSLProgramFactory |
| GLSupport * | mGLSupport |
| GL support class, used for creating windows etc. | |
| GLGpuProgramManager * | mGpuProgramManager |
| HardwareBufferManager * | mHardwareBufferManager |
| Light * | mLights [MAX_LIGHTS] |
| GLContext * | mMainContext |
| FilterOptions | mMinFilter |
| Last min & mip filtering options, so we can combine them. | |
| FilterOptions | mMipFilter |
| vector< GLuint >::type | mRenderAttribsBound |
| vector< GLuint >::type | mRenderInstanceAttribsBound |
| GLRTTManager * | mRTTManager |
| Manager object for creating render textures. | |
| int | mScissorBox [4] |
| Store scissor box. | |
| GLStateCacheManager * | mStateCacheManager |
| uint32 | mStencilWriteMask |
| Store last stencil mask state. | |
| bool | mStopRendering |
| Rendering loop control. | |
| size_t | mTextureCoordIndex [OGRE_MAX_TEXTURE_LAYERS] |
| What texture coord set each texture unit is using. | |
| Matrix4 | mTextureMatrix |
| GLenum | mTextureTypes [OGRE_MAX_TEXTURE_LAYERS] |
| Holds texture type settings for every stage. | |
| bool | mUseAutoTextureMatrix |
| Matrix4 | mViewMatrix |
| View matrix to set world against. | |
| Matrix4 | mWorldMatrix |
Implementation of GL as a rendering system.
Definition at line 51 of file OgreGLRenderSystem.h.
typedef list<GLContext*>::type Ogre::GLRenderSystem::GLContextList [private] |
Definition at line 138 of file OgreGLRenderSystem.h.
typedef list<HardwareOcclusionQuery*>::type Ogre::RenderSystem::HardwareOcclusionQueryList [protected, inherited] |
Definition at line 1587 of file OgreRenderSystem.h.
typedef list<Listener*>::type Ogre::RenderSystem::ListenerList [protected, inherited] |
Definition at line 1584 of file OgreRenderSystem.h.
typedef MapIterator<Ogre::RenderTargetMap> Ogre::RenderSystem::RenderTargetIterator [inherited] |
Iterator over RenderTargets.
Definition at line 579 of file OgreRenderSystem.h.
| void Ogre::GLRenderSystem::_applyObliqueDepthProjection | ( | Matrix4 & | matrix, |
| const Plane & | plane, | ||
| bool | forGpuProgram | ||
| ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::_beginFrame | ( | void | ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| virtual void Ogre::RenderSystem::_beginGeometryCount | ( | void | ) | [virtual, inherited] |
The RenderSystem will keep a count of tris rendered, this resets the count.
| void Ogre::RenderSystem::_cleanupDepthBuffers | ( | bool | bCleanManualBuffers = true | ) | [inherited] |
Removes all depth buffers.
Should be called on device lost and shutdown
| void Ogre::GLRenderSystem::_convertProjectionMatrix | ( | const Matrix4 & | matrix, |
| Matrix4 & | dest, | ||
| bool | forGpuProgram = false |
||
| ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| DepthBuffer* Ogre::GLRenderSystem::_createDepthBufferFor | ( | RenderTarget * | renderTarget | ) | [virtual] |
Creates a DepthBuffer that can be attached to the specified RenderTarget.
Implements Ogre::RenderSystem.
| RenderWindow* Ogre::GLRenderSystem::_createRenderWindow | ( | const String & | name, |
| unsigned int | width, | ||
| unsigned int | height, | ||
| bool | fullScreen, | ||
| const NameValuePairList * | miscParams = 0 |
||
| ) | [virtual] |
Creates a new rendering window.
| name | The name of the window. Used in other methods later like setRenderTarget and getRenderTarget. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| width | The width of the new window. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| height | The height of the new window. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| fullScreen | Specify true to make the window full screen without borders, title bar or menu bar. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| miscParams | A NameValuePairList describing the other parameters for the new rendering window. Options are case sensitive. Unrecognised parameters will be ignored silently. These values might be platform dependent, but these are present for all platforms unless indicated otherwise:
|
Implements Ogre::RenderSystem.
| bool Ogre::GLRenderSystem::_createRenderWindows | ( | const RenderWindowDescriptionList & | renderWindowDescriptions, |
| RenderWindowList & | createdWindows | ||
| ) | [virtual] |
Creates multiple rendering windows.
| renderWindowDescriptions | Array of structures containing the descriptions of each render window. The structure's members are the same as the parameters of _createRenderWindow: name width height fullScreen miscParams See _createRenderWindow for details about each member. |
| createdWindows | This array will hold the created render windows. |
Reimplemented from Ogre::RenderSystem.
| virtual void Ogre::RenderSystem::_disableTextureUnit | ( | size_t | texUnit | ) | [virtual, inherited] |
Turns off a texture unit.
Reimplemented in Ogre::D3D11RenderSystem, and Ogre::D3D9RenderSystem.
| virtual void Ogre::RenderSystem::_disableTextureUnitsFrom | ( | size_t | texUnit | ) | [virtual, inherited] |
Disables all texture units from the given unit upwards.
| void Ogre::GLRenderSystem::_endFrame | ( | void | ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| virtual unsigned int Ogre::RenderSystem::_getBatchCount | ( | void | ) | const [virtual, inherited] |
Reports the number of batches rendered since the last _beginGeometryCount call.
| virtual CullingMode Ogre::RenderSystem::_getCullingMode | ( | void | ) | const [virtual, inherited] |
| GLfloat Ogre::GLRenderSystem::_getCurrentAnisotropy | ( | size_t | unit | ) | [private] |
Internal method for anisotropy validation.
| virtual const String& Ogre::RenderSystem::_getDefaultViewportMaterialScheme | ( | void | ) | const [virtual, inherited] |
Returns the default material scheme used by the render system.
Systems that use the RTSS to emulate a fixed function pipeline (e.g. OpenGL ES 2, GL3+, DX11) need to override this function to return the default material scheme of the RTSS ShaderGenerator.
This is currently only used to set the default material scheme for viewports. It is a necessary step on these render systems for render textures to be rendered into properly.
| void Ogre::GLRenderSystem::_getDepthStencilFormatFor | ( | GLenum | internalColourFormat, |
| GLenum * | depthFormat, | ||
| GLenum * | stencilFormat | ||
| ) |
Mimics D3D9RenderSystem::_getDepthStencilFormatFor, if no FBO RTT manager, outputs GL_NONE.
| virtual unsigned int Ogre::RenderSystem::_getFaceCount | ( | void | ) | const [virtual, inherited] |
Reports the number of tris rendered since the last _beginGeometryCount call.
Returns the main context.
Definition at line 532 of file OgreGLRenderSystem.h.
| virtual unsigned int Ogre::RenderSystem::_getVertexCount | ( | void | ) | const [virtual, inherited] |
Reports the number of vertices passed to the renderer since the last _beginGeometryCount call.
| virtual Viewport* Ogre::RenderSystem::_getViewport | ( | void | ) | [virtual, inherited] |
Get the current active viewport for rendering.
| RenderWindow* Ogre::GLRenderSystem::_initialise | ( | bool | autoCreateWindow, |
| const String & | windowTitle = "OGRE Render Window" |
||
| ) | [virtual] |
See RenderSystem.
Reimplemented from Ogre::RenderSystem.
| virtual void Ogre::RenderSystem::_initRenderTargets | ( | void | ) | [virtual, inherited] |
Utility method for initialising all render targets attached to this rendering system.
| void Ogre::GLRenderSystem::_makeOrthoMatrix | ( | const Radian & | fovy, |
| Real | aspect, | ||
| Real | nearPlane, | ||
| Real | farPlane, | ||
| Matrix4 & | dest, | ||
| bool | forGpuProgram = false |
||
| ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::_makeProjectionMatrix | ( | const Radian & | fovy, |
| Real | aspect, | ||
| Real | nearPlane, | ||
| Real | farPlane, | ||
| Matrix4 & | dest, | ||
| bool | forGpuProgram = false |
||
| ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::_makeProjectionMatrix | ( | Real | left, |
| Real | right, | ||
| Real | bottom, | ||
| Real | top, | ||
| Real | nearPlane, | ||
| Real | farPlane, | ||
| Matrix4 & | dest, | ||
| bool | forGpuProgram = false |
||
| ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| virtual void Ogre::RenderSystem::_notifyCameraRemoved | ( | const Camera * | cam | ) | [virtual, inherited] |
Utility method to notify all render targets that a camera has been removed, in case they were referring to it as their viewer.
One time initialization for the RenderState of a context.
Things that only need to be set once, like the LightingModel can be defined here.
| virtual RenderSystemContext* Ogre::RenderSystem::_pauseFrame | ( | void | ) | [virtual, inherited] |
Pause rendering for a frame.
This has to be called after _beginFrame and before _endFrame. Will usually be called by the SceneManager, don't use this manually unless you know what you are doing.
Reimplemented in Ogre::D3D9RenderSystem.
| void Ogre::GLRenderSystem::_render | ( | const RenderOperation & | op | ) | [virtual] |
See RenderSystem.
Reimplemented from Ogre::RenderSystem.
| virtual void Ogre::RenderSystem::_resumeFrame | ( | RenderSystemContext * | context | ) | [virtual, inherited] |
Resume rendering for a frame.
This has to be called after a _pauseFrame call Will usually be called by the SceneManager, don't use this manually unless you know what you are doing.
| context | the render system context, as returned by _pauseFrame |
Reimplemented in Ogre::D3D9RenderSystem.
| void Ogre::GLRenderSystem::_setAlphaRejectSettings | ( | CompareFunction | func, |
| unsigned char | value, | ||
| bool | alphaToCoverage | ||
| ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::_setColourBufferWriteEnabled | ( | bool | red, |
| bool | green, | ||
| bool | blue, | ||
| bool | alpha | ||
| ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::_setCullingMode | ( | CullingMode | mode | ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::_setDepthBias | ( | float | constantBias, |
| float | slopeScaleBias | ||
| ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::_setDepthBufferCheckEnabled | ( | bool | enabled = true | ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::_setDepthBufferFunction | ( | CompareFunction | func = CMPF_LESS_EQUAL | ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::_setDepthBufferParams | ( | bool | depthTest = true, |
| bool | depthWrite = true, |
||
| CompareFunction | depthFunction = CMPF_LESS_EQUAL |
||
| ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::_setDepthBufferWriteEnabled | ( | bool | enabled = true | ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::_setFog | ( | FogMode | mode, |
| const ColourValue & | colour, | ||
| Real | density, | ||
| Real | start, | ||
| Real | end | ||
| ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::_setPointParameters | ( | Real | size, |
| bool | attenuationEnabled, | ||
| Real | constant, | ||
| Real | linear, | ||
| Real | quadratic, | ||
| Real | minSize, | ||
| Real | maxSize | ||
| ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::_setPointSpritesEnabled | ( | bool | enabled | ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::_setPolygonMode | ( | PolygonMode | level | ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::_setProjectionMatrix | ( | const Matrix4 & | m | ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::_setRenderTarget | ( | RenderTarget * | target | ) | [virtual] |
Set current render target to target, enabling its GL context if needed.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::_setSceneBlending | ( | SceneBlendFactor | sourceFactor, |
| SceneBlendFactor | destFactor, | ||
| SceneBlendOperation | op | ||
| ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::_setSeparateSceneBlending | ( | SceneBlendFactor | sourceFactor, |
| SceneBlendFactor | destFactor, | ||
| SceneBlendFactor | sourceFactorAlpha, | ||
| SceneBlendFactor | destFactorAlpha, | ||
| SceneBlendOperation | op, | ||
| SceneBlendOperation | alphaOp | ||
| ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::_setSeparateSceneBlendingOperation | ( | SceneBlendOperation | op, |
| SceneBlendOperation | alphaOp | ||
| ) |
See RenderSystem.
| void Ogre::GLRenderSystem::_setSurfaceParams | ( | const ColourValue & | ambient, |
| const ColourValue & | diffuse, | ||
| const ColourValue & | specular, | ||
| const ColourValue & | emissive, | ||
| Real | shininess, | ||
| TrackVertexColourType | tracking | ||
| ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::_setTexture | ( | size_t | unit, |
| bool | enabled, | ||
| const TexturePtr & | tex | ||
| ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| virtual void Ogre::RenderSystem::_setTexture | ( | size_t | unit, |
| bool | enabled, | ||
| const String & | texname | ||
| ) | [virtual, inherited] |
Sets the texture to bind to a given texture unit.
User processes would not normally call this direct unless rendering primitives themselves.
| unit | The index of the texture unit to modify. Multitexturing hardware can support multiple units (see RenderSystemCapabilites::getNumTextureUnits) |
| enabled | Boolean to turn the unit on/off |
| texname | The name of the texture to use - this should have already been loaded with TextureManager::load. |
| void Ogre::GLRenderSystem::_setTextureAddressingMode | ( | size_t | stage, |
| const TextureUnitState::UVWAddressingMode & | uvw | ||
| ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::_setTextureBlendMode | ( | size_t | stage, |
| const LayerBlendModeEx & | bm | ||
| ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::_setTextureBorderColour | ( | size_t | stage, |
| const ColourValue & | colour | ||
| ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::_setTextureCoordCalculation | ( | size_t | stage, |
| TexCoordCalcMethod | m, | ||
| const Frustum * | frustum = 0 |
||
| ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::_setTextureCoordSet | ( | size_t | stage, |
| size_t | index | ||
| ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::_setTextureLayerAnisotropy | ( | size_t | unit, |
| unsigned int | maxAnisotropy | ||
| ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::_setTextureMatrix | ( | size_t | stage, |
| const Matrix4 & | xform | ||
| ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::_setTextureMipmapBias | ( | size_t | unit, |
| float | bias | ||
| ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| virtual void Ogre::RenderSystem::_setTextureProjectionRelativeTo | ( | bool | enabled, |
| const Vector3 & | pos | ||
| ) | [virtual, inherited] |
Notify the rendersystem that it should adjust texture projection to be relative to a different origin.
| void Ogre::GLRenderSystem::_setTextureUnitCompareEnabled | ( | size_t | unit, |
| bool | compare | ||
| ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::_setTextureUnitCompareFunction | ( | size_t | unit, |
| CompareFunction | function | ||
| ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::_setTextureUnitFiltering | ( | size_t | unit, |
| FilterType | ftype, | ||
| FilterOptions | filter | ||
| ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| virtual void Ogre::RenderSystem::_setTextureUnitFiltering | ( | size_t | unit, |
| FilterOptions | minFilter, | ||
| FilterOptions | magFilter, | ||
| FilterOptions | mipFilter | ||
| ) | [virtual, inherited] |
Sets the filtering options for a given texture unit.
| unit | The texture unit to set the filtering options for |
| minFilter | The filter used when a texture is reduced in size |
| magFilter | The filter used when a texture is magnified |
| mipFilter | The filter used between mipmap levels, FO_NONE disables mipmapping |
Reimplemented in Ogre::GLES2RenderSystem, and Ogre::GLESRenderSystem.
| virtual void Ogre::RenderSystem::_setTextureUnitSettings | ( | size_t | texUnit, |
| TextureUnitState & | tl | ||
| ) | [virtual, inherited] |
Utility function for setting all the properties of a texture unit at once.
This method is also worth using over the individual texture unit settings because it only sets those settings which are different from the current settings for this unit, thus minimising render state changes.
| virtual void Ogre::RenderSystem::_setVertexTexture | ( | size_t | unit, |
| const TexturePtr & | tex | ||
| ) | [virtual, inherited] |
Binds a texture to a vertex sampler.
Reimplemented in Ogre::D3D11RenderSystem, and Ogre::D3D9RenderSystem.
| void Ogre::GLRenderSystem::_setViewMatrix | ( | const Matrix4 & | m | ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::_setViewport | ( | Viewport * | vp | ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| virtual void Ogre::RenderSystem::_setWorldMatrices | ( | const Matrix4 * | m, |
| unsigned short | count | ||
| ) | [virtual, inherited] |
Sets multiple world matrices (vertex blending).
| void Ogre::GLRenderSystem::_setWorldMatrix | ( | const Matrix4 & | m | ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| virtual void Ogre::RenderSystem::_swapAllRenderTargetBuffers | ( | ) | [virtual, inherited] |
Internal method for swapping all the buffers on all render targets, if _updateAllRenderTargets was called with a 'false' parameter.
| void Ogre::GLRenderSystem::_switchContext | ( | GLContext * | context | ) |
Switch GL context, dealing with involved internal cached states too.
| void Ogre::GLRenderSystem::_unregisterContext | ( | GLContext * | context | ) |
Unregister a render target->context mapping.
If the context of target is the current context, change the context to the main context so it can be destroyed safely.
| virtual void Ogre::RenderSystem::_updateAllRenderTargets | ( | bool | swapBuffers = true | ) | [virtual, inherited] |
Internal method for updating all render targets attached to this rendering system.
| void Ogre::GLRenderSystem::_useLights | ( | const LightList & | lights, |
| unsigned short | limit | ||
| ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| virtual void Ogre::RenderSystem::addClipPlane | ( | const Plane & | p | ) | [virtual, inherited] |
Add a user clipping plane.
| virtual void Ogre::RenderSystem::addClipPlane | ( | Real | A, |
| Real | B, | ||
| Real | C, | ||
| Real | D | ||
| ) | [virtual, inherited] |
Add a user clipping plane.
| virtual void Ogre::RenderSystem::addListener | ( | Listener * | l | ) | [virtual, inherited] |
Adds a listener to the custom events that this render system can raise.
| bool Ogre::GLRenderSystem::areFixedFunctionLightsInViewSpace | ( | ) | const [virtual] |
See RenderSystem.
Reimplemented from Ogre::RenderSystem.
Definition at line 268 of file OgreGLRenderSystem.h.
| virtual void Ogre::RenderSystem::attachRenderTarget | ( | RenderTarget & | target | ) | [virtual, inherited] |
Attaches the passed render target to the render system.
| virtual void Ogre::GLRenderSystem::beginProfileEvent | ( | const String & | eventName | ) | [virtual] |
This marks the beginning of an event for GPU profiling.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::bindGpuProgram | ( | GpuProgram * | prg | ) | [virtual] |
See RenderSystem.
Reimplemented from Ogre::RenderSystem.
| void Ogre::GLRenderSystem::bindGpuProgramParameters | ( | GpuProgramType | gptype, |
| GpuProgramParametersSharedPtr | params, | ||
| uint16 | variabilityMask | ||
| ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::bindGpuProgramPassIterationParameters | ( | GpuProgramType | gptype | ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::bindVertexElementToGpu | ( | const VertexElement & | elem, |
| HardwareVertexBufferSharedPtr | vertexBuffer, | ||
| const size_t | vertexStart, | ||
| vector< GLuint >::type & | attribsBound, | ||
| vector< GLuint >::type & | instanceAttribsBound | ||
| ) | [protected] |
| void Ogre::GLRenderSystem::clearFrameBuffer | ( | unsigned int | buffers, |
| const ColourValue & | colour = ColourValue::Black, |
||
| Real | depth = 1.0f, |
||
| unsigned short | stencil = 0 |
||
| ) | [virtual] |
Clears one or more frame buffers on the active render target.
| buffers | Combination of one or more elements of FrameBufferType denoting which buffers are to be cleared |
| colour | The colour to clear the colour buffer with, if enabled |
| depth | The value to initialise the depth buffer with, if enabled |
| stencil | The value to initialise the stencil buffer with, if enabled. |
Implements Ogre::RenderSystem.
| virtual void Ogre::RenderSystem::convertColourValue | ( | const ColourValue & | colour, |
| uint32 * | pDest | ||
| ) | [virtual, inherited] |
Generates a packed data version of the passed in ColourValue suitable for use as with this RenderSystem.
| colour | The colour to convert |
| pDest | Pointer to location to put the result. |
| GLint Ogre::GLRenderSystem::convertCompareFunction | ( | CompareFunction | func | ) | const [private] |
| GLint Ogre::GLRenderSystem::convertStencilOp | ( | StencilOperation | op, |
| bool | invert = false |
||
| ) | const [private] |
| HardwareOcclusionQuery* Ogre::GLRenderSystem::createHardwareOcclusionQuery | ( | void | ) | [virtual] |
Create an object for performing hardware occlusion queries.
Implements Ogre::RenderSystem.
| virtual MultiRenderTarget* Ogre::GLRenderSystem::createMultiRenderTarget | ( | const String & | name | ) | [virtual] |
Create a MultiRenderTarget, which is a render target that renders to multiple RenderTextures at once.
Surfaces can be bound and unbound at will. This fails if mCapabilities->getNumMultiRenderTargets() is smaller than 2.
Implements Ogre::RenderSystem.
| virtual RenderSystemCapabilities* Ogre::GLRenderSystem::createRenderSystemCapabilities | ( | ) | const [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| virtual void Ogre::RenderSystem::destroyHardwareOcclusionQuery | ( | HardwareOcclusionQuery * | hq | ) | [virtual, inherited] |
Destroy a hardware occlusion query object.
| virtual void Ogre::RenderSystem::destroyRenderTarget | ( | const String & | name | ) | [virtual, inherited] |
Destroys a render target of any sort.
Reimplemented in Ogre::D3D11RenderSystem, and Ogre::D3D9RenderSystem.
| virtual void Ogre::RenderSystem::destroyRenderTexture | ( | const String & | name | ) | [virtual, inherited] |
Destroys a render texture.
| void Ogre::GLRenderSystem::destroyRenderWindow | ( | RenderWindow * | pWin | ) |
See RenderSystem.
| virtual void Ogre::RenderSystem::destroyRenderWindow | ( | const String & | name | ) | [virtual, inherited] |
Destroys a render window.
| virtual RenderTarget* Ogre::RenderSystem::detachRenderTarget | ( | const String & | name | ) | [virtual, inherited] |
Detaches the render target with the passed name from the render system and returns a pointer to it.
Reimplemented in Ogre::D3D11RenderSystem, and Ogre::D3D9RenderSystem.
| void Ogre::GLRenderSystem::enableClipPlane | ( | ushort | index, |
| bool | enable | ||
| ) |
See RenderSystem.
| virtual void Ogre::GLRenderSystem::endProfileEvent | ( | void | ) | [virtual] |
Ends the currently active GPU profiling event.
Implements Ogre::RenderSystem.
| virtual void Ogre::RenderSystem::fireEvent | ( | const String & | name, |
| const NameValuePairList * | params = 0 |
||
| ) | [protected, virtual, inherited] |
Internal method for firing a rendersystem event.
| GLint Ogre::GLRenderSystem::getBlendMode | ( | SceneBlendFactor | ogreBlend | ) | const [private] |
| const RenderSystemCapabilities* Ogre::RenderSystem::getCapabilities | ( | void | ) | const [inherited] |
Gets the capabilities of the render system.
Definition at line 1210 of file OgreRenderSystem.h.
| VertexElementType Ogre::GLRenderSystem::getColourVertexElementType | ( | void | ) | const [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| GLuint Ogre::GLRenderSystem::getCombinedMinMipFilter | ( | void | ) | const [private] |
| ConfigOptionMap& Ogre::GLRenderSystem::getConfigOptions | ( | void | ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| virtual void Ogre::RenderSystem::getCustomAttribute | ( | const String & | name, |
| void * | pData | ||
| ) | [virtual, inherited] |
Gets a custom (maybe platform-specific) attribute.
| name | The name of the attribute. |
| pData | Pointer to memory of the right kind of structure to receive the info. |
Reimplemented in Ogre::D3D11RenderSystem.
| unsigned int Ogre::GLRenderSystem::getDisplayMonitorCount | ( | ) | const [virtual] |
Gets the number of display monitors.
Implements Ogre::RenderSystem.
| virtual const DriverVersion& Ogre::RenderSystem::getDriverVersion | ( | void | ) | const [virtual, inherited] |
Returns the driver version.
Definition at line 1215 of file OgreRenderSystem.h.
| String Ogre::GLRenderSystem::getErrorDescription | ( | long | errorNumber | ) | const [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| bool Ogre::RenderSystem::getFixedPipelineEnabled | ( | void | ) | const [inherited] |
Returns true if fixed pipeline rendering is enabled on the system.
| HardwareVertexBufferSharedPtr Ogre::RenderSystem::getGlobalInstanceVertexBuffer | ( | ) | const [inherited] |
Returns the global instance vertex buffer.
| VertexDeclaration* Ogre::RenderSystem::getGlobalInstanceVertexBufferVertexDeclaration | ( | ) | const [inherited] |
Gets vertex declaration for the global vertex buffer for the global instancing.
| size_t Ogre::RenderSystem::getGlobalNumberOfInstances | ( | ) | const [inherited] |
Gets the global number of instances.
Definition at line 507 of file OgreGLRenderSystem.h.
| Real Ogre::GLRenderSystem::getHorizontalTexelOffset | ( | void | ) | [virtual] |
Returns the horizontal texel offset value required for mapping texel origins to pixel origins in this rendersystem.
Implements Ogre::RenderSystem.
| virtual bool Ogre::RenderSystem::getInvertVertexWinding | ( | void | ) | const [virtual, inherited] |
Indicates whether or not the vertex windings set will be inverted for the current render (e.g.
reflections)
| Real Ogre::GLRenderSystem::getMaximumDepthInputValue | ( | void | ) | [virtual] |
Gets the maximum (farthest) depth value to be used when rendering using identity transforms.
Implements Ogre::RenderSystem.
| Real Ogre::GLRenderSystem::getMinimumDepthInputValue | ( | void | ) | [virtual] |
Gets the minimum (closest) depth value to be used when rendering using identity transforms.
Implements Ogre::RenderSystem.
| RenderSystemCapabilities* Ogre::RenderSystem::getMutableCapabilities | ( | ) | [inherited] |
Get a pointer to the current capabilities being used by the RenderSystem.
Definition at line 231 of file OgreRenderSystem.h.
| const String& Ogre::GLRenderSystem::getName | ( | void | ) | const [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| uint16 Ogre::RenderSystem::getNativeShadingLanguageVersion | ( | ) | const [inherited] |
Gets the native shading language version for this render system.
Formatted so that it can be used within a shading program. For example, OpenGL 3.2 would return 150, while 3.3 would return 330
Definition at line 1259 of file OgreRenderSystem.h.
| virtual const StringVector& Ogre::RenderSystem::getRenderSystemEvents | ( | void | ) | const [virtual, inherited] |
Gets a list of the rendersystem specific events that this rendersystem can raise.
Definition at line 1430 of file OgreRenderSystem.h.
| virtual RenderTarget* Ogre::RenderSystem::getRenderTarget | ( | const String & | name | ) | [virtual, inherited] |
Returns a pointer to the render target with the passed name, or NULL if that render target cannot be found.
| virtual RenderTargetIterator Ogre::RenderSystem::getRenderTargetIterator | ( | void | ) | [virtual, inherited] |
Returns a specialised MapIterator over all render targets attached to the RenderSystem.
Definition at line 582 of file OgreRenderSystem.h.
| GLint Ogre::GLRenderSystem::getTextureAddressingMode | ( | TextureUnitState::TextureAddressingMode | tam | ) | const [private] |
| Real Ogre::GLRenderSystem::getVerticalTexelOffset | ( | void | ) | [virtual] |
Returns the vertical texel offset value required for mapping texel origins to pixel origins in this rendersystem.
Implements Ogre::RenderSystem.
| bool Ogre::RenderSystem::getWBufferEnabled | ( | void | ) | const [inherited] |
Returns true if the renderer will try to use W-buffers when available.
| virtual bool Ogre::GLRenderSystem::hasAnisotropicMipMapFilter | ( | ) | const [virtual] |
Determines if the system has anisotropic mip map filter support.
Implements Ogre::RenderSystem.
Definition at line 538 of file OgreGLRenderSystem.h.
| void Ogre::GLRenderSystem::initConfigOptions | ( | void | ) | [private] |
| void Ogre::GLRenderSystem::initialiseContext | ( | RenderWindow * | primary | ) | [private] |
| void Ogre::GLRenderSystem::initialiseFromRenderSystemCapabilities | ( | RenderSystemCapabilities * | caps, |
| RenderTarget * | primary | ||
| ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::initInputDevices | ( | void | ) | [private] |
| virtual bool Ogre::RenderSystem::isGpuProgramBound | ( | GpuProgramType | gptype | ) | [virtual, inherited] |
Returns whether or not a Gpu program of the given type is currently bound.
| virtual bool Ogre::RenderSystem::isStaticBufferLockable | ( | ) | const [virtual, inherited] |
Reimplemented in Ogre::D3D9RenderSystem.
Definition at line 219 of file OgreRenderSystem.h.
| void Ogre::GLRenderSystem::makeGLMatrix | ( | GLfloat | gl_matrix[16], |
| const Matrix4 & | m | ||
| ) | [private] |
| virtual void Ogre::GLRenderSystem::markProfileEvent | ( | const String & | eventName | ) | [virtual] |
Marks an instantaneous event for graphics profilers.
This is equivalent to calling
Implements Ogre::RenderSystem.
| Ogre::GLRenderSystem::OGRE_MUTEX | ( | mThreadInitMutex | ) |
| void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr | ) | [inherited] |
Definition at line 96 of file OgreMemoryAllocatedObject.h.
| void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr, |
| void * | |||
| ) | [inherited] |
Definition at line 102 of file OgreMemoryAllocatedObject.h.
| void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr, |
| const char * | , | ||
| int | , | ||
| const char * | |||
| ) | [inherited] |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
| void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr | ) | [inherited] |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
| void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr, |
| const char * | , | ||
| int | , | ||
| const char * | |||
| ) | [inherited] |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
| void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz, |
| const char * | file, | ||
| int | line, | ||
| const char * | func | ||
| ) | [inherited] |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
| void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz | ) | [inherited] |
Definition at line 73 of file OgreMemoryAllocatedObject.h.
| void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz, |
| void * | ptr | ||
| ) | [inherited] |
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
| void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz, |
| const char * | file, | ||
| int | line, | ||
| const char * | func | ||
| ) | [inherited] |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
| void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz | ) | [inherited] |
Definition at line 91 of file OgreMemoryAllocatedObject.h.
| void Ogre::GLRenderSystem::postExtraThreadsStarted | ( | ) | [virtual] |
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::preExtraThreadsStarted | ( | ) | [virtual] |
Tell the rendersystem to perform any prep tasks it needs to directly before other threads which might access the rendering API are registered.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::processInputDevices | ( | void | ) | [private] |
| void Ogre::GLRenderSystem::registerThread | ( | ) | [virtual] |
Register the an additional thread which may make calls to rendersystem-related objects.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::reinitialise | ( | void | ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| virtual void Ogre::RenderSystem::removeListener | ( | Listener * | l | ) | [virtual, inherited] |
Remove a listener to the custom events that this render system can raise.
| virtual void Ogre::RenderSystem::resetClipPlanes | ( | ) | [virtual, inherited] |
Clears the user clipping region.
| void Ogre::GLRenderSystem::setAmbientLight | ( | float | r, |
| float | g, | ||
| float | b | ||
| ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
See RenderSystem.
| virtual void Ogre::RenderSystem::setClipPlanes | ( | const PlaneList & | clipPlanes | ) | [virtual, inherited] |
Sets the user clipping region.
| void Ogre::GLRenderSystem::setClipPlanesImpl | ( | const PlaneList & | clipPlanes | ) | [protected, virtual] |
Internal method used to set the underlying clip planes when needed.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::setConfigOption | ( | const String & | name, |
| const String & | value | ||
| ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| virtual void Ogre::RenderSystem::setCurrentPassIterationCount | ( | const size_t | count | ) | [virtual, inherited] |
set the current multi pass count value.
This must be set prior to calling _render() if multiple renderings of the same pass state are required.
| count | Number of times to render the current state. |
Definition at line 1365 of file OgreRenderSystem.h.
| virtual void Ogre::RenderSystem::setDepthBufferFor | ( | RenderTarget * | renderTarget | ) | [virtual, inherited] |
Retrieves an existing DepthBuffer or creates a new one suited for the given RenderTarget and sets it.
| virtual void Ogre::RenderSystem::setDeriveDepthBias | ( | bool | derive, |
| float | baseValue = 0.0f, |
||
| float | multiplier = 0.0f, |
||
| float | slopeScale = 0.0f |
||
| ) | [virtual, inherited] |
Tell the render system whether to derive a depth bias on its own based on the values passed to it in setCurrentPassIterationCount.
The depth bias set will be baseValue + iteration * multiplier
| derive | True to tell the RS to derive this automatically |
| baseValue | The base value to which the multiplier should be added |
| multiplier | The amount of depth bias to apply per iteration |
| slopeScale | The constant slope scale bias for completeness |
Definition at line 1376 of file OgreRenderSystem.h.
| void Ogre::RenderSystem::setFixedPipelineEnabled | ( | bool | enabled | ) | [inherited] |
Sets if fixed pipeline rendering is enabled on the system.
| void Ogre::GLRenderSystem::setGLLight | ( | size_t | index, |
| Light * | lt | ||
| ) | [private] |
| void Ogre::GLRenderSystem::setGLLightPositionDirection | ( | Light * | lt, |
| GLenum | lightindex | ||
| ) | [private] |
Internal method to set pos / direction of a light.
| void Ogre::RenderSystem::setGlobalInstanceVertexBuffer | ( | const HardwareVertexBufferSharedPtr & | val | ) | [inherited] |
Sets the global instance vertex buffer.
| void Ogre::RenderSystem::setGlobalInstanceVertexBufferVertexDeclaration | ( | VertexDeclaration * | val | ) | [inherited] |
Sets vertex declaration for the global vertex buffer for the global instancing.
| void Ogre::RenderSystem::setGlobalNumberOfInstances | ( | const size_t | val | ) | [inherited] |
Sets the global number of instances.
| virtual void Ogre::RenderSystem::setInvertVertexWinding | ( | bool | invert | ) | [virtual, inherited] |
Sets whether or not vertex windings set should be inverted; this can be important for rendering reflections.
| void Ogre::GLRenderSystem::setLightingEnabled | ( | bool | enabled | ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::setLights | ( | ) | [private] |
| void Ogre::GLRenderSystem::setNormaliseNormals | ( | bool | normalise | ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::setScissorTest | ( | bool | enabled, |
| size_t | left = 0, |
||
| size_t | top = 0, |
||
| size_t | right = 800, |
||
| size_t | bottom = 600 |
||
| ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::setShadingType | ( | ShadeOptions | so | ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::setStencilBufferParams | ( | CompareFunction | func = CMPF_ALWAYS_PASS, |
| uint32 | refValue = 0, |
||
| uint32 | compareMask = 0xFFFFFFFF, |
||
| uint32 | writeMask = 0xFFFFFFFF, |
||
| StencilOperation | stencilFailOp = SOP_KEEP, |
||
| StencilOperation | depthFailOp = SOP_KEEP, |
||
| StencilOperation | passOp = SOP_KEEP, |
||
| bool | twoSidedOperation = false |
||
| ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::setStencilCheckEnabled | ( | bool | enabled | ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::setVertexBufferBinding | ( | VertexBufferBinding * | binding | ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| void Ogre::GLRenderSystem::setVertexDeclaration | ( | VertexDeclaration * | decl | ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
| void Ogre::RenderSystem::setWBufferEnabled | ( | bool | enabled | ) | [inherited] |
Sets whether or not W-buffers are enabled if they are available for this renderer.
| enabled | If true and the renderer supports them W-buffers will be used. If false W-buffers will not be used even if available. W-buffers are enabled by default for 16bit depth buffers and disabled for all other depths. |
| void Ogre::GLRenderSystem::shutdown | ( | void | ) | [virtual] |
See RenderSystem.
Reimplemented from Ogre::RenderSystem.
| void Ogre::GLRenderSystem::unbindGpuProgram | ( | GpuProgramType | gptype | ) | [virtual] |
See RenderSystem.
Reimplemented from Ogre::RenderSystem.
| void Ogre::GLRenderSystem::unregisterThread | ( | ) | [virtual] |
Unregister an additional thread which may make calls to rendersystem-related objects.
Implements Ogre::RenderSystem.
| bool Ogre::RenderSystem::updatePassIterationRenderState | ( | void | ) | [protected, inherited] |
updates pass iteration rendering state including bound gpu program parameter pass iteration auto constant entry
| virtual void Ogre::RenderSystem::useCustomRenderSystemCapabilities | ( | RenderSystemCapabilities * | capabilities | ) | [virtual, inherited] |
Force the render system to use the special capabilities.
Can only be called before the render system has been fully initializer (before createWindow is called)
| capabilities | has to be a subset of the real capabilities and the caller is responsible for deallocating capabilities. |
| String Ogre::GLRenderSystem::validateConfigOptions | ( | void | ) | [virtual] |
See RenderSystem.
Implements Ogre::RenderSystem.
GpuProgramParametersSharedPtr Ogre::RenderSystem::mActiveComputeGpuProgramParameters [protected, inherited] |
Definition at line 1526 of file OgreRenderSystem.h.
GpuProgramParametersSharedPtr Ogre::RenderSystem::mActiveFragmentGpuProgramParameters [protected, inherited] |
Definition at line 1523 of file OgreRenderSystem.h.
GpuProgramParametersSharedPtr Ogre::RenderSystem::mActiveGeometryGpuProgramParameters [protected, inherited] |
Definition at line 1522 of file OgreRenderSystem.h.
RenderTarget* Ogre::RenderSystem::mActiveRenderTarget [protected, inherited] |
The Active render target.
Definition at line 1518 of file OgreRenderSystem.h.
GpuProgramParametersSharedPtr Ogre::RenderSystem::mActiveTesselationDomainGpuProgramParameters [protected, inherited] |
Definition at line 1525 of file OgreRenderSystem.h.
GpuProgramParametersSharedPtr Ogre::RenderSystem::mActiveTesselationHullGpuProgramParameters [protected, inherited] |
Definition at line 1524 of file OgreRenderSystem.h.
Definition at line 151 of file OgreGLRenderSystem.h.
GpuProgramParametersSharedPtr Ogre::RenderSystem::mActiveVertexGpuProgramParameters [protected, inherited] |
The Active GPU programs and gpu program parameters.
Definition at line 1521 of file OgreRenderSystem.h.
Viewport* Ogre::RenderSystem::mActiveViewport [protected, inherited] |
Definition at line 1535 of file OgreRenderSystem.h.
GLfloat Ogre::GLRenderSystem::mAutoTextureMatrix[16] [private] |
Definition at line 117 of file OgreGLRenderSystem.h.
List of background thread contexts.
Definition at line 140 of file OgreGLRenderSystem.h.
size_t Ogre::RenderSystem::mBatchCount [protected, inherited] |
Definition at line 1541 of file OgreRenderSystem.h.
PlaneList Ogre::RenderSystem::mClipPlanes [protected, inherited] |
Definition at line 1598 of file OgreRenderSystem.h.
bool Ogre::RenderSystem::mClipPlanesDirty [protected, inherited] |
Definition at line 1600 of file OgreRenderSystem.h.
bool Ogre::GLRenderSystem::mColourWrite[4] [private] |
Store last colour write state.
Definition at line 99 of file OgreGLRenderSystem.h.
bool Ogre::RenderSystem::mComputeProgramBound [protected, inherited] |
Definition at line 1595 of file OgreRenderSystem.h.
CullingMode Ogre::RenderSystem::mCullingMode [protected, inherited] |
Definition at line 1537 of file OgreRenderSystem.h.
RenderSystemCapabilities* Ogre::RenderSystem::mCurrentCapabilities [protected, inherited] |
Definition at line 1604 of file OgreRenderSystem.h.
GLContext* Ogre::GLRenderSystem::mCurrentContext [private] |
Definition at line 137 of file OgreGLRenderSystem.h.
Definition at line 131 of file OgreGLRenderSystem.h.
Definition at line 132 of file OgreGLRenderSystem.h.
unsigned short Ogre::GLRenderSystem::mCurrentLights [private] |
Definition at line 126 of file OgreGLRenderSystem.h.
size_t Ogre::RenderSystem::mCurrentPassIterationCount [protected, inherited] |
number of times to render the current state
Definition at line 1554 of file OgreRenderSystem.h.
size_t Ogre::RenderSystem::mCurrentPassIterationNum [protected, inherited] |
Definition at line 1555 of file OgreRenderSystem.h.
Definition at line 130 of file OgreGLRenderSystem.h.
DepthBufferMap Ogre::RenderSystem::mDepthBufferPool [protected, inherited] |
DepthBuffers to be attached to render targets.
Definition at line 1511 of file OgreRenderSystem.h.
bool Ogre::GLRenderSystem::mDepthWrite [private] |
Store last depth write state.
Definition at line 95 of file OgreGLRenderSystem.h.
bool Ogre::RenderSystem::mDerivedDepthBias [protected, inherited] |
Whether to update the depth bias per render call.
Definition at line 1557 of file OgreRenderSystem.h.
float Ogre::RenderSystem::mDerivedDepthBiasBase [protected, inherited] |
Definition at line 1558 of file OgreRenderSystem.h.
float Ogre::RenderSystem::mDerivedDepthBiasMultiplier [protected, inherited] |
Definition at line 1559 of file OgreRenderSystem.h.
float Ogre::RenderSystem::mDerivedDepthBiasSlopeScale [protected, inherited] |
Definition at line 1560 of file OgreRenderSystem.h.
size_t Ogre::RenderSystem::mDisabledTexUnitsFrom [protected, inherited] |
Texture units from this upwards are disabled.
Definition at line 1551 of file OgreRenderSystem.h.
DriverVersion Ogre::RenderSystem::mDriverVersion [protected, inherited] |
Definition at line 1614 of file OgreRenderSystem.h.
bool Ogre::RenderSystem::mEnableFixedPipeline [protected, inherited] |
is fixed pipeline enabled
Definition at line 1570 of file OgreRenderSystem.h.
ListenerList Ogre::RenderSystem::mEventListeners [protected, inherited] |
Definition at line 1585 of file OgreRenderSystem.h.
StringVector Ogre::RenderSystem::mEventNames [protected, inherited] |
List of names of events this rendersystem may raise.
Definition at line 1579 of file OgreRenderSystem.h.
size_t Ogre::RenderSystem::mFaceCount [protected, inherited] |
Definition at line 1542 of file OgreRenderSystem.h.
unsigned short Ogre::GLRenderSystem::mFixedFunctionTextureUnits [private] |
Number of fixed-function texture units.
Definition at line 79 of file OgreGLRenderSystem.h.
bool Ogre::RenderSystem::mFragmentProgramBound [protected, inherited] |
Definition at line 1592 of file OgreRenderSystem.h.
bool Ogre::RenderSystem::mGeometryProgramBound [protected, inherited] |
Definition at line 1591 of file OgreRenderSystem.h.
bool Ogre::GLRenderSystem::mGLInitialised [private] |
Check if the GL system has already been initialised.
Definition at line 120 of file OgreGLRenderSystem.h.
HardwareVertexBufferSharedPtr Ogre::RenderSystem::mGlobalInstanceVertexBuffer [protected, inherited] |
a global vertex buffer for global instancing
Definition at line 1563 of file OgreRenderSystem.h.
VertexDeclaration* Ogre::RenderSystem::mGlobalInstanceVertexBufferVertexDeclaration [protected, inherited] |
a vertex declaration for the global vertex buffer for the global instancing
Definition at line 1565 of file OgreRenderSystem.h.
size_t Ogre::RenderSystem::mGlobalNumberOfInstances [protected, inherited] |
the number of global instances (this number will be multiply by the render op instance number)
Definition at line 1567 of file OgreRenderSystem.h.
Definition at line 124 of file OgreGLRenderSystem.h.
GLSupport* Ogre::GLRenderSystem::mGLSupport [private] |
GL support class, used for creating windows etc.
Definition at line 111 of file OgreGLRenderSystem.h.
Definition at line 123 of file OgreGLRenderSystem.h.
Definition at line 122 of file OgreGLRenderSystem.h.
HardwareOcclusionQueryList Ogre::RenderSystem::mHwOcclusionQueries [protected, inherited] |
Definition at line 1588 of file OgreRenderSystem.h.
bool Ogre::RenderSystem::mInvertVertexWinding [protected, inherited] |
Definition at line 1548 of file OgreRenderSystem.h.
Light* Ogre::GLRenderSystem::mLights[MAX_LIGHTS] [private] |
Definition at line 61 of file OgreGLRenderSystem.h.
GLContext* Ogre::GLRenderSystem::mMainContext [private] |
Definition at line 135 of file OgreGLRenderSystem.h.
ColourValue Ogre::RenderSystem::mManualBlendColours[OGRE_MAX_TEXTURE_LAYERS][2] [protected, inherited] |
Saved manual colour blends.
Definition at line 1546 of file OgreRenderSystem.h.
Last min & mip filtering options, so we can combine them.
Definition at line 69 of file OgreGLRenderSystem.h.
Definition at line 70 of file OgreGLRenderSystem.h.
uint16 Ogre::RenderSystem::mNativeShadingLanguageVersion [protected, inherited] |
Definition at line 1615 of file OgreRenderSystem.h.
RenderTargetPriorityMap Ogre::RenderSystem::mPrioritisedRenderTargets [protected, inherited] |
The render targets, ordered by priority.
Definition at line 1516 of file OgreRenderSystem.h.
RenderSystemCapabilities* Ogre::RenderSystem::mRealCapabilities [protected, inherited] |
Used to store the capabilities of the graphics card.
Definition at line 1603 of file OgreRenderSystem.h.
vector<GLuint>::type Ogre::GLRenderSystem::mRenderAttribsBound [private] |
Definition at line 155 of file OgreGLRenderSystem.h.
vector<GLuint>::type Ogre::GLRenderSystem::mRenderInstanceAttribsBound [private] |
Definition at line 156 of file OgreGLRenderSystem.h.
RenderTargetMap Ogre::RenderSystem::mRenderTargets [protected, inherited] |
The render targets.
Definition at line 1514 of file OgreRenderSystem.h.
GLRTTManager* Ogre::GLRenderSystem::mRTTManager [private] |
Manager object for creating render textures.
Direct render to texture via GL_EXT_framebuffer_object is preferable to pbuffers, which depend on the GL support used and are generally unwieldy and slow. However, FBO support for stencil buffers is poor.
Definition at line 149 of file OgreGLRenderSystem.h.
int Ogre::GLRenderSystem::mScissorBox[4] [private] |
Store scissor box.
Definition at line 102 of file OgreGLRenderSystem.h.
Definition at line 142 of file OgreGLRenderSystem.h.
Store last stencil mask state.
Definition at line 97 of file OgreGLRenderSystem.h.
bool Ogre::GLRenderSystem::mStopRendering [private] |
Rendering loop control.
Definition at line 55 of file OgreGLRenderSystem.h.
bool Ogre::RenderSystem::mTesselationDomainProgramBound [protected, inherited] |
Definition at line 1594 of file OgreRenderSystem.h.
bool Ogre::RenderSystem::mTesselationHullProgramBound [protected, inherited] |
Definition at line 1593 of file OgreRenderSystem.h.
bool Ogre::RenderSystem::mTexProjRelative [protected, inherited] |
Definition at line 1617 of file OgreRenderSystem.h.
Vector3 Ogre::RenderSystem::mTexProjRelativeOrigin [protected, inherited] |
Definition at line 1618 of file OgreRenderSystem.h.
size_t Ogre::GLRenderSystem::mTextureCoordIndex[OGRE_MAX_TEXTURE_LAYERS] [private] |
What texture coord set each texture unit is using.
Definition at line 73 of file OgreGLRenderSystem.h.
TextureManager* Ogre::RenderSystem::mTextureManager [protected, inherited] |
Definition at line 1532 of file OgreRenderSystem.h.
Matrix4 Ogre::GLRenderSystem::mTextureMatrix [private] |
Definition at line 66 of file OgreGLRenderSystem.h.
GLenum Ogre::GLRenderSystem::mTextureTypes[OGRE_MAX_TEXTURE_LAYERS] [private] |
Holds texture type settings for every stage.
Definition at line 76 of file OgreGLRenderSystem.h.
bool Ogre::GLRenderSystem::mUseAutoTextureMatrix [private] |
Definition at line 116 of file OgreGLRenderSystem.h.
bool Ogre::RenderSystem::mUseCustomCapabilities [protected, inherited] |
Definition at line 1605 of file OgreRenderSystem.h.
size_t Ogre::RenderSystem::mVertexCount [protected, inherited] |
Definition at line 1543 of file OgreRenderSystem.h.
bool Ogre::RenderSystem::mVertexProgramBound [protected, inherited] |
Definition at line 1590 of file OgreRenderSystem.h.
Matrix4 Ogre::GLRenderSystem::mViewMatrix [private] |
View matrix to set world against.
Definition at line 64 of file OgreGLRenderSystem.h.
bool Ogre::RenderSystem::mWBuffer [protected, inherited] |
Definition at line 1539 of file OgreRenderSystem.h.
Matrix4 Ogre::GLRenderSystem::mWorldMatrix [private] |
Definition at line 65 of file OgreGLRenderSystem.h.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Mon Jul 27 2020 13:41:11