 |
SharpEngineSceneView Methods |
The SharpEngineSceneView type exposes the following members.
Methods | Name | Description |
---|
 | ArrangeOverride | |
 | BeginSurfaceImageDraw | |
 | Dispose |
Disposes all resources that were created by this SharpEngineSceneView.
|
 | Dispose(Boolean) | |
 | EndSurfaceImageDraw | |
 | Finalize |
Destructor
|
 | GetDefaultMultiSampleCount |
Returns the default multi-sampling count for the specified GPU device.
This method return 4 for DiscreteGpu and IntegratedGpu and 1 for others.
The method can be overriden to provide custom multi-sampling count based on the used device.
This method is called only when the multi-sampling is not set when calling Initialize method.
|
 | GetDefaultSuperSamplingCount |
Returns the default super-sampling count for the specified GPU device.
This method return 4 for DiscreteGpu, 2 for non-mobile IntegratedGpu and 1 for others and also macOS and iOS.
The method can be overriden to provide custom multi-sampling count based on the used device.
This method is called only when the super-sampling is not set when calling Initialize method.
|
  | GetDpiScale |
Returns the dpiScaleX and dpiScaleY of the specified UIElement.
|
 | Initialize |
Initialize method initializes the engine by using the CreateOptions from this SharpEngineSceneView.
|
 | Initialize(ActionEngineCreateOptions) |
Initialize method initializes the engine by using EngineCreateOptions that are defined by the provided configureAction.
|
 | Initialize(EngineCreateOptions) |
Initialize method initializes the engine by using the specified EngineCreateOptions.
|
 | Initialize(VulkanDevice) |
Initialize method initializes the engine by using the specified VulkanDevice object.
|
 | IsDesignTime |
Returns if the control is running in design time.
|
  | IsPresentationTypePossible |
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.
|
 | IsPresentationTypeSupported(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).
|
 | IsPresentationTypeSupported(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).
|
 | IsPresentationTypeSupported(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.
|
 | MeasureOverride | |
 | OnApplyTemplate | |
 | OnDisposed |
OnDisposed
|
 | OnDisposing |
OnDisposing
|
 | OnGpuDeviceCreated |
OnGpuDeviceCreated
|
 | OnGpuDeviceCreationFailed |
OnGpuDeviceCreationFailed
|
 | OnPresentationTypeChanged |
OnPresentationTypeChanged
|
 | OnSceneRendered |
OnSceneRendered
|
 | OnSceneUpdating |
OnSceneUpdating
|
 | OnSceneViewInitialized |
OnSceneViewInitialized
|
 | OnViewSizeChanged |
OnViewSizeChanged
|
 | RenderScene |
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).
|
 | RenderToBitmap(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.
|
 | RenderToBitmap(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