EGL
Declaration
public static class Strawberry.Web.Helpers.EGL
Fields
LibEgl static
string LibEgl = "libEGL"
EGL_NONE static
int EGL_NONE = 12344
EGL_RED_SIZE static
int EGL_RED_SIZE = 12324
EGL_GREEN_SIZE static
int EGL_GREEN_SIZE = 12323
EGL_BLUE_SIZE static
int EGL_BLUE_SIZE = 12322
EGL_DEPTH_SIZE static
int EGL_DEPTH_SIZE = 12325
EGL_STENCIL_SIZE static
int EGL_STENCIL_SIZE = 12326
EGL_SURFACE_TYPE static
int EGL_SURFACE_TYPE = 12339
EGL_RENDERABLE_TYPE static
int EGL_RENDERABLE_TYPE = 12352
EGL_SAMPLES static
int EGL_SAMPLES = 12337
EGL_WINDOW_BIT static
int EGL_WINDOW_BIT = 4
EGL_OPENGL_ES2_BIT static
int EGL_OPENGL_ES2_BIT = 4
EGL_OPENGL_ES3_BIT static
int EGL_OPENGL_ES3_BIT = 64
EGL_CONTEXT_CLIENT_VERSION static
int EGL_CONTEXT_CLIENT_VERSION = 12440
EGL_NO_CONTEXT static
int EGL_NO_CONTEXT = 0
EGL_NATIVE_VISUAL_ID static
int EGL_NATIVE_VISUAL_ID = 12334
EGL_OPENGL_ES_API static
int EGL_OPENGL_ES_API = 12448
Methods
GetProcAddress static
nint GetProcAddress(string proc)
Parameters:
| Name | Type | Description |
|---|---|---|
proc |
System.String |
GetDisplay static
nint GetDisplay(nint displayId)
Parameters:
| Name | Type | Description |
|---|---|---|
displayId |
nint |
Initialize static
bool Initialize(nint display, out int major, out int minor)
Parameters:
| Name | Type | Description |
|---|---|---|
display |
nint |
|
major |
out System.Int32 |
|
minor |
out System.Int32 |
ChooseConfig static
bool ChooseConfig(nint dpy, int[] attribList, ref nint configs, nint configSize, ref nint numConfig)
Parameters:
| Name | Type | Description |
|---|---|---|
dpy |
nint |
|
attribList |
System.Int32[] |
|
configs |
ref nint |
|
configSize |
nint |
|
numConfig |
ref nint |
BindApi static
bool BindApi(int api)
Parameters:
| Name | Type | Description |
|---|---|---|
api |
System.Int32 |
CreateContext static
nint CreateContext(nint display, nint config, nint shareContext, int[] attribList)
Parameters:
| Name | Type | Description |
|---|---|---|
display |
nint |
|
config |
nint |
|
shareContext |
nint |
|
attribList |
System.Int32[] |
GetConfigAttrib static
bool GetConfigAttrib(nint display, nint config, nint attribute, ref nint value)
Parameters:
| Name | Type | Description |
|---|---|---|
display |
nint |
|
config |
nint |
|
attribute |
nint |
|
value |
ref nint |
CreateWindowSurface static
nint CreateWindowSurface(nint display, nint config, nint win, nint attribList)
Parameters:
| Name | Type | Description |
|---|---|---|
display |
nint |
|
config |
nint |
|
win |
nint |
|
attribList |
nint |
DestroySurface static
int DestroySurface(nint display, nint surface)
Parameters:
| Name | Type | Description |
|---|---|---|
display |
nint |
|
surface |
nint |
DestroyContext static
int DestroyContext(nint display, nint ctx)
Parameters:
| Name | Type | Description |
|---|---|---|
display |
nint |
|
ctx |
nint |
MakeCurrent static
bool MakeCurrent(nint display, nint draw, nint read, nint ctx)
Parameters:
| Name | Type | Description |
|---|---|---|
display |
nint |
|
draw |
nint |
|
read |
nint |
|
ctx |
nint |
Terminate static
int Terminate(nint display)
Parameters:
| Name | Type | Description |
|---|---|---|
display |
nint |
SwapBuffers static
int SwapBuffers(nint display, nint surface)
Parameters:
| Name | Type | Description |
|---|---|---|
display |
nint |
|
surface |
nint |
SwapInterval static
int SwapInterval(nint display, int interval)
Parameters:
| Name | Type | Description |
|---|---|---|
display |
nint |
|
interval |
System.Int32 |