Interface IGetNativePointers
Interface that represents an object that can provide some native pointers.
Namespace: Evergine.Common.Helpers
Assembly: Evergine.Common.dll
Syntax
public interface IGetNativePointers
Properties
AvailablePointerKeys
Gets a list of all available keys to obtain native pointers.
Declaration
IEnumerable<string> AvailablePointerKeys { get; }
Property Value
Type | Description |
---|---|
IEnumerable<string> |
Methods
GetNativePointer(string, out nint)
Obtains a native pointer for this graphics context using the given key.
Declaration
bool GetNativePointer(string pointerKey, out nint nativePointer)
Parameters
Type | Name | Description |
---|---|---|
string | pointerKey | The pointer key. |
nint | nativePointer | The native pointer. |
Returns
Type | Description |
---|---|
bool | True if there is an available pointer with this key. |