Sharp |
The SharpEngineSceneView type exposes the following members.
Name | Description | |
---|---|---|
BackgroundColor | Gets or sets a background color for SharpEngineSceneView. Default color is Transparent. | |
CreateOptions | Gets the EngineCreateOptions that were used to create the VulkanInstance and VulkanDevice. | |
d3dImageSource | ||
DisableWpfResizingOfRenderedImage | Gets or sets a Boolean that specifies if WPF can use linear filtering to resize the rendered image so that it fits the area to a subpixel values. Default value is true which shows a cleared rendered image because the exact same image is shows as rendered by SharpEngine. This property can be set to false to exactly match (to subpixel value) the size of the rendered image and exactly align it to other WPF objects. This may produce more blurred image. | |
DpiScaleX | Gets or sets a float that represents a DPI scale factor in X direction: 1 means 96 DPI, 1.5 means 144 DPI, etc. This value is used in line and pixel rendering and scales the line thickness or size of pixels. | |
DpiScaleY | Gets or sets a float that represents a DPI scale factor in Y direction: 1 means 96 DPI, 1.5 means 144 DPI, etc. This value is used in line and pixel rendering and scales the line thickness or size of pixels. | |
GpuDevice | Gets the graphics device object (VulkanDevice). | |
Id | Gets a unique id of this resource | |
IsDisposed | Gets a Boolean that specifies if this resource has been disposed. | |
IsDisposing | Gets a Boolean that specifies if this resource is currently being disposed (the current code is executing inside Dispose method). | |
IsUsingAdditionalDirectX11SharedTexture | Gets a Boolean that specified if additional DirectX 11 shared texture needs to be used to copy Vulkan texture to WPF's DirectX 9 texture. This may be needed when using Intel GPU because Intel's Vulkan driver may not allow copying Vulkan texture to DirectX 9 texture. | |
IsUsingSharedTextureForIntegratedIntelGpu | This property is used only when integrated Intel graphics card is used. When set to true, then SharedTexture is used. This may require additional DirectX 11 texture (because Intel's Vulkan driver may not allow copying Vulkan texture to DirectX 9 texture) and therefore may have worse performance than using WritableBitmap. When set to false (by default), then WritableBitmap is used. This property can be set before this SharpEngineSceneView is initialized. | |
overlayHost | Used OverlayHost control (set only when OverlayTexture PresentationType is used) | |
PreferredMultiSampleCount | PreferredMultiSampleCount can be set before the SceneView is initialized and defines the multi-sampling count (MSAA) that will be used if supported by the device. After initializing the SceneView, the actually used multi-sampling count is set to the UsedMultiSampleCount property. | |
PresentationType | Presentation type defines how the rendered 3D scene will be presented to the platform. Default value is SharedTexture. | |
Scene | Gets the Scene that defines the 3D objects. | |
SceneView | Gets the SceneView that renders the Scene to this control. | |
StopRenderingWhenHidden | Gets or sets a Boolean that specifies if rendering is stopped when this control is hidden (IsVisible goes to false). Default value is true. | |
VisualChildrenCount |
Gets the number of visual child elements within this element.
(Overrides FrameworkElementVisualChildrenCount) | |
WaitForVSync | Gets or sets a Boolean that specifies if the SceneView is waiting for a v-sync provided by the surface. This property is used only when OverlayTexture is used as a PresentationType. | |
writeableBitmap |