Files
Z3D/include/opengl/handles/shader_handle.hpp
2025-03-22 17:40:08 +01:00

18 lines
218 B
C++

#pragma once
#include "GL/glew.h"
namespace zgl
{
struct shader_handle
{
constexpr bool operator==(const shader_handle&) const = default;
constexpr bool valid() const
{
return id != 0;
}
GLuint id{ 0 };
};
}