/usr/include/globjects/TextureHandle.h is in libglobjects-dev 1.1.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | #pragma once
#include <glm/fwd.hpp>
#include <glbinding/gl/types.h>
#include <globjects/globjects_api.h>
namespace globjects
{
class Texture;
class Sampler;
class GLOBJECTS_API TextureHandle
{
public:
TextureHandle();
TextureHandle(gl::GLuint64 handle);
explicit TextureHandle(const Texture * texture);
TextureHandle(const Texture * texture, const Sampler * sampler);
void makeResident();
void makeNonResident();
bool isResident() const;
gl::GLuint64 handle() const;
operator gl::GLuint64() const;
glm::uvec2 asUVec2() const;
operator glm::uvec2() const;
private:
gl::GLuint64 m_handle;
};
} // namespace globjects
|