Commit 9bbe75de authored by hybrid's avatar hybrid

Minor docs update.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1636 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 0c4a4ea5
...@@ -102,9 +102,7 @@ namespace video ...@@ -102,9 +102,7 @@ namespace video
\param windowId Handle of another window, if you want the \param windowId Handle of another window, if you want the
bitmap to be displayed on another window. If this is null, bitmap to be displayed on another window. If this is null,
everything will be displayed in the default window. everything will be displayed in the default window.
Note: This does not work in fullscreen mode and is not Note: This feature is not fully implemented for all devices.
implemented for all devices (only for D3D8, D3D9, Software1 and
Software2, and only for Windows).
\param sourceRect Pointer to a rectangle defining the source \param sourceRect Pointer to a rectangle defining the source
rectangle of the area to be presented. Set to null to present rectangle of the area to be presented. Set to null to present
everything. Note: not implemented in all devices. everything. Note: not implemented in all devices.
...@@ -327,11 +325,7 @@ namespace video ...@@ -327,11 +325,7 @@ namespace video
render target as texture on it when you are rendering the scene render target as texture on it when you are rendering the scene
into this render target at the same time. It is usually only into this render target at the same time. It is usually only
possible to render into a texture between the possible to render into a texture between the
IVideoDriver::beginScene() and endScene() method calls. And IVideoDriver::beginScene() and endScene() method calls.
please also note that the scene will be rendered upside down
into the texture in some drivers (e.g. OpenGL vs. D3D). A
simple workaround for this is to flip the texture coordinates
of the geometry where the render target texture is displayed on.
\param texture New render target. Must be a texture created with \param texture New render target. Must be a texture created with
IVideoDriver::addRenderTargetTexture(). If set to 0, it sets IVideoDriver::addRenderTargetTexture(). If set to 0, it sets
the previous render target which was set before the last the previous render target which was set before the last
...@@ -339,9 +333,9 @@ namespace video ...@@ -339,9 +333,9 @@ namespace video
\param clearBackBuffer Clears the backbuffer of the render \param clearBackBuffer Clears the backbuffer of the render
target with the color parameter target with the color parameter
\param clearZBuffer Clears the zBuffer of the rendertarget. \param clearZBuffer Clears the zBuffer of the rendertarget.
Note that, because the frame buffer shares the zbuffer with the Note that because the frame buffer may share the zbuffer with
rendertarget, its zbuffer will be partially cleared too with the rendertarget, its zbuffer might be partially cleared too
this. by this.
\param color The background color for the render target. \param color The background color for the render target.
\return True if sucessful and false if not. */ \return True if sucessful and false if not. */
virtual bool setRenderTarget(video::ITexture* texture, virtual bool setRenderTarget(video::ITexture* texture,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment