Class ExternalRenderingSystem
Class used to handle the extenral rendering system.
Inheritance
System.Object
ExternalRenderingSystem
Namespace: wikitude.sdk.uwp
Assembly: wikitude.sdk.dll
Syntax
public sealed class ExternalRenderingSystem
Constructors
ExternalRenderingSystem(IDirect3DDevice)
Declaration
public ExternalRenderingSystem(IDirect3DDevice device_)
Parameters
Type | Name | Description |
---|---|---|
Windows.Graphics.DirectX.Direct3D11.IDirect3DDevice | device_ | Direct3D Device used to create the internal rendering objects. |
Methods
draw()
Call this method to make the camera frame rendering(and all other SDK internals) happens.
Declaration
public void draw()
surfaceChanged(Int32, Int32)
Notify the camera frame renderer that the drawing surface has changed.
Declaration
public void surfaceChanged(int width_, int height_)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | width_ | Width, in pixels. |
System.Int32 | height_ | Height, in pixels. |
update()
Call this method to update the internal state of the SDK.
Declaration
public void update()