[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.DXGI.Surface2

Class Surface2

Namespace
GrapeCity.Documents.DX.DXGI
Assembly
GcDocs.DX.Windows.dll

IDXGISurface2

[Guid("aba496dd-b617-4cb8-a866-bc44d7eb1fa2")]
public class Surface2 : Surface1, IDisposable, IUnknown
Inheritance
object
Surface2
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

Surface2(IntPtr)

Initializes a new instance of the Surface2 class.

public Surface2(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Methods

Create(Resource1, int)

Initializes a new sub resource surface instance of Surface2 class.

public static Surface2 Create(Resource1 resource, int index)

Parameters

resource Resource1
index int

Returns

Surface2

GetResource(Guid, out IntPtr, out int)

HRESULT IDXGISurface2::GetResource([In] const GUID& riid,[Out] void** ppParentResource,[Out] unsigned int* pSubresourceIndex)

public void GetResource(Guid riid, out IntPtr parentResourceOut, out int subresourceIndexRef)

Parameters

riid System.Guid
parentResourceOut System.IntPtr
subresourceIndexRef int

Operators

explicit operator Surface2(IntPtr)

Performs an explicit conversion from System.IntPtr to Surface2.

public static explicit operator Surface2(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

Surface2