Files
serenity/Userland/Libraries/LibWeb/WebGL/WebGLShaderPrecisionFormat.h
Jelle Raaijmakers b67c8d138c LibWeb: Add WebGLShaderPrecisionFormat
(cherry picked from commit 3d8ab0e67c707062e4d889598fbd176fa0c6fce8)
2024-11-13 19:32:27 -05:00

25 lines
496 B
C++

/*
* 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&);
};
}