Gorgon
Show / Hide Table of Contents

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 Source

Handle

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.

Extension Methods

GorgonDebugExtensions.ValidateObject<T>(T, string)
GorgonNullExtensions.AsNullable<T>(object)
GorgonNullExtensions.IfNull<T>(object, T)
GorgonNullExtensions.IsNull(object)
  • Edit this page
  • View Source
In this article
Back to top Copyright 2023 - Licensed under the MIT license by Michael Winsor (Tape_Worm).
Send comments on this topic to the author