the ProxyRenderTarget allows to adjust the pixel scale and offset for a "source" render target.
More...
|
| ProxyRenderTarget (MyGUI::IRenderTarget *target, MyGUI::IntSize viewSize, float hoffset, float voffset) |
|
virtual void | begin () |
|
virtual void | end () |
|
virtual void | doRender (MyGUI::IVertexBuffer *_buffer, MyGUI::ITexture *_texture, size_t _count) |
|
virtual const
MyGUI::RenderTargetInfo & | getInfo () |
|
the ProxyRenderTarget allows to adjust the pixel scale and offset for a "source" render target.
osgMyGUI::ProxyRenderTarget::ProxyRenderTarget |
( |
MyGUI::IRenderTarget * |
target, |
|
|
MyGUI::IntSize |
viewSize, |
|
|
float |
hoffset, |
|
|
float |
voffset |
|
) |
| |
|
inline |
- Parameters
-
target | The target to render to. |
viewSize | The size of the underlying layer node to render. |
hoffset | The horizontal rendering offset, specified as an offset from the left screen edge in range 0-1. |
voffset | The vertical rendering offset, specified as an offset from the top screen edge in range 0-1. |
virtual void osgMyGUI::ProxyRenderTarget::begin |
( |
| ) |
|
|
inlinevirtual |
virtual void osgMyGUI::ProxyRenderTarget::doRender |
( |
MyGUI::IVertexBuffer * |
_buffer, |
|
|
MyGUI::ITexture * |
_texture, |
|
|
size_t |
_count |
|
) |
| |
|
inlinevirtual |
virtual void osgMyGUI::ProxyRenderTarget::end |
( |
| ) |
|
|
inlinevirtual |
virtual const MyGUI::RenderTargetInfo& osgMyGUI::ProxyRenderTarget::getInfo |
( |
| ) |
|
|
inlinevirtual |
float osgMyGUI::ProxyRenderTarget::mHOffset |
|
private |
MyGUI::RenderTargetInfo osgMyGUI::ProxyRenderTarget::mInfo |
|
private |
MyGUI::IRenderTarget* osgMyGUI::ProxyRenderTarget::mTarget |
|
private |
MyGUI::IntSize osgMyGUI::ProxyRenderTarget::mViewSize |
|
private |
float osgMyGUI::ProxyRenderTarget::mVOffset |
|
private |
The documentation for this class was generated from the following file: