C API Reference for Cardboard SDK

C API reference pages for the Cardboard SDK.

Modules

Cardboard SDK types Various types used in the Cardboard SDK.
Initialization (Android only) This module initializes the JavaVM and Android activity context.
Lens Distortion This module calculates the projection and eyes distortion matrices, based on the device (Cardboard viewer) and screen parameters.
Distortion Renderer This module renders the eyes textures into the display.
Head Tracker This module calculates the predicted head's pose for a given timestamp.
QR Code Scanner This module manages the entire process of capturing, decoding and getting the device parameters from a QR code.

Structs

CardboardEyeTextureDescription Struct to hold information about an eye texture.
CardboardMesh Struct representing a 3D mesh with 3D vertices and corresponding UV coordinates.
CardboardUv Struct to hold UV coordinates.