Interface RenderExtension
Namespace: wikitude.sdk.uwp
Assembly: wikitude.sdk.dll
Syntax
public interface RenderExtension
Methods
drawFrame()
Gets called after the camera fame rendering.
Declaration
void drawFrame()
pause()
Called when the SDK is paused.
Declaration
void pause()
resume()
Called when the SDK is resumed.
Declaration
void resume()
surfaceChanged(Int32, Int32)
Called when the surface layout has changed.
Declaration
void surfaceChanged(int width_, int height_)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | width_ | |
System.Int32 | height_ |
surfaceCreated(IDirect3DDevice)
Called when the rendering surface is created. Usefull to store the D3D Device reference.
Declaration
void surfaceCreated(IDirect3DDevice device_)
Parameters
Type | Name | Description |
---|---|---|
Windows.Graphics.DirectX.Direct3D11.IDirect3DDevice | device_ |
update()
Called after the SDK has updated its logic, before rendering camera frame.
Declaration
void update()
verticalFieldOfViewChanged(Single)
Called when the vertical field of view has chnaged.
Declaration
void verticalFieldOfViewChanged(float verticalFov_)
Parameters
Type | Name | Description |
---|---|---|
System.Single | verticalFov_ |