Click or drag to resize
Ab4d.SharpEngine logo

SceneViewInitialize(VulkanDevice, Int32, Int32, Single, Single, Int32, Single) Method

Initializes the SceneView with the specified size and GpuDevice. This method can be called only when the SceneView was created without a Surface parameter.

Namespace: Ab4d.SharpEngine
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public void Initialize(
	VulkanDevice gpuDevice,
	int width,
	int height,
	float dpiScaleX = 1f,
	float dpiScaleY = 1f,
	int multisampleCount = 1,
	float supersamplingCount = 1f
)

Parameters

gpuDevice  VulkanDevice
VulkanDevice
width  Int32
width in pixels (when using DPI scale then the width of the client size that is reported by the UI framework may need to be multiplied by the DPI scale).
height  Int32
height in pixels (when using DPI scale then the height of the client size that is reported by the UI framework may need to be multiplied by the DPI scale).
dpiScaleX  Single  (Optional)
DPI x scale (1 by default). This value is used in line and pixel rendering and scales the line thickness or size of pixels.
dpiScaleY  Single  (Optional)
DPI y scale (1 by default). This value is used in line and pixel rendering and scales the line thickness or size of pixels.
multisampleCount  Int32  (Optional)
multi-sample (MSAA) count (1 by default that does not use any MSAA). MSAA produce smoother edges by storing multiple color values for each pixel.
supersamplingCount  Single  (Optional)
super-sample (SSAA) count (1 by default that does not use any SSAA). SSAA is a technique that renders the image at a higher resolution and then down-samples the rendered image to the final resolution.
Exceptions
ExceptionCondition
InvalidOperationException
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.SceneView.Initialize(Ab4d.SharpEngine.Vulkan.VulkanDevice,System.Int32,System.Int32,System.Single,System.Single,System.Int32,System.Single)"]

See Also