mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 07:07:23 +00:00
LibWeb: Add WebGLTexture
This commit is contained in:
committed by
Andreas Kling
parent
2b09afb971
commit
f2a1643650
24
Libraries/LibWeb/WebGL/WebGLTexture.h
Normal file
24
Libraries/LibWeb/WebGL/WebGLTexture.h
Normal file
@@ -0,0 +1,24 @@
|
||||
/*
|
||||
* 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&);
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user