AI-generated Key Takeaways
-
HeadlessEngineWrapper
provides an interface for the swiftshader-backed Filament engine, enabling off-screen rendering. -
It allows the creation and destruction of swap chains for rendering to various surfaces.
-
Inherits functionalities from
FilamentEngineWrapper
andIEngine
for managing entities, cameras, scenes, and other rendering resources. -
Offers methods for creating and destroying core Filament components like cameras, renderers, scenes, and more.
-
Includes a public constructor and a
destroy()
method for lifecycle management.
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 | |
SwapChain |
createSwapChainFromNativeSurface(NativeSurface surface, long flags)
|
void |
destroy()
|
void |
destroySwapChain(SwapChain swapChain)
|
Inherited Methods
Fields
Public Constructors
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 |
---|