Ion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ion::gfx::FramebufferInfo< T >::Attachment Struct Reference

#include "openglobjects.h"

Collaboration diagram for ion::gfx::FramebufferInfo< T >::Attachment:

Public Member Functions

 Attachment ()
 

Public Attributes

GLenum type
 The type of the attachment, one of GL_RENDERBUFFER, GL_TEXTURE, or if no image is attached, GL_NONE. More...
 
GLuint value
 The id of either the renderbuffer or texture bound to the attachment, or 0 if neither is bound. More...
 
GLuint level
 The mipmap level of the texture object if one is attached. More...
 
GLenum cube_face
 The cube map face of the texture if the attachment is a cube map texture object. More...
 

Detailed Description

template<typename T>
struct ion::gfx::FramebufferInfo< T >::Attachment

Definition at line 102 of file openglobjects.h.

Constructor & Destructor Documentation

template<typename T >
ion::gfx::FramebufferInfo< T >::Attachment::Attachment ( )
inline

Definition at line 103 of file openglobjects.h.

Member Data Documentation

template<typename T >
GLenum ion::gfx::FramebufferInfo< T >::Attachment::cube_face

The cube map face of the texture if the attachment is a cube map texture object.

Definition at line 114 of file openglobjects.h.

template<typename T >
GLuint ion::gfx::FramebufferInfo< T >::Attachment::level

The mipmap level of the texture object if one is attached.

Definition at line 111 of file openglobjects.h.

template<typename T >
GLenum ion::gfx::FramebufferInfo< T >::Attachment::type

The type of the attachment, one of GL_RENDERBUFFER, GL_TEXTURE, or if no image is attached, GL_NONE.

Definition at line 106 of file openglobjects.h.

template<typename T >
GLuint ion::gfx::FramebufferInfo< T >::Attachment::value

The id of either the renderbuffer or texture bound to the attachment, or 0 if neither is bound.

Definition at line 109 of file openglobjects.h.


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