Click or drag to resize
Ab4d.SharpEngine logo

Ab4d.SharpEngine.Common Namespace

 
Classes
 ClassDescription
Public classColors Colors class defines known colors as Colors4.
Public classDeviceCreateFailedEventArgs DeviceCreateFailedEventArgs is used to provide more information about why device creation failed and to provide user an option to show his own error message instead of default error text.
Public classEasingFunctions EasingFunctions static class defines the standard easing functions that can ease a value in range from 0 to 1.
Public classEffectRegisteredEventArgs EffectRegisteredEventArgs class defines the Effect that was registered by EffectsManager and is used in the EffectRegistered event in EffectsManager.
Public classEngineCreateOptions Options that are user to initialize Ab4d.SharpEngine.
Public classEngineRuntimeOptions EngineRuntimeOptions is a static class that provides static properties that control the runtime operation of the engine, many of them are used for diagnostics and logging.
Public classGpuDeviceCreatedEventArgs GpuDeviceCreatedEventArgs is used for GpuDeviceCreated event and provides the created VulkanDevice object.
Public classHitTestContext HitTestContext provides a context information for hit testing.
Public classHitTestOptions HitTestOptions class specifies hit testing parameters that are used with hit testing.
Public classHitTestResult HitTestResult is a base class for hit test results in SharpEngine.
Public classPolygonAnalyzer PolygonAnalyzer can be used to analyzed a 2D polygon that is defined by a list of 2D positions.
Public classPolygonVertex PolygonVertex represents a single vertex in double linked list of a polygon that is defined by PolygonAnalyzer.
Public classQueueFamilyIndicesInfo 
Public classRawImageData RawImageData class contains image metadata and raw image data that is stored in the Data byte array.
Public classRayHitTestResult RayHitTestResult class provides result of a ray hit test.
Public classRayInstancedHitTestResult RayInstancedHitTestResult class provides result of a ray hit test that is executed on instanced object.
Public classRenderingEventArgs RenderingEventArgs contains the RenderingContext.
Public classRenderingLayerSortingCompletedEventArgs RenderingLayerSortingCompletedEventArgs is used for the SortingCompleted event. The event is called after the RenderingLayer is sorted. It allows the code in the event handler to change the order in which objects are rendered by changing the values in the SortedIndexes array (note: use RenderingItems.Count to get number of items because SortedIndexes.Length may be too big).
Public classSharpEngineException SharpEngineException is an exception that thrown is in Ab4d.SharpEngine.
Public classSharpEngineValidationException 
Public classViewSizeChangedEventArgs ViewSizeChangedEventArgs is used when the size of the View is changed.
Public classVulkanMemoryInfo VulkanMemoryInfo provides access to memory allocated on the graphics card that was allocated by a class that implements IVulkanMemoryAllocator. The handle to the allocated memory is assigned to DeviceMemory property. The class also provides Size, MemoryTypeIndex. When the memory is no longer needed, it need to be disposed by calling FreeMemory(VulkanMemoryInfo) method on the VulkanMemoryAllocator.
Structures
 StructureDescription
Public structureBoundingBox Represents an axis-aligned bounding box in three dimensional space.
Public structureColor3 Represents a color in the form of rgb.
Public structureColor4 Represents a color in the form of rgba.
Public structureIntSize IntSize represents the size of a rectangular region with Width and Height as integer values.
Public structurePositionColorVertex PositionColorVertex is a struct used for vertex buffer that defines Position and Color
Public structurePositionNormalTextureVertex PositionNormalTextureVertex is a struct used for vertex buffer that defines Position, Normal and TextureCoordinate
Public structurePositionTextureColorVertex PositionTextureColorVertex is a struct used for vertex buffer that defines Position, TextureCoordinate and Color.
Public structureRay Represents a three dimensional line based on a point in space and a direction.
Public structureRoundVector3 
Public structureWorldColorInstanceData InstanceData contains World and Color data that describe the world transformation and color of one geometry instance. After each change of InstancesData user must call Update method in InstancedGeometryVisual3D.
Interfaces
 InterfaceDescription
Public interfaceIBitmapIO IBitmapIO interface defines platform independent methods to provide basic bitmap loading and saving methods.
Public interfaceICacheProvider ICacheProvider interface defines methods to cache, get cache and remove cached values.
Public interfaceIRayHitTestedObject IRayHitTestedObject interface can be implemented by a objects that supports hit testing.
Public interfaceISharpEngineSceneView ISharpEngineSceneView interface defines the common properties and methods that are defined by all platform specific SharpEngineSceneView objects that are defined in platform specific assemblies (for example Ab4d.SharpEngine.Wpf, Ab4d.SharpEngine.WinUI, Ab4d.SharpEngine.AvaloniaUI).
Public interfaceIVulkanMemoryAllocator 
Delegates
 DelegateDescription
Public delegateDeviceCreateFailedEventHandler DeviceCreateFailedEventHandler is an event handler with DeviceCreateFailedEventArgs as event arguments
Public delegateEffectRegisteredEventHandler EffectRegisteredEventHandler is an event handler with EffectRegisteredEventArgs as an argument and is used for the EffectRegistered event in EffectsManager.
Public delegateGpuDeviceCreatedEventHandler GpuDeviceCreatedEventHandler is an event handler with GpuDeviceCreatedEventArgs as event arguments
Public delegateRenderingEventHandler RenderingEventHandler is an event handler with RenderingEventArgs as event arguments
Public delegateRenderingLayerSortingCompletedEventHandler RenderingLayerSortingCompletedEventHandler is an event handler with SortingCompleted event.
Public delegateViewSizeChangedEventHandler ViewSizeChangedEventHandler is a delegate for the ViewSizeChangedEventArgs.
Enumerations
 EnumerationDescription
Public enumerationCameraZoomMode CameraZoomMode defines the possible zoom modes in CameraController. Each zoom mode specifies different location into which the camera is zoomed.
Public enumerationCommonSamplerTypes CommonSamplerTypes defines the common type of GPU samplers.
Public enumerationCoordinateSystems CoordinateSystems defines the possible coordinate systems that can be used in Ab4d.SharpEngine. The coordinate system can be changed by the SetCoordinateSystem(CoordinateSystems) method. The default coordinate system is YUpRightHanded. CAD applications usually use ZUpRightHanded coordinate system.
Public enumerationEffectTechniqueFlags EffectTechniqueFlags are used by the Flags property.
Public enumerationEngineCreateOptionsDeviceSelectionTypes DeviceSelectionTypes enum defines possible values for the DeviceSelectionType property.
Public enumerationEngineRuntimeOptionsValidationTimeTypes ValidationTimeTypes enum defines flags that are used in the ValidationTime property.
Public enumerationEngineRuntimeOptionsWarningActionLevel WarningActionLevel enum is used to define what action is performed on the specified event.
Public enumerationFitIntoViewType FitIntoViewType enum defines possible ways to calculate the distance and center position to fit the scene into current viewport.
Public enumerationHitTestOptionsHitTestFilterResultSpecifies the return result of a hit test filter callback method.
Public enumerationKeyboardModifiers KeyboardModifiers enum defines different keyboard modifiers.
Public enumerationLineCap LineCap enum defines the shape of the line at its start or its end.
Public enumerationLineRasterizationModes LineRasterizationModes enum defines possible line rasterization modes (specify line rendering technique).
Public enumerationLogLevels LogLevels define log levels that are used in SharpEngine.
Public enumerationMouseAndKeyboardConditions MouseAndKeyboardConditions enum defines the conditions that can be used to specify what condition must be met to rotate or move the camera by ManualMouseCameraController or other mouse camera controller.
Public enumerationMouseButtons MouseButtons enum defines different mouse buttons
Public enumerationPositionTypes PositionTypes define possible position types. PositionType defines which part of the object is placed at the specified Position.
Public enumerationPresentationTypes PresentationTypes enum defines how the SharpEngine will present the 3D scene to the UI framework. Not all presentation types are supported on all platforms. To check if a specific presentation type is supported, call the SharpEngineSceneView.IsPresentationTypeSupported method.
Public enumerationRenderingItemFlags RenderingItemFlags enum is used to define the flags in the RenderingItem
Public enumerationSceneDirtyFlags SceneDirtyFlags enum defines flags that describe what changes have occur in the Scene from last time the scene was rendered.
Public enumerationSceneNodeDirtyFlags SceneNodeDirtyFlags enum defines the flags that are used to mark which part of the SceneNode was changed (is dirty).
Public enumerationSceneNodeVisibility SceneNodeVisibility enum defines Hidden and Visible enum values.
Public enumerationSceneViewDirtyFlags SceneViewDirtyFlags enum defines flags that describe what changes have occur in the SceneView from last time the scene was rendered.
Public enumerationShowCameraLightType Enum used by the ShowCameraLight property to define when the camera light is shown.
Public enumerationStandardBitmapFormats StandardBitmapFormats enum defines the standard bitmap formats that are supported by SharpEngine.
Public enumerationViewRotationTypes ViewRotationTypes enum defines the possible view rotation values