mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-16 05:51:55 +00:00
LibWeb: Add WebGLShader
This commit is contained in:
parent
d53cb9833b
commit
2b09afb971
Notes:
github-actions[bot]
2024-11-13 10:43:11 +00:00
Author: https://github.com/gmta
Commit: 2b09afb971
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2308
7 changed files with 55 additions and 0 deletions
24
Libraries/LibWeb/WebGL/WebGLShader.h
Normal file
24
Libraries/LibWeb/WebGL/WebGLShader.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 WebGLShader final : public WebGLObject {
|
||||
WEB_PLATFORM_OBJECT(WebGLShader, WebGLObject);
|
||||
JS_DECLARE_ALLOCATOR(WebGLShader);
|
||||
|
||||
public:
|
||||
virtual ~WebGLShader();
|
||||
|
||||
protected:
|
||||
explicit WebGLShader(JS::Realm&);
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue