OSG  3.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
osg::FrameBufferAttachment Class Reference

#include <FrameBufferObject.h>

Public Member Functions

 FrameBufferAttachment ()
 
 FrameBufferAttachment (const FrameBufferAttachment &copy)
 
 FrameBufferAttachment (RenderBuffer *target)
 
 FrameBufferAttachment (Texture1D *target, unsigned int level=0)
 
 FrameBufferAttachment (Texture2D *target, unsigned int level=0)
 
 FrameBufferAttachment (Texture2DMultisample *target, unsigned int level=0)
 
 FrameBufferAttachment (Texture3D *target, unsigned int zoffset, unsigned int level=0)
 
 FrameBufferAttachment (Texture2DArray *target, unsigned int layer, unsigned int level=0)
 
 FrameBufferAttachment (TextureCubeMap *target, unsigned int face, unsigned int level=0)
 
 FrameBufferAttachment (TextureRectangle *target)
 
 FrameBufferAttachment (Camera::Attachment &attachment)
 
 ~FrameBufferAttachment ()
 
FrameBufferAttachment & operator= (const FrameBufferAttachment &copy)
 
bool isMultisample () const
 
void createRequiredTexturesAndApplyGenerateMipMap (State &state, const GLExtensions *ext) const
 
void attach (State &state, GLenum target, GLenum attachment_point, const GLExtensions *ext) const
 
int compare (const FrameBufferAttachment &fa) const
 
RenderBuffer * getRenderBuffer ()
 
const RenderBuffer * getRenderBuffer () const
 
Texture * getTexture ()
 
const Texture * getTexture () const
 
unsigned int getCubeMapFace () const
 
unsigned int getTextureLevel () const
 
unsigned int getTexture3DZOffset () const
 
unsigned int getTextureArrayLayer () const
 

Detailed Description

Definition at line 285 of file FrameBufferObject.h.

Constructor & Destructor Documentation

osg::FrameBufferAttachment::FrameBufferAttachment ( )
osg::FrameBufferAttachment::FrameBufferAttachment ( const FrameBufferAttachment &  copy)
osg::FrameBufferAttachment::FrameBufferAttachment ( RenderBuffer *  target)
explicit
osg::FrameBufferAttachment::FrameBufferAttachment ( Texture1D *  target,
unsigned int  level = 0 
)
explicit
osg::FrameBufferAttachment::FrameBufferAttachment ( Texture2D *  target,
unsigned int  level = 0 
)
explicit
osg::FrameBufferAttachment::FrameBufferAttachment ( Texture2DMultisample *  target,
unsigned int  level = 0 
)
explicit
osg::FrameBufferAttachment::FrameBufferAttachment ( Texture3D *  target,
unsigned int  zoffset,
unsigned int  level = 0 
)
explicit
osg::FrameBufferAttachment::FrameBufferAttachment ( Texture2DArray *  target,
unsigned int  layer,
unsigned int  level = 0 
)
explicit
osg::FrameBufferAttachment::FrameBufferAttachment ( TextureCubeMap *  target,
unsigned int  face,
unsigned int  level = 0 
)
explicit
osg::FrameBufferAttachment::FrameBufferAttachment ( TextureRectangle *  target)
explicit
osg::FrameBufferAttachment::FrameBufferAttachment ( Camera::Attachment &  attachment)
explicit
osg::FrameBufferAttachment::~FrameBufferAttachment ( )

Member Function Documentation

void osg::FrameBufferAttachment::attach ( State &  state,
GLenum  target,
GLenum  attachment_point,
const GLExtensions *  ext 
) const
int osg::FrameBufferAttachment::compare ( const FrameBufferAttachment &  fa) const
void osg::FrameBufferAttachment::createRequiredTexturesAndApplyGenerateMipMap ( State &  state,
const GLExtensions *  ext 
) const
unsigned int osg::FrameBufferAttachment::getCubeMapFace ( ) const
RenderBuffer* osg::FrameBufferAttachment::getRenderBuffer ( )
const RenderBuffer* osg::FrameBufferAttachment::getRenderBuffer ( ) const
Texture* osg::FrameBufferAttachment::getTexture ( )
const Texture* osg::FrameBufferAttachment::getTexture ( ) const
unsigned int osg::FrameBufferAttachment::getTexture3DZOffset ( ) const
unsigned int osg::FrameBufferAttachment::getTextureArrayLayer ( ) const
unsigned int osg::FrameBufferAttachment::getTextureLevel ( ) const
bool osg::FrameBufferAttachment::isMultisample ( ) const
FrameBufferAttachment& osg::FrameBufferAttachment::operator= ( const FrameBufferAttachment &  copy)

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