Click or drag to resize
Ab4d.SharpEngine logo

SharpEngineSceneViewIsPresentationTypeSupported(PresentationTypes, String) Method

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).

Namespace: Ab4d.SharpEngine.Wpf
Assembly: Ab4d.SharpEngine.Wpf (in Ab4d.SharpEngine.Wpf.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
public bool IsPresentationTypeSupported(
	PresentationTypes presentationType,
	out string?? additionalInfo
)

Parameters

presentationType  PresentationTypes
checked presentation type
additionalInfo  String
when presentation type is not supported, a string with additional information is set to this parameter

Return Value

Boolean
true when the specified presentationType is supported on the current GpuDevice

Implements

ISharpEngineSceneViewIsPresentationTypeSupported(PresentationTypes, String)
Exceptions
ExceptionCondition
InvalidOperationExceptionInvalidOperationException is called when GpuDevice is null
See Also