mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 11:48:32 +00:00
LibWeb: Add WebGLProgram
This commit is contained in:
committed by
Andreas Kling
parent
5d0b206d6e
commit
6b7d5dbec6
24
Libraries/LibWeb/WebGL/WebGLProgram.h
Normal file
24
Libraries/LibWeb/WebGL/WebGLProgram.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 WebGLProgram final : public WebGLObject {
|
||||
WEB_PLATFORM_OBJECT(WebGLProgram, WebGLObject);
|
||||
JS_DECLARE_ALLOCATOR(WebGLProgram);
|
||||
|
||||
public:
|
||||
virtual ~WebGLProgram();
|
||||
|
||||
protected:
|
||||
explicit WebGLProgram(JS::Realm&);
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user