KudanAR - iOS  1.6.0
ARRenderTargetMain Class Reference

#import <ARRenderTargetMain.h>

Inherits ARRenderTarget.

Instance Methods

(instancetype) - initWithView:
 
(void) - didReceiveTouch:
 
- Instance Methods inherited from ARRenderTarget
(instancetype) - initWithWidth:height:
 
(void) - addViewPort:
 
(void) - addViewPort:zOrder:
 
(void) - removeViewPort:
 
(void) - clearViewPorts
 
(ARViewPort *) - createDefaultViewPort
 
(void) - addDelegate:
 
(UIImage *) - screenshot
 
(BOOL) - checkFBO
 
(void) - bindBuffer
 
(void) - bindCaptureBuffer
 
(void) - draw
 
(void) - drawForCapture
 

Properties

UIView * view
 
BOOL isRetina
 
- Properties inherited from ARRenderTarget
NSArray * viewPorts
 
NSUInteger numberOfViewPorts
 
float width
 
float height
 
NSArray * delegates
 
NSInteger priority
 
BOOL hasDepth
 
BOOL hasStencil
 
BOOL manualDraw
 
NSDictionary * captureColourToNode
 
BOOL touchEventReceived
 
CGPoint touchPoint
 

Detailed Description

A render target representing the main view. Backing provided by the OS.

Method Documentation

◆ didReceiveTouch:

- (void) didReceiveTouch: (CGPoint)  point

Touch was received on this render target.

Parameters
pointThe coordinates in the render target of the touch location.

◆ initWithView:

- (instancetype) initWithView: (UIView *)  view

Initialise with an existing view, which is responsible for the backing.

Example of use:

ARRenderTargetMain *renderTargetMain = [[ARRenderTargetMain alloc] initWithView:self.view];
Parameters
viewThe UIView to use for backing.
Returns
The initialised render target.

Property Documentation

◆ isRetina

- (BOOL) isRetina
readnonatomicassign

Whether this render target renders at retina resolution.

◆ view

- (UIView*) view
readwritenonatomicweak

The UIView that backs this render target.


The documentation for this class was generated from the following files:
ARRenderTargetMain
Definition: ARRenderTargetMain.h:11