#include <OgreGLRenderSystem.h>
Inheritance diagram for Ogre::GLRenderSystem:
Public Member Functions | |||||||||||||
virtual void | setExternalWindowHandle (void *ptr) | ||||||||||||
virtual void | resizeRepositionWindow (void *) | ||||||||||||
GLRenderSystem () | |||||||||||||
~GLRenderSystem () | |||||||||||||
const String & | getName (void) const | ||||||||||||
See RenderSystem. | |||||||||||||
ConfigOptionMap & | getConfigOptions (void) | ||||||||||||
See RenderSystem. | |||||||||||||
void | setConfigOption (const String &name, const String &value) | ||||||||||||
See RenderSystem. | |||||||||||||
String | validateConfigOptions (void) | ||||||||||||
See RenderSystem. | |||||||||||||
RenderWindow * | initialise (bool autoCreateWindow, const String &windowTitle="OGRE Render Window") | ||||||||||||
See RenderSystem. | |||||||||||||
void | reinitialise (void) | ||||||||||||
See RenderSystem. | |||||||||||||
void | shutdown (void) | ||||||||||||
See RenderSystem. | |||||||||||||
void | setAmbientLight (float r, float g, float b) | ||||||||||||
See RenderSystem. | |||||||||||||
void | setShadingType (ShadeOptions so) | ||||||||||||
See RenderSystem. | |||||||||||||
void | setLightingEnabled (bool enabled) | ||||||||||||
See RenderSystem. | |||||||||||||
RenderWindow * | createRenderWindow (const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0) | ||||||||||||
Key: "colourDepth" Description: Colour depth of the resulting rendering window; only applies if fullScreen is set. Values: 16 or 32 Default: desktop depth Notes: [W32 specific] Key: "left" Description: screen x coordinate from left Values: positive integers Default: 'center window on screen' Notes: Ignored in case of full screen Key: "top" Description: screen y coordinate from top Values: positive integers Default: 'center window on screen' Notes: Ignored in case of full screen Key: "depthBuffer" [DX9 specific] Description: Use depth buffer Values: false or true Default: true Key: "externalWindowHandle" [API specific] Description: External window handle, for embedding the OGRE context Values: positive integer for W32 (HWND handle) posint:posint:posint for GLX (display:screen:windowHandle) Default: 0 (None) Key: "parentWindowHandle" [API specific] Description: Parent window handle, for embedding the OGRE context Values: positive integer for W32 (HWND handle) posint:posint:posint for GLX (display:screen:windowHandle) Default: 0 (None) Key: "FSAA" Description: Full screen antialiasing factor Values: 0,2,4,6,... Default: 0 Key: "displayFrequency" Description: Display frequency rate, for fullscreen mode Values: 60...? Default: Desktop vsync rate
Key: "vsync" Description: Synchronize buffer swaps to vsync Values: true, false Default: 0 | |||||||||||||
RenderTexture * | createRenderTexture (const String &name, unsigned int width, unsigned int height, TextureType texType=TEX_TYPE_2D, PixelFormat internalFormat=PF_X8R8G8B8, const NameValuePairList *miscParams=0) | ||||||||||||
Key: "depth" Description: Depth in case of render-to-texture TEX_3D Values: positive integers
| |||||||||||||
void | destroyRenderWindow (RenderWindow *pWin) | ||||||||||||
See RenderSystem. | |||||||||||||
String | getErrorDescription (long errorNumber) const | ||||||||||||
See RenderSystem. | |||||||||||||
void | convertColourValue (const ColourValue &colour, uint32 *pDest) | ||||||||||||
See RenderSystem. | |||||||||||||
void | setNormaliseNormals (bool normalise) | ||||||||||||
See RenderSystem. | |||||||||||||
void | _useLights (const LightList &lights, unsigned short limit) | ||||||||||||
See RenderSystem. | |||||||||||||
void | _setWorldMatrix (const Matrix4 &m) | ||||||||||||
See RenderSystem. | |||||||||||||
void | _setViewMatrix (const Matrix4 &m) | ||||||||||||
See RenderSystem. | |||||||||||||
void | _setProjectionMatrix (const Matrix4 &m) | ||||||||||||
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 String &texname) | ||||||||||||
See RenderSystem. | |||||||||||||
void | _setTextureCoordSet (size_t stage, size_t index) | ||||||||||||
See RenderSystem. | |||||||||||||
void | _setTextureCoordCalculation (size_t stage, TexCoordCalcMethod m, const Frustum *frustum=0) | ||||||||||||
See RenderSystem. | |||||||||||||
void | _setTextureBlendMode (size_t stage, const LayerBlendModeEx &bm) | ||||||||||||
See RenderSystem. | |||||||||||||
void | _setTextureAddressingMode (size_t stage, TextureUnitState::TextureAddressingMode tam) | ||||||||||||
See RenderSystem. | |||||||||||||
void | _setTextureMatrix (size_t stage, const Matrix4 &xform) | ||||||||||||
See RenderSystem. | |||||||||||||
void | _setSceneBlending (SceneBlendFactor sourceFactor, SceneBlendFactor destFactor) | ||||||||||||
See RenderSystem. | |||||||||||||
void | _setAlphaRejectSettings (CompareFunction func, unsigned char value) | ||||||||||||
See RenderSystem. | |||||||||||||
void | _setViewport (Viewport *vp) | ||||||||||||
See RenderSystem. | |||||||||||||
void | _beginFrame (void) | ||||||||||||
See RenderSystem. | |||||||||||||
void | _endFrame (void) | ||||||||||||
See RenderSystem. | |||||||||||||
void | _setCullingMode (CullingMode mode) | ||||||||||||
See RenderSystem. | |||||||||||||
void | _setDepthBufferParams (bool depthTest=true, bool depthWrite=true, CompareFunction depthFunction=CMPF_LESS_EQUAL) | ||||||||||||
See RenderSystem. | |||||||||||||
void | _setDepthBufferCheckEnabled (bool enabled=true) | ||||||||||||
See RenderSystem. | |||||||||||||
void | _setDepthBufferWriteEnabled (bool enabled=true) | ||||||||||||
See RenderSystem. | |||||||||||||
void | _setDepthBufferFunction (CompareFunction func=CMPF_LESS_EQUAL) | ||||||||||||
See RenderSystem. | |||||||||||||
void | _setDepthBias (ushort bias) | ||||||||||||
See RenderSystem. | |||||||||||||
void | _setColourBufferWriteEnabled (bool red, bool green, bool blue, bool alpha) | ||||||||||||
See RenderSystem. | |||||||||||||
void | _setFog (FogMode mode, const ColourValue &colour, Real density, Real start, Real end) | ||||||||||||
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. | |||||||||||||
void | _makeOrthoMatrix (const Radian &fovy, Real aspect, Real nearPlane, Real farPlane, Matrix4 &dest, bool forGpuProgram=false) | ||||||||||||
See RenderSystem. | |||||||||||||
void | _applyObliqueDepthProjection (Matrix4 &matrix, const Plane &plane, bool forGpuProgram) | ||||||||||||
See RenderSystem. | |||||||||||||
void | setClipPlane (ushort index, Real A, Real B, Real C, Real D) | ||||||||||||
See RenderSystem. | |||||||||||||
void | enableClipPlane (ushort index, bool enable) | ||||||||||||
See RenderSystem. | |||||||||||||
void | _setRasterisationMode (SceneDetailLevel level) | ||||||||||||
See RenderSystem. | |||||||||||||
void | setStencilCheckEnabled (bool enabled) | ||||||||||||
See RenderSystem. | |||||||||||||
void | setStencilBufferParams (CompareFunction func=CMPF_ALWAYS_PASS, uint32 refValue=0, uint32 mask=0xFFFFFFFF, StencilOperation stencilFailOp=SOP_KEEP, StencilOperation depthFailOp=SOP_KEEP, StencilOperation passOp=SOP_KEEP, bool twoSidedOperation=false) | ||||||||||||
See RenderSystem. | |||||||||||||
void | _setTextureUnitFiltering (size_t unit, FilterType ftype, FilterOptions filter) | ||||||||||||
See RenderSystem. | |||||||||||||
void | _setTextureLayerAnisotropy (size_t unit, unsigned int maxAnisotropy) | ||||||||||||
See RenderSystem. | |||||||||||||
void | setVertexDeclaration (VertexDeclaration *decl) | ||||||||||||
See RenderSystem. | |||||||||||||
void | setVertexBufferBinding (VertexBufferBinding *binding) | ||||||||||||
See RenderSystem. | |||||||||||||
void | _render (const RenderOperation &op) | ||||||||||||
See RenderSystem. | |||||||||||||
void | bindGpuProgram (GpuProgram *prg) | ||||||||||||
See RenderSystem. | |||||||||||||
void | unbindGpuProgram (GpuProgramType gptype) | ||||||||||||
See RenderSystem. | |||||||||||||
void | bindGpuProgramParameters (GpuProgramType gptype, GpuProgramParametersSharedPtr params) | ||||||||||||
See RenderSystem. | |||||||||||||
void | setClipPlanes (const PlaneList &clipPlanes) | ||||||||||||
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 | 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. | |||||||||||||
HardwareOcclusionQuery * | createHardwareOcclusionQuery (void) | ||||||||||||
Real | getHorizontalTexelOffset (void) | ||||||||||||
Returns the horizontal texel offset value required for mapping texel origins to pixel origins in this rendersystem. | |||||||||||||
Real | getVerticalTexelOffset (void) | ||||||||||||
Returns the vertical texel offset value required for mapping texel origins to pixel origins in this rendersystem. | |||||||||||||
Real | getMinimumDepthInputValue (void) | ||||||||||||
Gets the minimum (closest) depth value to be used when rendering using identity transforms. | |||||||||||||
Real | getMaximumDepthInputValue (void) | ||||||||||||
Gets the maximum (farthest) depth value to be used when rendering using identity transforms. | |||||||||||||
void | _oneTimeContextInitialization () | ||||||||||||
One time initialization for the RenderState of a context. | |||||||||||||
void | _setRenderTarget (RenderTarget *target) | ||||||||||||
Set current render target to target, enabling its GL context if needed. | |||||||||||||
void | _registerContext (RenderTarget *target, GLContext *context) | ||||||||||||
Register a render target->context mapping. | |||||||||||||
void | _unregisterContext (RenderTarget *target) | ||||||||||||
Unregister a render target->context mapping. | |||||||||||||
GLContext * | _getMainContext () | ||||||||||||
Get the main context. | |||||||||||||
void | setWBufferEnabled (bool enabled) | ||||||||||||
Sets whether or not W-buffers are enabled if they are avalible for this renderer. | |||||||||||||
bool | getWBufferEnabled (void) const | ||||||||||||
Returns true if the renderer will try to use W-buffers when avalible. | |||||||||||||
virtual void | destroyRenderWindow (const String &name) | ||||||||||||
Destroys a render window. | |||||||||||||
virtual void | destroyRenderTexture (const String &name) | ||||||||||||
Destroys a render texture. | |||||||||||||
virtual void | destroyRenderTarget (const String &name) | ||||||||||||
Destroys a render target of any sort. | |||||||||||||
virtual void | attachRenderTarget (RenderTarget &target) | ||||||||||||
Attaches the passed render target to the render system. | |||||||||||||
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 RenderTarget * | detachRenderTarget (const String &name) | ||||||||||||
Detaches the render target with the passed name from the render system and returns a pointer to it. | |||||||||||||
void | setWaitForVerticalBlank (bool enabled) | ||||||||||||
Defines whether or now fullscreen render windows wait for the vertical blank before flipping buffers. | |||||||||||||
bool | getWaitForVerticalBlank (void) const | ||||||||||||
Returns true if the system is synchronising frames with the monitor vertical blank. | |||||||||||||
virtual void | _setWorldMatrices (const Matrix4 *m, unsigned short count) | ||||||||||||
Sets multiple world matrices (vertex blending). | |||||||||||||
virtual void | _setTextureUnitSettings (size_t texUnit, TextureUnitState &tl) | ||||||||||||
Utility function for setting all the properties of a texture unit at once. | |||||||||||||
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. | |||||||||||||
virtual void | _setTextureUnitFiltering (size_t unit, FilterOptions minFilter, FilterOptions magFilter, FilterOptions mipFilter) | ||||||||||||
Sets the filtering options for a given texture unit. | |||||||||||||
virtual Viewport * | _getViewport (void) | ||||||||||||
Get the current active viewport for rendering. | |||||||||||||
virtual CullingMode | _getCullingMode (void) const | ||||||||||||
virtual void | _beginGeometryCount (void) | ||||||||||||
The RenderSystem will keep a count of tris rendered, this resets the count. | |||||||||||||
virtual unsigned int | _getFaceCount (void) const | ||||||||||||
Reports the number of tris rendered since the last _beginGeometryCount call. | |||||||||||||
virtual unsigned int | _getVertexCount (void) const | ||||||||||||
Reports the number of vertices passed to the renderer since the last _beginGeometryCount call. | |||||||||||||
const RenderSystemCapabilities * | getCapabilities (void) const | ||||||||||||
Gets the capabilities of the render system. | |||||||||||||
virtual void | _initRenderTargets (void) | ||||||||||||
Utility method for initialising all render targets attached to this rendering system. | |||||||||||||
virtual void | _notifyCameraRemoved (const Camera *cam) | ||||||||||||
Utility method to notify all render targets that a camera has been removed, incase they were referring to it as their viewer. | |||||||||||||
virtual void | _updateAllRenderTargets (void) | ||||||||||||
Internal method for updating all render targets attached to this rendering system. | |||||||||||||
virtual void | setClipPlane (ushort index, const Plane &p) | ||||||||||||
Set a clipping plane. | |||||||||||||
virtual void | setInvertVertexWinding (bool invert) | ||||||||||||
Sets whether or not vertex windings set should be inverted; this can be important for rendering reflections. | |||||||||||||
Protected Attributes | |||||||||||||
RenderTargetMap | mRenderTargets | ||||||||||||
The render targets. | |||||||||||||
RenderTargetPriorityMap | mPrioritisedRenderTargets | ||||||||||||
The render targets, ordered by priority. | |||||||||||||
RenderTarget * | mActiveRenderTarget | ||||||||||||
The Active render target. | |||||||||||||
TextureManager * | mTextureManager | ||||||||||||
RenderSystemCapabilities * | mCapabilities | ||||||||||||
Used to store the capabilities of the graphics card. | |||||||||||||
Viewport * | mActiveViewport | ||||||||||||
CullingMode | mCullingMode | ||||||||||||
bool | mVSync | ||||||||||||
bool | mWBuffer | ||||||||||||
size_t | mFaceCount | ||||||||||||
size_t | mVertexCount | ||||||||||||
Matrix4 | mWorldMatrices [256] | ||||||||||||
Saved set of world matrices. | |||||||||||||
ColourValue | mManualBlendColours [OGRE_MAX_TEXTURE_LAYERS][2] | ||||||||||||
Saved manual colour blends. | |||||||||||||
bool | mInvertVertexWinding | ||||||||||||
Private Types | |||||||||||||
typedef std::vector< Vector4 > | PlaneList2 | ||||||||||||
typedef std::map< RenderTarget *, GLContext * > | ContextMap | ||||||||||||
Private Member Functions | |||||||||||||
void | setGLClipPlanes () const | ||||||||||||
void | initConfigOptions (void) | ||||||||||||
void | initInputDevices (void) | ||||||||||||
void | processInputDevices (void) | ||||||||||||
void | setGLLight (size_t index, Light *lt) | ||||||||||||
void | makeGLMatrix (GLfloat gl_matrix[16], const Matrix4 &m) | ||||||||||||
GLint | getBlendMode (SceneBlendFactor ogreBlend) const | ||||||||||||
void | setLights () | ||||||||||||
GLint | convertCompareFunction (CompareFunction func) const | ||||||||||||
GLint | convertStencilOp (StencilOperation op, bool invert=false) const | ||||||||||||
GLfloat | _getCurrentAnisotropy (size_t unit) | ||||||||||||
void | setGLLightPositionDirection (Light *lt, GLenum lightindex) | ||||||||||||
Internal method to set pos / direction of a light. | |||||||||||||
void | initGL (void) | ||||||||||||
GLuint | getCombinedMinMipFilter (void) const | ||||||||||||
Private Attributes | |||||||||||||
void * | mExternalWindowHandle | ||||||||||||
bool | mStopRendering | ||||||||||||
Light * | mLights [MAX_LIGHTS] | ||||||||||||
PlaneList2 | mClipPlanes | ||||||||||||
Matrix4 | mViewMatrix | ||||||||||||
Matrix4 | mWorldMatrix | ||||||||||||
Matrix4 | mTextureMatrix | ||||||||||||
FilterOptions | mMinFilter | ||||||||||||
FilterOptions | mMipFilter | ||||||||||||
size_t | mTextureCoordIndex [OGRE_MAX_TEXTURE_COORD_SETS] | ||||||||||||
GLenum | mTextureTypes [OGRE_MAX_TEXTURE_LAYERS] | ||||||||||||
holds texture type settings for every stage | |||||||||||||
bool | mDepthWrite | ||||||||||||
bool | mColourWrite [4] | ||||||||||||
GLSupport * | mGLSupport | ||||||||||||
GL support class, used for creating windows etc. | |||||||||||||
bool | mUseAutoTextureMatrix | ||||||||||||
GLfloat | mAutoTextureMatrix [16] | ||||||||||||
bool | mGLInitialized | ||||||||||||
HardwareBufferManager * | mHardwareBufferManager | ||||||||||||
GLGpuProgramManager * | mGpuProgramManager | ||||||||||||
unsigned short | mCurrentLights | ||||||||||||
GLGpuProgram * | mCurrentVertexProgram | ||||||||||||
GLGpuProgram * | mCurrentFragmentProgram | ||||||||||||
GLContext * | mMainContext | ||||||||||||
GLContext * | mCurrentContext | ||||||||||||
ContextMap | mContextMap |
Definition at line 40 of file OgreGLRenderSystem.h.
|
Definition at line 129 of file OgreGLRenderSystem.h. |
|
Definition at line 58 of file OgreGLRenderSystem.h. |
|
|
|
|
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
The RenderSystem will keep a count of tris rendered, this resets the count.
|
|
Turns off a texture unit.
|
|
Disables all texture units from the given unit upwards.
|
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
|
|
|
|
Reports the number of tris rendered since the last _beginGeometryCount call.
|
|
Get the main context. This is generally the context with which a new context wants to share buffers and textures. |
|
Reports the number of vertices passed to the renderer since the last _beginGeometryCount call.
|
|
Get the current active viewport for rendering.
|
|
Utility method for initialising all render targets attached to this rendering system.
|
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
Utility method to notify all render targets that a camera has been removed, incase 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. |
|
Register a render target->context mapping.
|
|
See RenderSystem.
Reimplemented from Ogre::RenderSystem. |
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
Set current render target to target, enabling its GL context if needed.
|
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
Sets the filtering options for a given texture unit.
|
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
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. |
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
Sets multiple world matrices (vertex blending).
|
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
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. |
|
Internal method for updating all render targets attached to this rendering system.
|
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
Attaches the passed render target to the render system.
|
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
Clears one or more frame buffers on the active render target.
Implements Ogre::RenderSystem. |
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
|
|
|
|
Implements Ogre::RenderSystem. |
|
Key: "depth" Description: Depth in case of render-to-texture TEX_3D Values: positive integers
Implements Ogre::RenderSystem. |
|
Key: "colourDepth" Description: Colour depth of the resulting rendering window; only applies if fullScreen is set. Values: 16 or 32 Default: desktop depth Notes: [W32 specific] Key: "left" Description: screen x coordinate from left Values: positive integers Default: 'center window on screen' Notes: Ignored in case of full screen Key: "top" Description: screen y coordinate from top Values: positive integers Default: 'center window on screen' Notes: Ignored in case of full screen Key: "depthBuffer" [DX9 specific] Description: Use depth buffer Values: false or true Default: true Key: "externalWindowHandle" [API specific] Description: External window handle, for embedding the OGRE context Values: positive integer for W32 (HWND handle) posint:posint:posint for GLX (display:screen:windowHandle) Default: 0 (None) Key: "parentWindowHandle" [API specific] Description: Parent window handle, for embedding the OGRE context Values: positive integer for W32 (HWND handle) posint:posint:posint for GLX (display:screen:windowHandle) Default: 0 (None) Key: "FSAA" Description: Full screen antialiasing factor Values: 0,2,4,6,... Default: 0 Key: "displayFrequency" Description: Display frequency rate, for fullscreen mode Values: 60...? Default: Desktop vsync rate Key: "vsync" Description: Synchronize buffer swaps to vsync Values: true, false Default: 0
Implements Ogre::RenderSystem. |
|
Destroys a render target of any sort.
Reimplemented in Ogre::D3D9RenderSystem. |
|
Destroys a render texture.
|
|
Destroys a render window.
|
|
See RenderSystem.
|
|
Detaches the render target with the passed name from the render system and returns a pointer to it.
|
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
|
|
Gets the capabilities of the render system.
Definition at line 833 of file OgreRenderSystem.h. |
|
|
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
Returns the horizontal texel offset value required for mapping texel origins to pixel origins in this rendersystem.
Implements Ogre::RenderSystem. |
|
Gets the maximum (farthest) depth value to be used when rendering using identity transforms.
Implements Ogre::RenderSystem. |
|
Gets the minimum (closest) depth value to be used when rendering using identity transforms.
Implements Ogre::RenderSystem. |
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
Returns a pointer to the render target with the passed name, or NULL if that render target cannot be found.
|
|
Returns the vertical texel offset value required for mapping texel origins to pixel origins in this rendersystem.
Implements Ogre::RenderSystem. |
|
Returns true if the system is synchronising frames with the monitor vertical blank.
|
|
Returns true if the renderer will try to use W-buffers when avalible.
|
|
|
|
|
|
See RenderSystem.
Reimplemented from Ogre::RenderSystem. |
|
|
|
|
|
|
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
|
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
Set a clipping plane.
|
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
Definition at line 43 of file OgreGLRenderSystem.h. References mExternalWindowHandle. |
|
|
|
|
|
Internal method to set pos / direction of a light.
|
|
Sets whether or not vertex windings set should be inverted; this can be important for rendering reflections.
|
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
|
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
Defines whether or now fullscreen render windows wait for the vertical blank before flipping buffers.
|
|
Sets whether or not W-buffers are enabled if they are avalible for this renderer.
|
|
See RenderSystem.
Reimplemented from Ogre::RenderSystem. |
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
The Active render target.
Definition at line 945 of file OgreRenderSystem.h. |
|
Definition at line 957 of file OgreRenderSystem.h. |
|
Definition at line 107 of file OgreGLRenderSystem.h. |
|
Used to store the capabilities of the graphics card.
Definition at line 954 of file OgreRenderSystem.h. |
|
Definition at line 59 of file OgreGLRenderSystem.h. |
|
Definition at line 92 of file OgreGLRenderSystem.h. |
|
Definition at line 132 of file OgreGLRenderSystem.h. |
|
Definition at line 959 of file OgreRenderSystem.h. |
|
Definition at line 127 of file OgreGLRenderSystem.h. |
|
Definition at line 122 of file OgreGLRenderSystem.h. |
|
Definition at line 117 of file OgreGLRenderSystem.h. |
|
Definition at line 121 of file OgreGLRenderSystem.h. |
|
Definition at line 90 of file OgreGLRenderSystem.h. |
|
Definition at line 47 of file OgreGLRenderSystem.h. Referenced by setExternalWindowHandle(). |
|
Definition at line 964 of file OgreRenderSystem.h. |
|
Definition at line 110 of file OgreGLRenderSystem.h. |
|
GL support class, used for creating windows etc.
Definition at line 101 of file OgreGLRenderSystem.h. |
|
Definition at line 115 of file OgreGLRenderSystem.h. |
|
Definition at line 114 of file OgreGLRenderSystem.h. |
|
Definition at line 973 of file OgreRenderSystem.h. |
|
Definition at line 55 of file OgreGLRenderSystem.h. |
|
Definition at line 125 of file OgreGLRenderSystem.h. |
|
Saved manual colour blends.
Definition at line 971 of file OgreRenderSystem.h. |
|
Definition at line 69 of file OgreGLRenderSystem.h. |
|
Definition at line 70 of file OgreGLRenderSystem.h. |
|
The render targets, ordered by priority.
Definition at line 943 of file OgreRenderSystem.h. |
|
The render targets.
Definition at line 941 of file OgreRenderSystem.h. |
|
Definition at line 50 of file OgreGLRenderSystem.h. |
|
Definition at line 73 of file OgreGLRenderSystem.h. |
|
Definition at line 951 of file OgreRenderSystem.h. |
|
Definition at line 66 of file OgreGLRenderSystem.h. |
|
holds texture type settings for every stage
Definition at line 76 of file OgreGLRenderSystem.h. |
|
Definition at line 106 of file OgreGLRenderSystem.h. |
|
Definition at line 965 of file OgreRenderSystem.h. |
|
Definition at line 64 of file OgreGLRenderSystem.h. |
|
Definition at line 961 of file OgreRenderSystem.h. |
|
Definition at line 962 of file OgreRenderSystem.h. |
|
Saved set of world matrices.
Definition at line 968 of file OgreRenderSystem.h. |
|
Definition at line 65 of file OgreGLRenderSystem.h. |
Copyright © 2000-2005 by The OGRE Team
Last modified Sun Apr 10 23:33:01 2005