Visualization Library v1.0.3

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Public Member Functions | Protected Attributes

vl::FBOAbstractTextureAttachment Class Reference

Base class for all the framebuffer texture attachments (see also FramebufferObject). More...

#include <FramebufferObject.hpp>

Inheritance diagram for vl::FBOAbstractTextureAttachment:
vl::FBOAbstractAttachment vl::Object vl::FBOTexture1DAttachment vl::FBOTexture2DAttachment vl::FBOTexture3DAttachment vl::FBOTextureAttachment vl::FBOTextureLayerAttachment

List of all members.

Public Member Functions

 FBOAbstractTextureAttachment (Texture *texture, int mipmap_level)
 Constructor.
void setTexture (Texture *texture)
 The texture bound to this attachment.
Texturetexture ()
 The texture bound to this attachment.
const Texturetexture () const
 The texture bound to this attachment.
void setMipmapLevel (int mipmap_level)
 The mipmap level of the texture to attach.
int mipmapLevel () const
 The mipmap level of the texture to attach.

Protected Attributes

ref< TexturemTexture
int mMipmapLevel

Detailed Description

Base class for all the framebuffer texture attachments (see also FramebufferObject).

Definition at line 308 of file FramebufferObject.hpp.


Constructor & Destructor Documentation

vl::FBOAbstractTextureAttachment::FBOAbstractTextureAttachment ( Texture texture,
int  mipmap_level 
) [inline]

Constructor.

Definition at line 314 of file FramebufferObject.hpp.

References VL_DEBUG_SET_OBJECT_NAME.


Member Function Documentation

void vl::FBOAbstractTextureAttachment::setTexture ( Texture texture ) [inline]

The texture bound to this attachment.

Definition at line 320 of file FramebufferObject.hpp.

Texture* vl::FBOAbstractTextureAttachment::texture (  ) [inline]
const Texture* vl::FBOAbstractTextureAttachment::texture (  ) const [inline]

The texture bound to this attachment.

Definition at line 326 of file FramebufferObject.hpp.

void vl::FBOAbstractTextureAttachment::setMipmapLevel ( int  mipmap_level ) [inline]

The mipmap level of the texture to attach.

Definition at line 329 of file FramebufferObject.hpp.

int vl::FBOAbstractTextureAttachment::mipmapLevel (  ) const [inline]

Member Data Documentation

Reimplemented in vl::FBOTextureLayerAttachment.

Definition at line 335 of file FramebufferObject.hpp.

Reimplemented in vl::FBOTextureLayerAttachment.

Definition at line 336 of file FramebufferObject.hpp.


The documentation for this class was generated from the following file:

Visualization Library v1.0.3 Reference Documentation
Copyright Michele Bosi. All rights reserved.
Updated on Tue Feb 7 2017 00:55:10.
Permission is granted to use this page to write and publish articles regarding Visualization Library.