// // Created by Marc Rousavy on 30.08.23. // #pragma once #include #include #include struct OpenGLTexture { enum Type { Texture2D, ExternalOES }; // The ID of the texture as returned in glGenTextures(..) GLuint id; // GL_TEXTURE_2D or GL_TEXTURE_EXTERNAL_OES GLenum target; // Width and height of the texture int width = 0; int height = 0; };