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