Inherited by ARRenderTargetTexture, and ARTextureRenderTarget.
An ARRenderTarget represents a target buffer for rendering content offscreen.
◆ ARRenderTarget()
ARRenderTarget.ARRenderTarget |
( |
| ) |
|
◆ addViewPort()
void ARRenderTarget.addViewPort |
( |
ARViewPort |
viewPort | ) |
|
Add an ARViewPort to the list of ARRenderTargets ARViewPorts.
- Parameters
-
◆ bind()
void ARRenderTarget.bind |
( |
| ) |
|
◆ clear()
void ARRenderTarget.clear |
( |
| ) |
|
Clear depth/colour buffer if it is set to be cleared.
◆ create()
void ARRenderTarget.create |
( |
| ) |
|
◆ draw()
void ARRenderTarget.draw |
( |
| ) |
|
◆ getCamera()
◆ getPriority()
int ARRenderTarget.getPriority |
( |
| ) |
|
Returns the priority of this render target relative to other render targets. Any value is fine. Lower is rendered first.
- Returns
- The priority of this render target relative to other render targets.
◆ getShouldClear()
boolean ARRenderTarget.getShouldClear |
( |
| ) |
|
Return whether the colour buffer should be cleared.
- Returns
- boolean
◆ getShouldClearDepth()
boolean ARRenderTarget.getShouldClearDepth |
( |
| ) |
|
Return whether the depth buffer should be cleared.
- Returns
- boolean
◆ getViewPorts()
Returns the list of ARViewPort objects that this render target contains. These are rendered based on viewport z-order.
- Returns
- The list of ARViewPorts this ARRenderTarget contains.
◆ screenshot()
Bitmap ARRenderTarget.screenshot |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
Take a screenshot.
- Parameters
-
width | Width of the screenshot. |
height | Height of the screenshot. |
- Returns
- Bitmap
◆ setCamera()
void ARRenderTarget.setCamera |
( |
ARCamera |
camera | ) |
|
◆ setPriority()
void ARRenderTarget.setPriority |
( |
int |
priority | ) |
|
Sets the priority of the ARRRenderTarget the lower values are rendered first.
- Parameters
-
◆ setShouldClear()
void ARRenderTarget.setShouldClear |
( |
boolean |
shouldClear | ) |
|
Sets whether the colour buffer should be cleared.
- Parameters
-
◆ setShouldClearDepth()
void ARRenderTarget.setShouldClearDepth |
( |
boolean |
shouldClearDepth | ) |
|
Set whether the depth buffer should be cleared.
- Parameters
-
The documentation for this class was generated from the following file: