IsProgrammable Class Reference

Action to know if is programmable. Main pass is programmable ? ie includes either a vertex or fragment program. More...

Inherits IMaterialAction.

Public Member Functions

 IsProgrammable (const OpenViBE::Kernel::IKernelContext &rKernelContext)
 The contructor. The result is false by default.
 
virtual ~IsProgrammable ()
 Destructor.
 
 operator bool ()
 Operator to retrieve the result.
 

Detailed Description

Action to know if is programmable. Main pass is programmable ? ie includes either a vertex or fragment program.

IsProgrammable isProgrammable ;
_nmi->doAction( isProgrammable ) ;
if( isProgrammable )
...