Interface IAngleWindowInfo
A window info for angle.
Namespace: OpenTK.Platform.Egl
Assembly: OpenTK.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 |
|---|---|---|
| Int32 | width | width in pixels |
| Int32 | height | height in pixels |
Returns
| Type | Description |
|---|---|
| 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 |
|---|---|---|
| IntPtr | surface | Reference to the surface. |
MakeCurrent(IntPtr)
MakeCurrent the custom surface created with CreateSurface.
Declaration
void MakeCurrent(IntPtr surface)
Parameters
| Type | Name | Description |
|---|---|---|
| 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 |
|---|---|
| IntPtr |
QuerySurfacePointer(IntPtr)
Query the underlying platform pointer / handle for an EGLSurface created with CreateSurface.
Declaration
IntPtr QuerySurfacePointer(IntPtr surface)
Parameters
| Type | Name | Description |
|---|---|---|
| IntPtr | surface |
Returns
| Type | Description |
|---|---|
| IntPtr |