~thomir-deactivatedaccount/cegui/fix-build

« back to all changes in this revision

Viewing changes to cegui/src/ScriptingModules/LuaScriptModule/package/RenderingSurface.pkg

  • Committer: Thomi Richards
  • Date: 2013-02-06 22:13:36 UTC
  • Revision ID: thomi.richards@canonical.com-20130206221336-rsmud4k50g6nzv50
InitialĀ codeĀ import.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***********************************************************************
 
2
    Enumeration of queue IDs
 
3
***********************************************************************/
 
4
enum RenderQueueID
 
5
{
 
6
    RQ_USER_0,
 
7
    RQ_UNDERLAY,
 
8
    RQ_USER_1,
 
9
    RQ_BASE,
 
10
    RQ_USER_2,
 
11
    RQ_CONTENT_1,
 
12
    RQ_USER_3,
 
13
    RQ_CONTENT_2,
 
14
    RQ_USER_4,
 
15
    RQ_OVERLAY,
 
16
    RQ_USER_5
 
17
};
 
18
 
 
19
/***********************************************************************
 
20
    RenderingSurface
 
21
***********************************************************************/
 
22
class RenderingSurface : public EventSet
 
23
{
 
24
    void addGeometryBuffer(RenderQueueID queue, const GeometryBuffer& buffer);
 
25
    void removeGeometryBuffer(RenderQueueID queue, const GeometryBuffer& buffer);
 
26
 
 
27
    void clearGeometry(RenderQueueID queue);
 
28
    void clearGeometry();
 
29
 
 
30
    void invalidate();
 
31
    bool isInvalidated() const;
 
32
 
 
33
    bool isRenderingWindow() const;
 
34
 
 
35
    void transferRenderingWindow(RenderingWindow& window);
 
36
 
 
37
    //virtual void draw();
 
38
    //RenderingWindow& createRenderingWindow(TextureTarget& target);
 
39
    //void destroyRenderingWindow(RenderingWindow& window);
 
40
    //const RenderTarget& getRenderTarget() const;
 
41
};