Table of Contents

Class D3D12TextureClassOwnedHandle

Namespace
GdkWin32.Internal
Assembly
GdkWin32-4.0.dll
public class D3D12TextureClassOwnedHandle : D3D12TextureClassHandle, IDisposable
Inheritance
D3D12TextureClassOwnedHandle
Implements
Inherited Members

Constructors

D3D12TextureClassOwnedHandle(nint)

Creates a new instance of D3D12TextureClassOwnedHandle. Assumes that the given pointer is owned by the runtime.

public D3D12TextureClassOwnedHandle(nint ptr)

Parameters

ptr nint

Methods

FromUnowned(nint)

Create a D3D12TextureClassOwnedHandle from a pointer that is assumed unowned.

public static D3D12TextureClassOwnedHandle FromUnowned(nint ptr)

Parameters

ptr nint

A pointer to a D3D12TextureClass which is not owned by the runtime.

Returns

D3D12TextureClassOwnedHandle

A D3D12TextureClassOwnedHandle

ReleaseHandle()

When overridden in a derived class, executes the code required to free the handle.

protected override bool ReleaseHandle()

Returns

bool

true if the handle is released successfully; otherwise, in the event of a catastrophic failure, false. In this case, it generates a releaseHandleFailed Managed Debugging Assistant.