• Sceneform SDK for Android was open sourced and archived (github.com/google-ar/sceneform-android-sdk) with version 1.16.0.
  • This site (developers.google.com/sceneform) serves as the documentation archive for the previous version, Sceneform SDK for Android 1.15.0.
  • Do not use version 1.17.0 of the Sceneform Maven artifacts.
  • The 1.17.1 Maven artifacts can be used. Other than the version, however, the 1.17.1 artifacts are identical to the 1.15.0 artifacts.

HeadlessEngineWrapper

public class HeadlessEngineWrapper

Interface for the swiftshader backed version of the Filament engine.

Fields

public static final String TAG

Public Constructors

Public Methods

SwapChain
createSwapChain(Object surface, long flags)
Valid surface types: - Android: Surface - Other: none

Flags: see CONFIG flags in SwapChain.

SwapChain
createSwapChain(Object surface)
Valid surface types: - Android: Surface - Other: none
SwapChain
createSwapChainFromNativeSurface(NativeSurface surface, long flags)
void
void
destroySwapChain(SwapChain swapChain)

Inherited Methods

Fields

public static final String TAG

Public Constructors

public HeadlessEngineWrapper ()

Public Methods

public SwapChain createSwapChain (Object surface, long flags)

Valid surface types: - Android: Surface - Other: none

Flags: see CONFIG flags in SwapChain.

Parameters
surface
flags

public SwapChain createSwapChain (Object surface)

Valid surface types: - Android: Surface - Other: none

Parameters
surface

public SwapChain createSwapChainFromNativeSurface (NativeSurface surface, long flags)

Parameters
surface
flags

public void destroy ()

public void destroySwapChain (SwapChain swapChain)

Parameters
swapChain