#pragma once

#include <GL/glew.h>

namespace gl
{
    class object
    {
    private:
        GLuint id = 0;

    public:
        inline operator GLuint() const
        {
            return id;
        }

        inline operator GLuint* const()
        {
            return &id;
        }

        inline operator const GLuint* const() const
        {
            return &id;
        }

        object() = default;
        object(const object&) = delete;
        object& operator=(const object&) = delete;
    };
}
