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

RmGfxUtil.h

Go to the documentation of this file.
00001 //=============================================================================
00002 // filename: RmGfxUtil.h                                                       
00003 //                                                                             
00004 //              ATI Research, Inc.                                             
00005 //              3D Application Research Group                                  
00006 //                                                                             
00007 //=============================================================================
00008 //   (C) 2004 ATI Research, Inc.  All rights reserved.                         
00009 //=============================================================================
00010 
00011 #ifndef _RM_GFX_UTILITIES_H_
00012 #define _RM_GFX_UTILITIES_H_
00013 
00014 #include <GfxUtil/RmGfxUtilTypes.h>
00015 
00016 //=============================================================================
00020 //=============================================================================
00021 
00022 //-----------------------------------------------------------------------------
00026 //-----------------------------------------------------------------------------
00027 RMGFXUTIL_API bool RmGfxUtilD3DInitialize();
00028 
00029 //-----------------------------------------------------------------------------
00033 //-----------------------------------------------------------------------------
00034 RMGFXUTIL_API void RmGfxUtilInit();
00035 
00036 //-----------------------------------------------------------------------------
00040 //-----------------------------------------------------------------------------
00041 RMGFXUTIL_API void RmGfxUtilUninitialize();
00042 
00043 //-----------------------------------------------------------------------------
00058 //-----------------------------------------------------------------------------
00059 RMGFXUTIL_API bool RmGfxBltSurface( RmSurface *pDestSurface,
00060                                     RmSurface *pSrcSurface,
00061                                     RmPixelFormatType destPixelFormat = RM_PIXELFORMAT_UNKNOWN,
00062                                     int   destWidth   = 0, 
00063                                     int   destHeight  = 0,
00064                                     bool  bAlphaOnly  = false );
00065 
00066 
00067 //-----------------------------------------------------------------------------
00075 //-----------------------------------------------------------------------------
00076 RMGFXUTIL_API bool RmGfxFlipSurfaceY( RmSurface *pDestSurface,
00077                                       RmSurface *pSrcSurface );
00078 
00079 //-----------------------------------------------------------------------------
00094 //-----------------------------------------------------------------------------
00095 RMGFXUTIL_API bool RmGfxBltVolume( RmVolume *pDestVolume,
00096                                    RmVolume *pSrcVolume,
00097                                    RmPixelFormatType destPixelFormat = RM_PIXELFORMAT_UNKNOWN,
00098                                    int   destWidth   = 0, 
00099                                    int   destHeight  = 0,
00100                                    int   destDepth   = 0 );
00101 
00102 //-----------------------------------------------------------------------------
00108 //-----------------------------------------------------------------------------
00109 RMGFXUTIL_API bool RmGfxFormatContainsAlpha( RmPixelFormatType pixelFormatType );
00110 
00111 //-----------------------------------------------------------------------------
00123 //-----------------------------------------------------------------------------
00124 RMGFXUTIL_API HBITMAP RmGfxCreateTextureBitmap( HDC                  hDC,
00125                                                 RmTextureVariable*   pRmTextureVariable,
00126                                                 int                  nBitmapWidth,
00127                                                 int                  nBitmapHeight,
00128                                                 COLORREF             rgbBackground,
00129                                                 bool                 bAlphaOnly = false,
00130                                                 int                  nMipMapLevel = 0,
00131                                                 int                  nVolumeDepth = -1 );
00132                                                                                                 
00133 
00134 #endif

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