In This Topic
The following tables list the members exposed by Surface2.
Public Constructors
Public Properties
Public Methods
| Name | Description |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) ![static (Shared in Visual Basic)](template/packages/core-dotnet/images/static.png) | Create | Initializes a new sub resource surface instance of Surface2 class. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | Dispose | Overloaded. Clean up any resources being used. (Inherited from C1.Util.DX.ComObject) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | GetDC | HRESULT IDXGISurface1::GetDC([In] BOOL Discard,[Out] HDC* phdc) (Inherited from C1.Util.DX.DXGI.Surface1) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | GetDescription | HRESULT IDXGISurface::GetDesc([Out] DXGI_SURFACE_DESC* pDesc) (Inherited from C1.Util.DX.DXGI.Surface) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | GetDevice | Overloaded. Retrieves the device. (Inherited from C1.Util.DX.DXGI.DeviceChild) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | GetParent | Overloaded. Gets the parent of the object. (Inherited from C1.Util.DX.DXGI.DXGIObject) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | GetPrivateData | HRESULT IDXGIObject::GetPrivateData([In] const GUID& Name,[InOut] unsigned int* pDataSize,[Out, Buffer] void* pData) (Inherited from C1.Util.DX.DXGI.DXGIObject) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | GetResource | HRESULT IDXGISurface2::GetResource([In] const GUID& riid,[Out] void** ppParentResource,[Out] unsigned int* pSubresourceIndex) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | Map | Overloaded. Acquires access to the surface data. (Inherited from C1.Util.DX.DXGI.Surface) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | QueryInterface | Overloaded. Query this instance for a particular COM GUID/interface support. (Inherited from C1.Util.DX.ComObject) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | QueryInterfaceOrNull | Overloaded. Query instance for a particular COM GUID/interface support. (Inherited from C1.Util.DX.ComObject) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | ReleaseDC | Overloaded. Releases the GDI device context (DC) associated with the current surface and allows rendering using Direct3D. The whole surface to be considered dirty. (Inherited from C1.Util.DX.DXGI.Surface1) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | ReleaseDC_ | HRESULT IDXGISurface1::ReleaseDC([In, Optional] RECT* pDirtyRect) (Inherited from C1.Util.DX.DXGI.Surface1) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | SetPrivateData | HRESULT IDXGIObject::SetPrivateData([In] const GUID& Name,[In] unsigned int DataSize,[In, Buffer] const void* pData) (Inherited from C1.Util.DX.DXGI.DXGIObject) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | SetPrivateDataInterface | HRESULT IDXGIObject::SetPrivateDataInterface([In] const GUID& Name,[In] const IUnknown* pUnknown) (Inherited from C1.Util.DX.DXGI.DXGIObject) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | Unmap | HRESULT IDXGISurface::Unmap() (Inherited from C1.Util.DX.DXGI.Surface) |
Top
Public Events
Public Operators
See Also