nux-0.9.48

nux::IOpenGLSurface Class Reference

#include <NuxGraphics/IOpenGLSurface.h>

Inheritance diagram for nux::IOpenGLSurface:
nux::IOpenGLResource nux::Object nux::Trackable

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 >

Member Function Documentation

void nux::IOpenGLSurface::CopyRenderTarget ( int  x,
int  y,
int  width,
int  height 
)

Copy the render target into the texture mip level.

int nux::IOpenGLSurface::GetHeight ( ) const [inline]
int nux::IOpenGLSurface::GetMipLevel ( ) const [inline]
BitmapFormat nux::IOpenGLSurface::GetPixelFormat ( ) const [inline]
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]
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 ( )

Friends And Related Function Documentation

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]

The documentation for this class was generated from the following file: