ladybird/Libraries/LibWeb/WebGL/WebGLTexture.h

25 lines
426 B
C
Raw Normal View History

2024-11-13 10:08:30 +01:00
/*
* 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);
GC_DECLARE_ALLOCATOR(WebGLTexture);
2024-11-13 10:08:30 +01:00
public:
virtual ~WebGLTexture();
protected:
explicit WebGLTexture(JS::Realm&);
};
}