This file is indexed.

/usr/include/globjects/FramebufferAttachment.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
41
42
43
44
45
46
47
48
49
50
51
52
53
#pragma once

#include <string>

#include <glbinding/gl/types.h>

#include <globjects/base/Referenced.h>

#include <globjects/globjects_api.h>


namespace globjects 
{


class AttachedTexture;
class AttachedRenderbuffer;
class Framebuffer;

/** \brief Wraps attachments to a FrameBufferObject.
    
    Normally, FrameBufferAttachments are created using the API of FrameBufferObject.
    
    \see FrameBufferObject
    \see TextureAttachment
    \see RenderBufferAttachment
*/
class GLOBJECTS_API FramebufferAttachment : public Referenced
{
public:
    FramebufferAttachment(Framebuffer * fbo, gl::GLenum attachment);

	gl::GLenum attachment() const;

    gl::GLint getParameter(gl::GLenum pname) const;

	virtual bool isTextureAttachment() const;
	virtual bool isRenderBufferAttachment() const;

    AttachedTexture * asTextureAttachment();
    const AttachedTexture * asTextureAttachment() const;
    AttachedRenderbuffer * asRenderBufferAttachment();
    const AttachedRenderbuffer * asRenderBufferAttachment() const;

	std::string attachmentString() const;

protected:
    Framebuffer * m_fbo; // TODO: weak pointer?
	gl::GLenum m_attachment;
};


} // namespace globjects