Files
serenity/Userland/Libraries/LibWeb/WebGL/WebGLTexture.h
Jelle Raaijmakers 1097eaf38b LibWeb: Add WebGLTexture
(cherry picked from commit f2a164365007ad5e06f3ce47702ded55c42fbcb6)
2024-11-13 19:32:27 -05:00

25 lines
426 B
C++

/*
* Copyright (c) 2024, Jelle Raaijmakers <jelle@ladybird.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibWeb/WebGL/WebGLObject.h>
namespace Web::WebGL {
class WebGLTexture final : public WebGLObject {
WEB_PLATFORM_OBJECT(WebGLTexture, WebGLObject);
JS_DECLARE_ALLOCATOR(WebGLTexture);
public:
virtual ~WebGLTexture();
protected:
explicit WebGLTexture(JS::Realm&);
};
}