1 #ifndef AWFUL_SCENEGRAPH_VIEWPORT_H_
2 #define AWFUL_SCENEGRAPH_VIEWPORT_H_
12 ViewPort( const Camera
* pCamera_
= 0 ) :
13 m_pCamera( pCamera_
),
18 void setRect( long Left_
, long Top_
, long Width_
, long Height_
);
19 void setPerspective( float _Fov
, float _Ratio
, float _ZNear
, float _ZFar
);
20 bool beginScene() const;
21 void endScene() const;
23 void setCamera( const Camera
* pCamera_
)
28 const Camera
* getCamera() const
33 void setClear( bool bClear_
)
39 ConstPointer
< Camera
> m_pCamera
;