#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
Key: "useNVPerfHUD" [DX9 specific] Description: Enable the use of nVidia NVPerfHUD Values: true, false Default: false | |||||||||||
virtual MultiRenderTarget * | createMultiRenderTarget (const String &name) | ||||||||||
Surfaces can be bound and unbound at will. This fails if mCapabilities->numMultiRenderTargets() is smaller than 2. | |||||||||||
void | destroyRenderWindow (RenderWindow *pWin) | ||||||||||
See RenderSystem. | |||||||||||
String | getErrorDescription (long errorNumber) const | ||||||||||
See RenderSystem. | |||||||||||
VertexElementType | getColourVertexElementType (void) const | ||||||||||
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 | _setPointParameters (Real size, bool attenuationEnabled, Real constant, Real linear, Real quadratic, Real minSize, Real maxSize) | ||||||||||
See RenderSystem. | |||||||||||
void | _setPointSpritesEnabled (bool enabled) | ||||||||||
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, const TextureUnitState::UVWAddressingMode &uvw) | ||||||||||
See RenderSystem. | |||||||||||
void | _setTextureBorderColour (size_t stage, const ColourValue &colour) | ||||||||||
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 | _convertProjectionMatrix (const Matrix4 &matrix, 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. | |||||||||||
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 | _setPolygonMode (PolygonMode 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 | bindGpuProgramPassIterationParameters (GpuProgramType gptype) | ||||||||||
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 | _unregisterContext (GLContext *context) | ||||||||||
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. | |||||||||||
RenderTexture * | createRenderTexture (const String &name, unsigned int width, unsigned int height, TextureType texType=TEX_TYPE_2D, PixelFormat internalFormat=PF_X8R8G8B8, const NameValuePairList *miscParams=0) | ||||||||||
Creates and registers a render texture object. | |||||||||||
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. | |||||||||||
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. | |||||||||||
const RenderSystemCapabilities * | getCapabilities (void) const | ||||||||||
Gets the capabilities of the render system. | |||||||||||
virtual bool | isGpuProgramBound (GpuProgramType gptype) | ||||||||||
Returns whether or not a Gpu program of the given type is currently bound. | |||||||||||
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. | |||||||||||
void | setCurrentPassIterationCount (const size_t count) | ||||||||||
set the current multi pass count value. | |||||||||||
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 | |||||||||||
bool | updatePassIterationRenderState (void) | ||||||||||
updates pass iteration rendering state including bound gpu program parameter pass iteration auto constant entry | |||||||||||
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. | |||||||||||
GpuProgramParametersSharedPtr | mActiveVertexGpuProgramParameters | ||||||||||
The Active GPU programs and gpu program parameters. | |||||||||||
GpuProgramParametersSharedPtr | mActiveFragmentGpuProgramParameters | ||||||||||
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 | ||||||||||
size_t | mCurrentPassIterationCount | ||||||||||
number of times to render the current state | |||||||||||
StringVector | mEventNames | ||||||||||
List of names of events this rendersystem may raise. | |||||||||||
ListenerList | mEventListeners | ||||||||||
HardwareOcclusionQueryList | mHwOcclusionQueries | ||||||||||
bool | mVertexProgramBound | ||||||||||
bool | mFragmentProgramBound | ||||||||||
Private Types | |||||||||||
typedef std::vector< Vector4 > | PlaneList2 | ||||||||||
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 | ||||||||||
GLint | getTextureAddressingMode (TextureUnitState::TextureAddressingMode tam) 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 (RenderTarget *primary) | ||||||||||
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 | ||||||||||
uint32 | mStencilMask | ||||||||||
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 | ||||||||||
GLRTTManager * | mRTTManager | ||||||||||
Manager object for creating render textures. |
Definition at line 40 of file OgreGLRenderSystem.h.
|
Definition at line 1111 of file OgreRenderSystem.h. |
|
Definition at line 1108 of file OgreRenderSystem.h. |
|
Definition at line 52 of file OgreGLRenderSystem.h. |
|
Iterator over RenderTargets.
Definition at line 399 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.
|
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
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. |
|
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. |
|
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. |
|
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.
Reimplemented from Ogre::RenderSystem. |
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
Clears one or more frame buffers on the active render target.
Implements Ogre::RenderSystem. |
|
Generates a packed data version of the passed in ColourValue suitable for use as with this RenderSystem.
|
|
|
|
|
|
Create an object for performing hardware occlusion queries.
Implements Ogre::RenderSystem. |
|
Surfaces can be bound and unbound at will. This fails if mCapabilities->numMultiRenderTargets() is smaller than 2.
Implements Ogre::RenderSystem. |
|
Creates and registers a render texture object.
Reimplemented in Ogre::D3D9RenderSystem. |
|
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 Key: "useNVPerfHUD" [DX9 specific] Description: Enable the use of nVidia NVPerfHUD 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 893 of file OgreRenderSystem.h. |
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
|
|
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 1051 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 402 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. |
|
|
|
Returns whether or not a Gpu program of the given type is currently bound.
|
|
|
|
|
|
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. |
|
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.
Definition at line 1009 of file OgreRenderSystem.h. |
|
|
|
|
|
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.
Reimplemented from Ogre::RenderSystem. |
|
updates pass iteration rendering state including bound gpu program parameter pass iteration auto constant entry
|
|
See RenderSystem.
Implements Ogre::RenderSystem. |
|
Definition at line 1063 of file OgreRenderSystem.h. |
|
The Active render target.
Definition at line 1060 of file OgreRenderSystem.h. |
|
The Active GPU programs and gpu program parameters.
Definition at line 1062 of file OgreRenderSystem.h. |
|
Definition at line 1075 of file OgreRenderSystem.h. |
|
Definition at line 107 of file OgreGLRenderSystem.h. |
|
Used to store the capabilities of the graphics card.
Definition at line 1072 of file OgreRenderSystem.h. |
|
Definition at line 53 of file OgreGLRenderSystem.h. |
|
Definition at line 92 of file OgreGLRenderSystem.h. |
|
Definition at line 1077 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. |
|
number of times to render the current state
Definition at line 1094 of file OgreRenderSystem.h. |
|
Definition at line 121 of file OgreGLRenderSystem.h. |
|
Definition at line 88 of file OgreGLRenderSystem.h. |
|
Definition at line 1109 of file OgreRenderSystem.h. |
|
List of names of events this rendersystem may raise.
Definition at line 1103 of file OgreRenderSystem.h. |
|
Definition at line 1082 of file OgreRenderSystem.h. |
|
Number of fixed-function texture units.
Definition at line 73 of file OgreGLRenderSystem.h. |
|
Definition at line 1115 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 1112 of file OgreRenderSystem.h. |
|
Definition at line 1091 of file OgreRenderSystem.h. |
|
Definition at line 49 of file OgreGLRenderSystem.h. |
|
Definition at line 125 of file OgreGLRenderSystem.h. |
|
Saved manual colour blends.
Definition at line 1089 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 1058 of file OgreRenderSystem.h. |
|
The render targets.
Definition at line 1056 of file OgreRenderSystem.h. |
|
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 134 of file OgreGLRenderSystem.h. |
|
Definition at line 90 of file OgreGLRenderSystem.h. |
|
Definition at line 44 of file OgreGLRenderSystem.h. |
|
Definition at line 67 of file OgreGLRenderSystem.h. |
|
Definition at line 1069 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 106 of file OgreGLRenderSystem.h. |
|
Definition at line 1083 of file OgreRenderSystem.h. |
|
Definition at line 1114 of file OgreRenderSystem.h. |
|
Definition at line 58 of file OgreGLRenderSystem.h. |
|
Definition at line 1079 of file OgreRenderSystem.h. |
|
Definition at line 1080 of file OgreRenderSystem.h. |
|
Saved set of world matrices.
Definition at line 1086 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 Mar 12 14:53:15 2006