reference

This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.

ofBaseHasTexture Class Referenceabstract

An abstract class representing an object that can have an ofTexture. More...

#include <ofGLBaseTypes.h>

Inheritance diagram for ofBaseHasTexture:
ofAbstractImage ofBaseHasTexturePlanes ofFbo ofBaseImage_< PixelType > ofBaseImage_< unsigned char > ofBaseImage_< T > ofBaseVideoDraws ofImage_< PixelType > ofImage_< unsigned char > ofVideoGrabber ofVideoPlayer

Public Member Functions

virtual ~ofBaseHasTexture ()
 Destroy the ofBaseHasTexture.
 
virtual ofTexturegetTexture ()=0
 
virtual const ofTexturegetTexture () const =0
 
virtual void setUseTexture (bool bUseTex)=0
 Enable or disable internal ofTexture use.
 
virtual bool isUsingTexture () const =0
 

Detailed Description

An abstract class representing an object that can have an ofTexture.

Constructor & Destructor Documentation

◆ ~ofBaseHasTexture()

virtual ofBaseHasTexture::~ofBaseHasTexture ( )
inlinevirtual

Destroy the ofBaseHasTexture.

Member Function Documentation

◆ getTexture() [1/2]

virtual const ofTexture & ofBaseHasTexture::getTexture ( ) const
pure virtual
Returns
a const reference to the ofTexture.

Implemented in ofFbo, ofImage_< PixelType >, ofImage_< unsigned char >, ofVideoGrabber, and ofVideoPlayer.

◆ getTexture() [2/2]

virtual ofTexture & ofBaseHasTexture::getTexture ( )
pure virtual
Returns
a reference to the ofTexture.

Implemented in ofFbo, ofImage_< PixelType >, ofImage_< unsigned char >, ofVideoGrabber, and ofVideoPlayer.

◆ isUsingTexture()

virtual bool ofBaseHasTexture::isUsingTexture ( ) const
pure virtual
Returns
true if an internal ofTexture is being used.

Implemented in ofFbo, ofImage_< PixelType >, ofImage_< unsigned char >, ofVideoGrabber, and ofVideoPlayer.

◆ setUseTexture()

virtual void ofBaseHasTexture::setUseTexture ( bool  bUseTex)
pure virtual

Enable or disable internal ofTexture use.

Parameters
bUseTextrue if an ofTexture should be used.

Implemented in ofImage_< PixelType >, ofImage_< unsigned char >, ofVideoGrabber, ofVideoPlayer, and ofFbo.


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