![]() |
globjects
2.0.0.630135941c42
Strict OpenGL objects wrapper.
|
Wraps attachments to a FrameBufferObject. More...
#include <globjects/include/globjects/FramebufferAttachment.h>
Public Member Functions | |
| 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 Attributes | |
| Framebuffer * | m_fbo |
| gl::GLenum | m_attachment |
Wraps attachments to a FrameBufferObject.
Normally, FrameBufferAttachments are created using the API of FrameBufferObject.
| globjects::FramebufferAttachment::FramebufferAttachment | ( | Framebuffer * | fbo, |
| gl::GLenum | attachment ) |
| gl::GLenum globjects::FramebufferAttachment::attachment | ( | ) | const |
| gl::GLint globjects::FramebufferAttachment::getParameter | ( | gl::GLenum | pname | ) | const |
|
virtual |
Reimplemented in globjects::AttachedTexture.
|
virtual |
Reimplemented in globjects::AttachedRenderbuffer.
| AttachedTexture * globjects::FramebufferAttachment::asTextureAttachment | ( | ) |
| const AttachedTexture * globjects::FramebufferAttachment::asTextureAttachment | ( | ) | const |
| AttachedRenderbuffer * globjects::FramebufferAttachment::asRenderBufferAttachment | ( | ) |
| const AttachedRenderbuffer * globjects::FramebufferAttachment::asRenderBufferAttachment | ( | ) | const |
| std::string globjects::FramebufferAttachment::attachmentString | ( | ) | const |
|
protected |
|
protected |
1.10.0