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