The IView video object interface.
More...
#include "murl_video_i_view.h"
Inherited by Murl::Video::View.
The IView video object interface.
This interface represents a viewport used for rendering a scene.
Used internally by Graph::View.
◆ GetObjectInterface() [1/2]
virtual IObject* Murl::Video::IView::GetObjectInterface |
( |
| ) |
|
|
pure virtual |
◆ GetObjectInterface() [2/2]
virtual const IObject* Murl::Video::IView::GetObjectInterface |
( |
| ) |
const |
|
pure virtual |
◆ Enable()
virtual Bool Murl::Video::IView::Enable |
( |
| ) |
|
|
pure virtual |
Enable the view.
- Returns
- true if successful.
◆ Disable()
virtual Bool Murl::Video::IView::Disable |
( |
| ) |
|
|
pure virtual |
Disable the view.
- Returns
- true if successful.
◆ Set()
virtual Bool Murl::Video::IView::Set |
( |
IProgram * |
currentProgram | ) |
|
|
pure virtual |
Attach the view to the current GPU program.
- Parameters
-
currentProgram | The current GPU program. |
- Returns
- true if successful.
◆ SetDepthOrder()
virtual Bool Murl::Video::IView::SetDepthOrder |
( |
SInt32 |
depthOrder | ) |
|
|
pure virtual |
Set the view's absolute depth order.
- Parameters
-
depthOrder | The absolute order of this view within its render target. |
- Returns
- true if successful.
◆ GetDepthOrder()
virtual SInt32 Murl::Video::IView::GetDepthOrder |
( |
| ) |
const |
|
pure virtual |
Get the view's absolute depth order.
- Returns
- The absolute order of this view within its render target.
◆ SetMask()
Set the view mask.
- Parameters
-
x1 | The left mask coordinate in pixels. |
y1 | The bottom mask coordinate in pixels. |
x2 | The right mask coordinate in pixels. |
y2 | The top mask coordinate in pixels. |
- Returns
- true if successful.
◆ GetMaskX1()
virtual SInt32 Murl::Video::IView::GetMaskX1 |
( |
| ) |
const |
|
pure virtual |
Get the view mask's left border coordinate.
- Returns
- The left mask coordinate in pixels.
◆ GetMaskX2()
virtual SInt32 Murl::Video::IView::GetMaskX2 |
( |
| ) |
const |
|
pure virtual |
Get the view mask's right border coordinate.
- Returns
- The right mask coordinate in pixels.
◆ GetMaskY1()
virtual SInt32 Murl::Video::IView::GetMaskY1 |
( |
| ) |
const |
|
pure virtual |
Get the view mask's bottom border coordinate.
- Returns
- The bottom mask coordinate in pixels.
◆ GetMaskY2()
virtual SInt32 Murl::Video::IView::GetMaskY2 |
( |
| ) |
const |
|
pure virtual |
Get the view mask's top border coordinate.
- Returns
- The top mask coordinate in pixels.
◆ SetFrameBuffer()
Set the view frame buffer.
- Parameters
-
frameBuffer | The frame buffer to use, or null if rendering to the back buffer. |
- Returns
- true if successful.
◆ GetFrameBuffer()
virtual IFrameBuffer* Murl::Video::IView::GetFrameBuffer |
( |
| ) |
const |
|
pure virtual |
Get the view frame buffer.
- Returns
- The frame buffer used, or null if rendering to the back buffer.
The documentation for this interface was generated from the following file: