#include <OgreGLRenderSystem.h>
Inheritance diagram for Ogre::GLRenderSystem:
Public Types | |||||||||||||
typedef MapIterator< Ogre::RenderTargetMap > | RenderTargetIterator | ||||||||||||
Iterator over RenderTargets. | |||||||||||||
Public Member Functions | |||||||||||||
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) poslong:posint:poslong (display*:screen:windowHandle) or poslong:posint:poslong:poslong (display*:screen:windowHandle:XVisualInfo*) for GLX Default: 0 (None) Key: "parentWindowHandle" [API specific] Description: Parent window handle, for embedding the OGRE context Values: positive integer for W32 (HWND handle) poslong:posint:poslong 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 Key: "border" Description: The type of window border (in windowed mode) Values: none, fixed, resize Default: resize
Key: "outerDimensions" Description: Whether the width/height is expressed as the size of the outer window, rather than the content area Values: true, false Default: false | |||||||||||||
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) | ||||||||||||
Create an object for performing hardware occlusion queries. | |||||||||||||
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 | _switchContext (GLContext *context) | ||||||||||||
Switch GL context, dealing with involved internal cached states too. | |||||||||||||
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. | |||||||||||||
virtual void | destroyHardwareOcclusionQuery (HardwareOcclusionQuery *hq) | ||||||||||||
Destroy a hardware occlusion query object. | |||||||||||||
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. | |||||||||||||
virtual RenderTargetIterator | getRenderTargetIterator (void) | ||||||||||||
Returns a specialised MapIterator over all render targets attached to the RenderSystem. | |||||||||||||
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. | |||||||||||||
virtual void | addListener (Listener *l) | ||||||||||||
Adds a listener to the custom events that this render system can raise. | |||||||||||||
virtual void | removeListener (Listener *l) | ||||||||||||
Remove a listener to the custom events that this render system can raise. | |||||||||||||
virtual const StringVector & | getRenderSystemEvents (void) const | ||||||||||||
Gets a list of the rendersystem specific events that this rendersystem can raise. | |||||||||||||
Protected Types | |||||||||||||
typedef std::list< Listener * > | ListenerList | ||||||||||||
typedef std::list< HardwareOcclusionQuery * > | HardwareOcclusionQueryList | ||||||||||||
Protected Member Functions | |||||||||||||
virtual void | fireEvent (const String &name, const NameValuePairList *params=0) | ||||||||||||
Internal method for firing a rendersystem event. | |||||||||||||
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 | ||||||||||||
StringVector | mEventNames | ||||||||||||
List of names of events this rendersystem may raise. | |||||||||||||
ListenerList | mEventListeners | ||||||||||||
HardwareOcclusionQueryList | mHwOcclusionQueries | ||||||||||||
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 | |||||||||||||
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 | |||||||||||||
unsigned short | mFixedFunctionTextureUnits | ||||||||||||
Number of fixed-function texture units. | |||||||||||||
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 126 of file OgreGLRenderSystem.h. |
|
Definition at line 1052 of file OgreRenderSystem.h. |
|
Definition at line 1049 of file OgreRenderSystem.h. |
|
Definition at line 52 of file OgreGLRenderSystem.h. |
|
Iterator over RenderTargets.
Definition at line 403 of file OgreRenderSystem.h. Referenced by Ogre::RenderSystem::getRenderTargetIterator(). |
|
|
|
|
|
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. |
|
Switch GL context, dealing with involved internal cached states too.
|
|
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. |
|
Adds a listener to the custom events that this render system can raise.
|
|
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. |
|
|
|
|
|
Create an object for performing hardware occlusion queries.
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) poslong:posint:poslong (display*:screen:windowHandle) or poslong:posint:poslong:poslong (display*:screen:windowHandle:XVisualInfo*) for GLX Default: 0 (None) Key: "parentWindowHandle" [API specific] Description: Parent window handle, for embedding the OGRE context Values: positive integer for W32 (HWND handle) poslong:posint:poslong 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 Key: "border" Description: The type of window border (in windowed mode) Values: none, fixed, resize Default: resize Key: "outerDimensions" Description: Whether the width/height is expressed as the size of the outer window, rather than the content area Values: true, false Default: false
Implements Ogre::RenderSystem. |
|
Destroy a hardware occlusion query object.
|
|
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. |
|
Internal method for firing a rendersystem event.
|
|
|
|
Gets the capabilities of the render system.
Definition at line 859 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. |
|
Gets a list of the rendersystem specific events that this rendersystem can raise.
Definition at line 1004 of file OgreRenderSystem.h. References Ogre::StringVector. |
|
Returns a pointer to the render target with the passed name, or NULL if that render target cannot be found.
|
|
Returns a specialised MapIterator over all render targets attached to the RenderSystem.
Definition at line 406 of file OgreRenderSystem.h. References Ogre::RenderSystem::RenderTargetIterator. |
|
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. |
|
Remove a listener to the custom events that this render system can raise.
|
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
Set a clipping plane.
|
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
|
|
|
|
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 1013 of file OgreRenderSystem.h. |
|
Definition at line 1025 of file OgreRenderSystem.h. |
|
Definition at line 104 of file OgreGLRenderSystem.h. |
|
Used to store the capabilities of the graphics card.
Definition at line 1022 of file OgreRenderSystem.h. |
|
Definition at line 53 of file OgreGLRenderSystem.h. |
|
Definition at line 89 of file OgreGLRenderSystem.h. |
|
Definition at line 129 of file OgreGLRenderSystem.h. |
|
Definition at line 1027 of file OgreRenderSystem.h. |
|
Definition at line 124 of file OgreGLRenderSystem.h. |
|
Definition at line 119 of file OgreGLRenderSystem.h. |
|
Definition at line 114 of file OgreGLRenderSystem.h. |
|
Definition at line 118 of file OgreGLRenderSystem.h. |
|
Definition at line 87 of file OgreGLRenderSystem.h. |
|
Definition at line 1050 of file OgreRenderSystem.h. |
|
List of names of events this rendersystem may raise.
Definition at line 1044 of file OgreRenderSystem.h. |
|
Definition at line 1032 of file OgreRenderSystem.h. |
|
Number of fixed-function texture units.
Definition at line 73 of file OgreGLRenderSystem.h. |
|
Definition at line 107 of file OgreGLRenderSystem.h. |
|
GL support class, used for creating windows etc.
Definition at line 98 of file OgreGLRenderSystem.h. |
|
Definition at line 112 of file OgreGLRenderSystem.h. |
|
Definition at line 111 of file OgreGLRenderSystem.h. |
|
Definition at line 1053 of file OgreRenderSystem.h. |
|
Definition at line 1041 of file OgreRenderSystem.h. |
|
Definition at line 49 of file OgreGLRenderSystem.h. |
|
Definition at line 122 of file OgreGLRenderSystem.h. |
|
Saved manual colour blends.
Definition at line 1039 of file OgreRenderSystem.h. |
|
Definition at line 63 of file OgreGLRenderSystem.h. |
|
Definition at line 64 of file OgreGLRenderSystem.h. |
|
The render targets, ordered by priority.
Definition at line 1011 of file OgreRenderSystem.h. |
|
The render targets.
Definition at line 1009 of file OgreRenderSystem.h. |
|
Definition at line 44 of file OgreGLRenderSystem.h. |
|
Definition at line 67 of file OgreGLRenderSystem.h. |
|
Definition at line 1019 of file OgreRenderSystem.h. |
|
Definition at line 60 of file OgreGLRenderSystem.h. |
|
holds texture type settings for every stage
Definition at line 70 of file OgreGLRenderSystem.h. |
|
Definition at line 103 of file OgreGLRenderSystem.h. |
|
Definition at line 1033 of file OgreRenderSystem.h. |
|
Definition at line 58 of file OgreGLRenderSystem.h. |
|
Definition at line 1029 of file OgreRenderSystem.h. |
|
Definition at line 1030 of file OgreRenderSystem.h. |
|
Saved set of world matrices.
Definition at line 1036 of file OgreRenderSystem.h. |
|
Definition at line 59 of file OgreGLRenderSystem.h. |
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Feb 12 13:10:28 2006