TSdlEglSurface
An EGL surface.
Definition
Unit: Neslib.Sdl3.Video
Operators
Name | Description |
---|---|
Equal(TSdlEglSurface, TSdlEglSurface) | Used to compare against another TSdlEglSurface. |
Equal(TSdlEglSurface, Pointer) | Used to compare against nil . |
Implicit | Used to set the value to nil . |
NotEqual(TSdlEglSurface, TSdlEglSurface) | Used to compare against another TSdlEglSurface. |
NotEqual(TSdlEglSurface, Pointer) | Used to compare against nil . |
Methods
Name | Description |
---|---|
ForWindow | Get the EGL surface associated with the window. |
Operator Descriptions
Equal(TSdlEglSurface, TSdlEglSurface)
Used to compare against another TSdlEglSurface.
class operator Equal(const ALeft, ARight: TSdlEglSurface): Boolean; inline; static
Parameters
ALeft
: TSdlEglSurface
ARight
: TSdlEglSurface
Returns
Boolean
Equal(TSdlEglSurface, Pointer)
Used to compare against nil
.
class operator Equal(const ALeft: TSdlEglSurface; const ARight: Pointer): Boolean; inline; static
Parameters
ALeft
: TSdlEglSurface
ARight
: Pointer
Returns
Boolean
Implicit(Pointer)
Used to set the value to nil
.
class operator Implicit(const AValue: Pointer): TSdlEglSurface; inline; static
Parameters
AValue
: Pointer
Returns
NotEqual(TSdlEglSurface, TSdlEglSurface)
Used to compare against another TSdlEglSurface.
class operator NotEqual(const ALeft, ARight: TSdlEglSurface): Boolean; inline; static
Parameters
ALeft
: TSdlEglSurface
ARight
: TSdlEglSurface
Returns
Boolean
NotEqual(TSdlEglSurface, Pointer)
Used to compare against nil
.
class operator NotEqual(const ALeft: TSdlEglSurface; const ARight: Pointer): Boolean; inline; static
Parameters
ALeft
: TSdlEglSurface
ARight
: Pointer
Returns
Boolean
Method Descriptions
ForWindow(TSdlWindow)
Get the EGL surface associated with the window.
class function ForWindow(const AWindow: TSdlWindow): TSdlEglSurface; inline; static
Exceptions
ESdlError
: Raised on failure.
Parameters
AWindow
: TSdlWindow
: The window to query.
Returns
TSdlEglSurface
: The EGL surface associated with the window.
Remarks
This method should only be called on the main thread.