---
name: "wayland_egl_window_t"
section: "3"
platform: "linux"
package: "waylandpp-dev"
version: "1.0.0-6+b2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/wayland_egl_window_t"
---

# wayland\_egl\_window\_t(3)

Native EGL window.

## NAME

wayland::egl\_window\_t - Native EGL window.

## SYNOPSIS

`#include <wayland-egl.hpp>`

Inherits **wayland::detail::refcounted\_wrapper\< wl\_egl\_window \>**.

### Public Member Functions

**egl\_window\_t** (**surface\_t** const &surface, int width, int height)\
 Create a native egl window for use with eglCreateWindowSurface.

## Detailed Description

Native EGL window.

**Examples** **egl.cpp**.

Definition at line **42** of file **wayland-egl.hpp**.

## Constructor & Destructor Documentation

### wayland::egl\_window\_t::egl\_window\_t (surface\_t const & surface, int width, int height)

Create a native egl window for use with eglCreateWindowSurface.

**Parameters**

*surface* The Wayland surface to use \
 *width* Width of the EGL buffer \
 *height* height of the EGL buffer

## Author

Generated automatically by Doxygen for Wayland++ from the source code.
