Interface IGorgonNativeResource
Provides access to native pointers for resource objects (e.g. textures, devices, etc...).
Namespace: Gorgon.Graphics
Assembly: Gorgon.Graphics.Core.dll
Syntax
public interface IGorgonNativeResource
Remarks
External APIs to Gorgon sometimes require access to the underlying texture objects, device objects, etc... This interface provides those items as native pointers so that they can be wrapped directly by the external calls (including SharpDX).
Properties
| Edit this page View SourceHandle
Property to return the native handle for the underlying resource object.
Declaration
nint Handle { get; }
Property Value
Type | Description |
---|---|
nint |
Remarks
The property can be used to interoperate with functionality that require direct access to Direct 3D objects.