Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Sveder/CardboardPassthrough
/ functions
Functions
53 in github.com/Sveder/CardboardPassthrough
⨍
Functions
53
◇
Types & classes
22
↓ 2 callers
Method
draw
(GL10 gl)
OpenGL Version/src/com/sveder/hwopengl/Cube.java:62
↓ 2 callers
Method
loadGLShader
Converts a raw text file, saved as a resource, into an OpenGL ES shader @param type The type of shader we will be creating. @param resId The resource
Cardboard Version/src/com/sveder/cardboardpassthrough/MainActivity.java:179
↓ 2 callers
Method
setColor
(int color)
Cardboard Version/src/com/sveder/cardboardpassthrough/CardboardOverlayView.java:130
↓ 2 callers
Method
setOffset
(float offset)
Cardboard Version/src/com/sveder/cardboardpassthrough/CardboardOverlayView.java:143
↓ 2 callers
Method
setText
(String text)
Cardboard Version/src/com/sveder/cardboardpassthrough/CardboardOverlayView.java:135
↓ 2 callers
Method
setTextAlpha
(float alpha)
Cardboard Version/src/com/sveder/cardboardpassthrough/CardboardOverlayView.java:94
↓ 2 callers
Method
setTextViewAlpha
(float alpha)
Cardboard Version/src/com/sveder/cardboardpassthrough/CardboardOverlayView.java:139
↓ 2 callers
Method
startCamera
(int texture)
OpenGL Version/src/com/sveder/hwopengl/MainActivity.java:50
↓ 1 callers
Method
createTexture
(GL10 gl)
OpenGL Version/src/com/sveder/hwopengl/MyGLRenderer.java:54
↓ 1 callers
Method
createTexture
()
Cardboard Version/src/com/sveder/cardboardpassthrough/MainActivity.java:154
↓ 1 callers
Method
getRenderer
()
OpenGL Version/src/com/sveder/hwopengl/MyGLSurfaceView.java:22
↓ 1 callers
Method
setColor
(int color)
Cardboard Version/src/com/sveder/cardboardpassthrough/CardboardOverlayView.java:99
↓ 1 callers
Method
setDepthOffset
(float offset)
Cardboard Version/src/com/sveder/cardboardpassthrough/CardboardOverlayView.java:84
↓ 1 callers
Method
setSurface
(SurfaceTexture _surface)
OpenGL Version/src/com/sveder/hwopengl/MyGLRenderer.java:113
↓ 1 callers
Method
setText
(String text)
Cardboard Version/src/com/sveder/cardboardpassthrough/CardboardOverlayView.java:89
↓ 1 callers
Method
show3DToast
(String message)
Cardboard Version/src/com/sveder/cardboardpassthrough/CardboardOverlayView.java:67
↓ 1 callers
Method
startCamera
(int texture)
Cardboard Version/src/com/sveder/cardboardpassthrough/MainActivity.java:136
Method
CardboardOverlayEyeView
(Context context, AttributeSet attrs)
Cardboard Version/src/com/sveder/cardboardpassthrough/CardboardOverlayView.java:115
Method
CardboardOverlayView
(Context context, AttributeSet attrs)
Cardboard Version/src/com/sveder/cardboardpassthrough/CardboardOverlayView.java:42
Method
Cube
(MyGLRenderer myGLRenderer)
OpenGL Version/src/com/sveder/hwopengl/Cube.java:44
Method
MyGLRenderer
(MainActivity context)
OpenGL Version/src/com/sveder/hwopengl/MyGLRenderer.java:27
Method
MyGLSurfaceView
(Context context)
OpenGL Version/src/com/sveder/hwopengl/MyGLSurfaceView.java:11
Method
Square
()
OpenGL Version/src/com/sveder/hwopengl/Square.java:31
Method
checkGLError
Checks if we've had an error inside of OpenGL ES, and if so what that error is. @param func
Cardboard Version/src/com/sveder/cardboardpassthrough/MainActivity.java:206
Method
draw
(GL10 gl)
OpenGL Version/src/com/sveder/hwopengl/Square.java:48
Method
loadTexture
(GL10 gl, MainActivity context)
OpenGL Version/src/com/sveder/hwopengl/Cube.java:121
Method
onAnimationEnd
(Animation animation)
Cardboard Version/src/com/sveder/cardboardpassthrough/CardboardOverlayView.java:71
Method
onAnimationRepeat
(Animation animation)
Cardboard Version/src/com/sveder/cardboardpassthrough/CardboardOverlayView.java:80
Method
onAnimationStart
(Animation animation)
Cardboard Version/src/com/sveder/cardboardpassthrough/CardboardOverlayView.java:81
Method
onCardboardTrigger
Increment the score, hide the object, and give feedback if the user pulls the magnet while looking at the object. Otherwise, remind the user what to d
Cardboard Version/src/com/sveder/cardboardpassthrough/MainActivity.java:557
Method
onCreate
(Bundle savedInstanceState)
OpenGL Version/src/com/sveder/hwopengl/MainActivity.java:27
Method
onCreate
(Bundle savedInstanceState)
Cardboard Version/src/com/sveder/cardboardpassthrough/_MainActivity.java:22
Method
onCreate
Sets the view to our CardboardView and initializes the transformation matrices we will use to render our scene. @param savedInstanceState
Cardboard Version/src/com/sveder/cardboardpassthrough/MainActivity.java:219
Method
onCreateOptionsMenu
(Menu menu)
OpenGL Version/src/com/sveder/hwopengl/MainActivity.java:43
Method
onCreateOptionsMenu
(Menu menu)
Cardboard Version/src/com/sveder/cardboardpassthrough/_MainActivity.java:37
Method
onDrawEye
(EyeTransform arg0)
Cardboard Version/src/com/sveder/cardboardpassthrough/_MainActivity.java:43
Method
onDrawEye
Draws a frame for an eye. The transformation for that eye (from the camera) is passed in as a parameter. @param transform The transformations to apply
Cardboard Version/src/com/sveder/cardboardpassthrough/MainActivity.java:422
Method
onDrawFrame
(GL10 gl)
OpenGL Version/src/com/sveder/hwopengl/MyGLRenderer.java:93
Method
onFinishFrame
(Viewport arg0)
Cardboard Version/src/com/sveder/cardboardpassthrough/_MainActivity.java:49
Method
onFinishFrame
(Viewport viewport)
Cardboard Version/src/com/sveder/cardboardpassthrough/MainActivity.java:489
Method
onFrameAvailable
(SurfaceTexture arg0)
OpenGL Version/src/com/sveder/hwopengl/MainActivity.java:62
Method
onFrameAvailable
(SurfaceTexture arg0)
Cardboard Version/src/com/sveder/cardboardpassthrough/MainActivity.java:411
Method
onLayout
(boolean changed, int left, int top, int right, int bottom)
Cardboard Version/src/com/sveder/cardboardpassthrough/CardboardOverlayView.java:147
Method
onNewFrame
(HeadTransform arg0)
Cardboard Version/src/com/sveder/cardboardpassthrough/_MainActivity.java:55
Method
onNewFrame
Prepares OpenGL ES before we draw a frame. @param headTransform The head transformation in the new frame.
Cardboard Version/src/com/sveder/cardboardpassthrough/MainActivity.java:384
Method
onRendererShutdown
()
Cardboard Version/src/com/sveder/cardboardpassthrough/_MainActivity.java:59
Method
onRendererShutdown
()
Cardboard Version/src/com/sveder/cardboardpassthrough/MainActivity.java:242
Method
onSurfaceChanged
(GL10 gl, int width, int height)
OpenGL Version/src/com/sveder/hwopengl/MyGLRenderer.java:69
Method
onSurfaceChanged
(int arg0, int arg1)
Cardboard Version/src/com/sveder/cardboardpassthrough/_MainActivity.java:65
Method
onSurfaceChanged
(int width, int height)
Cardboard Version/src/com/sveder/cardboardpassthrough/MainActivity.java:247
Method
onSurfaceCreated
(GL10 gl, EGLConfig config)
OpenGL Version/src/com/sveder/hwopengl/MyGLRenderer.java:35
Method
onSurfaceCreated
(EGLConfig arg0)
Cardboard Version/src/com/sveder/cardboardpassthrough/_MainActivity.java:71
Method
onSurfaceCreated
Creates the buffers we use to store information about the 3D world. OpenGL doesn't use Java arrays, but rather needs data in a format it can understan
Cardboard Version/src/com/sveder/cardboardpassthrough/MainActivity.java:257