KudanAR - iOS  1.6.0
ARRenderTargetTexture Class Reference

#import <ARRenderTargetTexture.h>

Inherits ARRenderTarget.

Inherited by ARExtractedCameraTexture.

Instance Methods

(instancetype) - initWithWidth:height:
 
- Instance Methods inherited from ARRenderTarget
(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

ARTexturetexture
 
- 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 backed by a texture that can be used in further rendering.

Method Documentation

◆ initWithWidth:height:

- (instancetype) initWithWidth: (float)  width
height: (float)  height 

Initialise this render target texture with the given dimensions.

Example of use:

ARRenderTargetTexture *renderTargetTexture = [[ARRenderTargetTexture alloc] initWithWidth:100.0 height:100.0];
Parameters
widthThe width of the texture.
heightThe height of the texture.
Returns
The initialised render target texture.

Reimplemented from ARRenderTarget.

Reimplemented in ARExtractedCameraTexture.

Property Documentation

◆ texture

- (ARTexture*) texture
readwritenonatomicassign

The ARTexture this render target renders to.


The documentation for this class was generated from the following files:
ARRenderTarget::height
float height
Definition: ARRenderTarget.h:48
ARRenderTargetTexture
Definition: ARRenderTargetTexture.h:10