Interface IEngine
-
- All Known Implementing Classes:
FilamentEngineWrapper
,HeadlessEngineWrapper
public interface IEngine
Engine interface to support multiple flavors of the getFilamentEngine filament engine.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.android.filament.Camera
createCamera()
com.google.android.filament.Camera
createCamera(int entity)
com.google.android.filament.Fence
createFence()
com.google.android.filament.Renderer
createRenderer()
com.google.android.filament.Scene
createScene()
com.google.android.filament.SwapChain
createSwapChain(java.lang.Object surface)
Valid surface types: - Android: Surface - Other: nonecom.google.android.filament.SwapChain
createSwapChain(java.lang.Object surface, long flags)
Valid surface types: - Android: Surface - Other: nonecom.google.android.filament.SwapChain
createSwapChainFromNativeSurface(com.google.android.filament.NativeSurface surface, long flags)
com.google.android.filament.View
createView()
void
destroy()
void
destroyEntity(int entity)
void
destroyFence(com.google.android.filament.Fence fence)
void
destroyIndexBuffer(com.google.android.filament.IndexBuffer indexBuffer)
void
destroyIndirectLight(com.google.android.filament.IndirectLight ibl)
void
destroyMaterial(com.google.android.filament.Material material)
void
destroyMaterialInstance(com.google.android.filament.MaterialInstance materialInstance)
void
destroyRenderer(com.google.android.filament.Renderer renderer)
void
destroyScene(com.google.android.filament.Scene scene)
void
destroySkybox(com.google.android.filament.Skybox skybox)
void
destroyStream(com.google.android.filament.Stream stream)
void
destroySwapChain(com.google.android.filament.SwapChain swapChain)
void
destroyTexture(com.google.android.filament.Texture texture)
void
destroyVertexBuffer(com.google.android.filament.VertexBuffer vertexBuffer)
void
destroyView(com.google.android.filament.View view)
void
flushAndWait()
com.google.android.filament.Engine
getFilamentEngine()
com.google.android.filament.LightManager
getLightManager()
com.google.android.filament.RenderableManager
getRenderableManager()
com.google.android.filament.TransformManager
getTransformManager()
boolean
isValid()
-
-
-
Method Detail
-
getFilamentEngine
com.google.android.filament.Engine getFilamentEngine()
-
isValid
boolean isValid()
-
destroy
void destroy()
-
createSwapChain
com.google.android.filament.SwapChain createSwapChain(java.lang.Object surface)
Valid surface types: - Android: Surface - Other: none
-
createSwapChain
com.google.android.filament.SwapChain createSwapChain(java.lang.Object surface, long flags)
Valid surface types: - Android: Surface - Other: noneFlags: see CONFIG flags in SwapChain.
- See Also:
SwapChain.CONFIG_DEFAULT
,SwapChain.CONFIG_TRANSPARENT
,SwapChain.CONFIG_READABLE
-
createSwapChainFromNativeSurface
com.google.android.filament.SwapChain createSwapChainFromNativeSurface(com.google.android.filament.NativeSurface surface, long flags)
-
destroySwapChain
void destroySwapChain(com.google.android.filament.SwapChain swapChain)
-
createView
com.google.android.filament.View createView()
-
destroyView
void destroyView(com.google.android.filament.View view)
-
createRenderer
com.google.android.filament.Renderer createRenderer()
-
destroyRenderer
void destroyRenderer(com.google.android.filament.Renderer renderer)
-
createCamera
com.google.android.filament.Camera createCamera()
-
createCamera
com.google.android.filament.Camera createCamera(int entity)
-
createScene
com.google.android.filament.Scene createScene()
-
destroyScene
void destroyScene(com.google.android.filament.Scene scene)
-
destroyStream
void destroyStream(com.google.android.filament.Stream stream)
-
createFence
com.google.android.filament.Fence createFence()
-
destroyFence
void destroyFence(com.google.android.filament.Fence fence)
-
destroyIndexBuffer
void destroyIndexBuffer(com.google.android.filament.IndexBuffer indexBuffer)
-
destroyVertexBuffer
void destroyVertexBuffer(com.google.android.filament.VertexBuffer vertexBuffer)
-
destroyIndirectLight
void destroyIndirectLight(com.google.android.filament.IndirectLight ibl)
-
destroyMaterial
void destroyMaterial(com.google.android.filament.Material material)
-
destroyMaterialInstance
void destroyMaterialInstance(com.google.android.filament.MaterialInstance materialInstance)
-
destroySkybox
void destroySkybox(com.google.android.filament.Skybox skybox)
-
destroyTexture
void destroyTexture(com.google.android.filament.Texture texture)
-
destroyEntity
void destroyEntity(int entity)
-
getTransformManager
com.google.android.filament.TransformManager getTransformManager()
-
getLightManager
com.google.android.filament.LightManager getLightManager()
-
getRenderableManager
com.google.android.filament.RenderableManager getRenderableManager()
-
flushAndWait
void flushAndWait()
-
-