KudanAR - iOS  1.6.0
ARCameraBackgroundMaterial Class Reference

#import <ARCameraBackgroundMaterial.h>

Inherits ARMaterial.

Instance Methods

(instancetype) - initWithTexture:textureUV:
 
- Instance Methods inherited from ARMaterial
(void) - postRender
 
(BOOL) - prepareRendererWithNode: [implementation]
 

Properties

ARMatrix4markerModelViewProjection
 
ARTexturecameraTexture
 
ARTexturecameraTextureUV
 
- Properties inherited from ARMaterial
NSString * name
 
BOOL isTranslucent
 
ARBlendMode blendMode
 
BOOL depthTest
 
BOOL depthWrite
 
BOOL colourWrite
 
ARFaceCullMode cullMode
 
ARShaderProgramshaderProgram [implementation]
 

Detailed Description

A material responsible for drawing the camera feed. Used in ARExtractedCameraTexture.

Method Documentation

◆ initWithTexture:textureUV:

- (instancetype) initWithTexture: (ARTexture *)  texture
textureUV: (ARTexture *)  textureUV 

Initialises ARCameraBackgroundMaterial with a luma amd chroma texture.

Parameters
textureCamera luma texture.
textureUVCamera chroma texture.
Returns
ARCameraBackgroundMaterial

Property Documentation

◆ cameraTexture

- (ARTexture*) cameraTexture
readwritenonatomicassign

The extracted camera luma texture.

◆ cameraTextureUV

- (ARTexture*) cameraTextureUV
readwritenonatomicassign

The extracted camera chroma texture.

◆ markerModelViewProjection

- (ARMatrix4*) markerModelViewProjection
readwritenonatomicassign

The model view projection matrix of the portion of the camera to be rendered.


The documentation for this class was generated from the following files: