Show / Hide Table of Contents

Interface IAngleWindowInfo

A window info for angle.

Inherited Members
IWindowInfo.Handle
System.IDisposable.Dispose()
Namespace: OpenTK.Platform.Egl
Assembly: cs.temp.dll.dll
Syntax
public interface IAngleWindowInfo : IWindowInfo, IDisposable

Methods

CreateSurface(Int32, Int32)

Create an additional rendering surface that shares the display of this window.

Declaration
IntPtr CreateSurface(int width, int height)
Parameters
Type Name Description
System.Int32 width

width in pixels

System.Int32 height

height in pixels

Returns
Type Description
System.IntPtr

A reference to the new surface

DestroySurface(ref IntPtr)

Destroy a surface created with CreateSurface and clears the passed reference.

Declaration
void DestroySurface(ref IntPtr surface)
Parameters
Type Name Description
System.IntPtr surface

Reference to the surface.

MakeCurrent(IntPtr)

MakeCurrent the custom surface created with CreateSurface.

Declaration
void MakeCurrent(IntPtr surface)
Parameters
Type Name Description
System.IntPtr surface

Reference to the surface.

QuerySurfacePointer()

Query the underlying platform pointer / handle for this window's default surface or IntPtr.Zero

Declaration
IntPtr QuerySurfacePointer()
Returns
Type Description
System.IntPtr

QuerySurfacePointer(IntPtr)

Query the underlying platform pointer / handle for an EGLSurface created with CreateSurface.

Declaration
IntPtr QuerySurfacePointer(IntPtr surface)
Parameters
Type Name Description
System.IntPtr surface
Returns
Type Description
System.IntPtr
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX