Click or drag to resize
Ab4d.SharpEngine logo

SharpEngineSceneView Methods

The SharpEngineSceneView type exposes the following members.

Methods
 NameDescription
Protected methodArrangeOverride 
Public methodBeginSurfaceImageDraw 
Public methodDispose Disposes all resources that were created by this SharpEngineSceneView.
Protected methodDispose(Boolean) 
Public methodEndSurfaceImageDraw 
Protected methodFinalize Destructor
Public methodInitialize Initialize method initializes the engine by using the CreateOptions from this SharpEngineSceneView.
Public methodInitialize(ActionEngineCreateOptions) Initialize method initializes the engine by using EngineCreateOptions that are defined by the provided configureAction.
Public methodInitialize(EngineCreateOptions) Initialize method initializes the engine by using the specified EngineCreateOptions.
Public methodInitialize(VulkanDevice) Initialize method initializes the engine by using the specified VulkanDevice object.
Protected methodIsDesignTime Returns if the control is running in design time.
Public methodStatic memberIsPresentationTypePossible Returns true when the specified presentationType may be supported by this SharpEngineSceneView control. To check if the presentationType is possible on the current or specific GpuDevice call the IsPresentationTypeSupported(PresentationTypes) or IsPresentationTypeSupported(PresentationTypes, String) or IsPresentationTypeSupported(PresentationTypes, VulkanDevice, String) methods.
Public methodIsPresentationTypeSupported(PresentationTypes) Returns true when the specified presentationType is supported on the current GpuDevice. This method must not be called before the GpuDevice is created (before SharpEngineSceneView is initialized).
Public methodIsPresentationTypeSupported(PresentationTypes, String) Returns true when the specified presentationType is supported on the current GpuDevice. When presentation type is not supported, a string with additional information is set to the additionalInfo parameter. This method must not be called before the GpuDevice is created (before SharpEngineSceneView is initialized).
Public methodIsPresentationTypeSupported(PresentationTypes, VulkanDevice, String) Returns true when the specified presentationType is supported on the specified GpuDevice. When presentation type is not supported, a string with additional information is set to the additionalInfo parameter.
Protected methodMeasureOverride 
Protected methodOnApplyTemplate 
Protected methodOnDisposed OnDisposed
Protected methodOnDisposing OnDisposing
Protected methodOnGpuDeviceCreated OnGpuDeviceCreated
Protected methodOnGpuDeviceCreationFailed OnGpuDeviceCreationFailed
Protected methodOnPresentationTypeChanged OnPresentationTypeChanged
Protected methodOnSceneRendered OnSceneRendered
Protected methodOnSceneUpdating OnSceneUpdating
Protected methodOnSceneViewInitialized OnSceneViewInitialized
Protected methodOnViewSizeChanged OnViewSizeChanged
Public methodRenderScene RenderScene rendered the scene. If forceRender is false then the scene is rendered only if there are any changes in the scene nodes. If forceUpdate is true then the RenderingQueues are always regenerated (otherwise RenderingQueues are regenerated only when this is required because of the changes).
Public methodRenderToBitmap(Boolean) RenderToBitmap method renders the current scene to a new WinUI's WriteableBitmap. To reuse the WriteableBitmap, call the method that takes the WriteableBitmap by ref. See also the RenderToXXXX methods in the SceneView object.
Public methodRenderToBitmap(WriteableBitmap, Boolean) RenderToBitmap method renders the current scene to the specified WinUI's WriteableBitmap. The size of the specified WriteableBitmap must be the same as the size of the SceneView or an exception will be thrown. See also the RenderToXXXX methods in the SceneView object.
Top
See Also