Click or drag to resize
Ab4d.SharpEngine logo

SharpEngineSceneView Properties

The SharpEngineSceneView type exposes the following members.

Properties
 NameDescription
Public propertyBackgroundColor Gets or sets a background color for SharpEngineSceneView. Default color is Transparent.
Public propertyCreateOptions Gets the EngineCreateOptions that were used to create the VulkanInstance and VulkanDevice.
Protected propertyd3dImageSource 
Public propertyDisableWpfResizingOfRenderedImage 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.
Public propertyDpiScaleX 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.
Public propertyDpiScaleY 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.
Public propertyGpuDevice Gets the graphics device object (VulkanDevice).
Public propertyId Gets a unique id of this resource
Public propertyIsDisposed Gets a Boolean that specifies if this resource has been disposed.
Public propertyIsDisposing Gets a Boolean that specifies if this resource is currently being disposed (the current code is executing inside Dispose method).
Public propertyIsUsingAdditionalDirectX11SharedTexture 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.
Public propertyIsUsingSharedTextureForIntegratedIntelGpu 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.
Protected propertyoverlayHost Used OverlayHost control (set only when OverlayTexture PresentationType is used)
Public propertyPreferredMultiSampleCount 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.
Public propertyPresentationType Presentation type defines how the rendered 3D scene will be presented to the platform. Default value is SharedTexture.
Public propertyScene Gets the Scene that defines the 3D objects.
Public propertySceneView Gets the SceneView that renders the Scene to this control.
Public propertyStopRenderingWhenHidden Gets or sets a Boolean that specifies if rendering is stopped when this control is hidden (IsVisible goes to false). Default value is true.
Protected propertyVisualChildrenCount Gets the number of visual child elements within this element.
(Overrides FrameworkElementVisualChildrenCount)
Public propertyWaitForVSync 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.
Protected propertywriteableBitmap 
Top
See Also