KudanAR - Android  1.6.0
ARSurfaceRenderer Class Reference

Inherits Renderer.

Public Member Functions

 ARSurfaceRenderer (ARView view)
 
void onDrawFrame (GL10 gl)
 
void onSurfaceCreated (GL10 gl, EGLConfig config)
 
void onSurfaceChanged (GL10 gl, int width, int height)
 

Detailed Description

A class that implements the GLSurfaceView.Renderer. Used for rendering each frame.

Constructor & Destructor Documentation

◆ ARSurfaceRenderer()

ARSurfaceRenderer.ARSurfaceRenderer ( ARView  view)

Initialises ARSurfaceRenderer with its corresponding ARView.

Parameters
viewThe ARView being rendered to.

Member Function Documentation

◆ onDrawFrame()

void ARSurfaceRenderer.onDrawFrame ( GL10  gl)

GLSurfaceView.Renderer abstract method.

Parameters
gl

◆ onSurfaceChanged()

void ARSurfaceRenderer.onSurfaceChanged ( GL10  gl,
int  width,
int  height 
)

GLSurfaceView.Renderer abstract method.

Parameters
gl
width
height

◆ onSurfaceCreated()

void ARSurfaceRenderer.onSurfaceCreated ( GL10  gl,
EGLConfig  config 
)

GLSurfaceView.Renderer abstract method.

Parameters
gl
config

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