~sil2100/nux/precise_sru-1

« back to all changes in this revision

Viewing changes to NuxGraphics/IOpenGLSurface.h

  • Committer: Didier Roche
  • Date: 2012-02-03 07:31:02 UTC
  • mfrom: (159.3.33)
  • Revision ID: didier.roche@canonical.com-20120203073102-2dhbgqyn99885shx
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
    //! Copy the render target into the texture mip level. 
49
49
    void CopyRenderTarget(int x, int y, int width, int height);
50
50
 
51
 
    //! Return the a pointer to the texture mip level data.
52
 
    void* GetSurfaceData(int &width, int &height, int &format);
 
51
    //! Return the mipmap data.
 
52
    /*!
 
53
        Return the mipmap data.
 
54
 
 
55
        @param width Returns the width in pixel of the image data.
 
56
        @param height Returns the height in pixel of the image data.
 
57
        @param stride Returns the row stride of the image data.
 
58
    */
 
59
    unsigned char* GetSurfaceData(int &width, int &height, int &stride);
53
60
 
54
61
  private:
55
62
    virtual ~IOpenGLSurface();