Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

RmGfxUtilOGL.h File Reference

#include <GfxUtil/RmGfxUtilTypes.h>
#include <gl/gl.h>
#include <gl/glext.h>

Go to the source code of this file.

Functions

RMGFXUTIL_API bool RmGfxSetOGLTexture (RmTexture *pSrcTexture, bool bNeedToFlip, PFNGLTEXIMAGE3DPROC pTexImage3D=NULL)
 Set OGL Texture Surface from RmTexture.


Detailed Description

OpenGL related Graphics utilities

Function Documentation

RMGFXUTIL_API bool RmGfxSetOGLTexture RmTexture pSrcTexture,
bool  bNeedToFlip,
PFNGLTEXIMAGE3DPROC  pTexImage3D = NULL
 

Set OGL Texture Surface from RmTexture.

Set OGL Texture Surface from RmTexture

  • OpenGL texture must have been binded before calling this function.

Parameters:
pSrcTexture Source RM texture
openGL extention function pointer to TexImage3D
bNeedToFlip If true, surface will be flipped in y direction before sent to OpenGL.
Returns:
True on success


Generated on Fri Feb 25 16:08:43 2005 for RenderMonkey SDK by doxygen 1.3.6