src/gl/axesprogram.h

Mon, 20 Jun 2022 19:49:56 +0300

author
Teemu Piippo <teemu.s.piippo@gmail.com>
date
Mon, 20 Jun 2022 19:49:56 +0300
changeset 237
10a6298f636f
parent 234
87ee9824210b
permissions
-rw-r--r--

Add an option to log opengl messages

#pragma once
#include "gl/common.h"
#include "gl/basicshaderprogram.h"

class AxesLayer final : public RenderLayer
{
	BasicShader shader;
public:
	void initializeGL() override;
	void overpaint(QPainter* painter) override;
	void paintGL() override;
	void mvpMatrixChanged(const glm::mat4& mvpMatrix) override;
};

mercurial