|
nux-0.9.46
|
#include <NuxGraphics/IOpenGLSurface.h>
Public Member Functions | |
| virtual int | RefCount () const |
| int | LockRect (SURFACE_LOCKED_RECT *pLockedRect, const SURFACE_RECT *pRect) |
| int | UnlockRect () |
| BitmapFormat | GetPixelFormat () const |
| int | GetWidth () const |
| int | GetHeight () const |
| int | GetMipLevel () const |
| int | GetSurfaceTarget () const |
| int | GetDesc (SURFACE_DESC *pDesc) |
| void | CopyRenderTarget (int x, int y, int width, int height) |
| Copy the render target into the texture mip level. | |
| void * | GetSurfaceData (int &width, int &height, int &format) |
| Return the a pointer to the texture mip level data. | |
Friends | |
| class | IOpenGLTexture2D |
| class | IOpenGLRectangleTexture |
| class | IOpenGLCubeTexture |
| class | IOpenGLVolumeTexture |
| class | IOpenGLAnimatedTexture |
| class | ObjectPtr< IOpenGLSurface > |
| void nux::IOpenGLSurface::CopyRenderTarget | ( | int | x, |
| int | y, | ||
| int | width, | ||
| int | height | ||
| ) |
Copy the render target into the texture mip level.
| int nux::IOpenGLSurface::GetDesc | ( | SURFACE_DESC * | pDesc | ) | [inline] |
| int nux::IOpenGLSurface::GetHeight | ( | ) | const [inline] |
References nux::IOpenGLBaseTexture::_Height, nux::IOpenGLBaseTexture::_PixelFormat, nux::ImageSurface::GetLevelDim(), and nuxAssert.
Referenced by GetDesc().
| int nux::IOpenGLSurface::GetMipLevel | ( | ) | const [inline] |
| BitmapFormat nux::IOpenGLSurface::GetPixelFormat | ( | ) | const [inline] |
References nux::BITFMT_UNKNOWN, nux::IOpenGLBaseTexture::GetPixelFormat(), and nuxAssert.
Referenced by GetDesc().
| void* nux::IOpenGLSurface::GetSurfaceData | ( | int & | width, |
| int & | height, | ||
| int & | format | ||
| ) |
Return the a pointer to the texture mip level data.
| int nux::IOpenGLSurface::GetSurfaceTarget | ( | ) | const [inline] |
| int nux::IOpenGLSurface::GetWidth | ( | ) | const [inline] |
References nux::IOpenGLBaseTexture::_PixelFormat, nux::IOpenGLBaseTexture::_Width, nux::ImageSurface::GetLevelDim(), and nuxAssert.
Referenced by GetDesc().
| int nux::IOpenGLSurface::LockRect | ( | SURFACE_LOCKED_RECT * | pLockedRect, |
| const SURFACE_RECT * | pRect | ||
| ) |
| virtual int nux::IOpenGLSurface::RefCount | ( | ) | const [virtual] |
Reimplemented from nux::IOpenGLResource.
| int nux::IOpenGLSurface::UnlockRect | ( | ) |
friend class IOpenGLAnimatedTexture [friend] |
Reimplemented from nux::IOpenGLResource.
friend class IOpenGLCubeTexture [friend] |
Reimplemented from nux::IOpenGLResource.
friend class IOpenGLRectangleTexture [friend] |
Reimplemented from nux::IOpenGLResource.
friend class IOpenGLTexture2D [friend] |
Reimplemented from nux::IOpenGLResource.
friend class IOpenGLVolumeTexture [friend] |
Reimplemented from nux::IOpenGLResource.
friend class ObjectPtr< IOpenGLSurface > [friend] |