FilamentEngineWrapper

public class FilamentEngineWrapper

Wraps calls to Filament engine.

Public Constructors

FilamentEngineWrapper(Engine engine)

Public Methods

Camera
Camera
createCamera(int entity)
Fence
createFence(Fence.Type type)
Renderer
Scene
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)
View
void
void
destroyCamera(Camera camera)
void
destroyEntity(int entity)
void
destroyFence(Fence fence)
void
destroyIndexBuffer(IndexBuffer indexBuffer)
void
destroyIndirectLight(IndirectLight ibl)
void
destroyMaterial(Material material)
void
destroyMaterialInstance(MaterialInstance materialInstance)
void
destroyRenderer(Renderer renderer)
void
destroyScene(Scene scene)
void
destroySkybox(Skybox skybox)
void
destroyStream(Stream stream)
void
destroySwapChain(SwapChain swapChain)
void
destroyTexture(Texture texture)
void
destroyVertexBuffer(VertexBuffer vertexBuffer)
void
destroyView(View view)
void
Engine
LightManager
RenderableManager
TransformManager
boolean

Inherited Methods

Public Constructors

public FilamentEngineWrapper (Engine engine)

Parameters
engine

Public Methods

public Camera createCamera ()

public Camera createCamera (int entity)

Parameters
entity

public Fence createFence (Fence.Type type)

Parameters
type

public Renderer createRenderer ()

public Scene createScene ()

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 View createView ()

public void destroy ()

public void destroyCamera (Camera camera)

Parameters
camera

public void destroyEntity (int entity)

Parameters
entity

public void destroyFence (Fence fence)

Parameters
fence

public void destroyIndexBuffer (IndexBuffer indexBuffer)

Parameters
indexBuffer

public void destroyIndirectLight (IndirectLight ibl)

Parameters
ibl

public void destroyMaterial (Material material)

Parameters
material

public void destroyMaterialInstance (MaterialInstance materialInstance)

Parameters
materialInstance

public void destroyRenderer (Renderer renderer)

Parameters
renderer

public void destroyScene (Scene scene)

Parameters
scene

public void destroySkybox (Skybox skybox)

Parameters
skybox

public void destroyStream (Stream stream)

Parameters
stream

public void destroySwapChain (SwapChain swapChain)

Parameters
swapChain

public void destroyTexture (Texture texture)

Parameters
texture

public void destroyVertexBuffer (VertexBuffer vertexBuffer)

Parameters
vertexBuffer

public void destroyView (View view)

Parameters
view

public void flushAndWait ()

public Engine getFilamentEngine ()

public LightManager getLightManager ()

public RenderableManager getRenderableManager ()

public TransformManager getTransformManager ()

public boolean isValid ()

傳送您對下列選項的寶貴意見...

這個網頁