MaxstARSDK
All Classes Namespaces Files Functions Variables
com.maxst.ar.BackgroundRenderer Class Reference
Collaboration diagram for com.maxst.ar.BackgroundRenderer:
Collaboration graph

Classes

enum  RenderingOption
 

Public Member Functions

BackgroundTexture getBackgroundTexture ()
 
void begin (BackgroundTexture backgroundTexture)
 
void renderBackgroundToTexture ()
 
void end ()
 
void setRenderingOption (RenderingOption ...args)
 

Static Public Member Functions

static BackgroundRenderer getInstance ()
 

Detailed Description

Do background rendering. Background rendering includes camera image, feature point, slam initialization progress bar, watermark, surface mesh

Member Function Documentation

◆ begin()

void com.maxst.ar.BackgroundRenderer.begin ( BackgroundTexture  backgroundTexture)

Prepare background rendering to BackgroundTexture

Parameters
backgroundTextureTarget texture for background rendering

◆ end()

void com.maxst.ar.BackgroundRenderer.end ( )

End background rendering to BackgroundTexture

◆ getBackgroundTexture()

BackgroundTexture com.maxst.ar.BackgroundRenderer.getBackgroundTexture ( )

Get texture for background rendering

Returns
BackgroundTexture instance if texture created

◆ getInstance()

static BackgroundRenderer com.maxst.ar.BackgroundRenderer.getInstance ( )
static

Get BackgroundRenderer instance

Returns
BackgroundRenderer class instance

◆ renderBackgroundToTexture()

void com.maxst.ar.BackgroundRenderer.renderBackgroundToTexture ( )

Rendering background to BackgroundTexture

◆ setRenderingOption()

void com.maxst.ar.BackgroundRenderer.setRenderingOption ( RenderingOption ...  args)

Set additional rendering option. Slam feature point, Surface mesh, etc. Should be called after initRendering

Parameters
argsRenderingOption values

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