MaterialSetShader Class Reference

Action to set shader. Allow user to add fragment and shader on a new Pass. More...

Inherits IMaterialAction.

Public Member Functions

 MaterialSetShader (const OpenViBE::Kernel::IKernelContext &rKernelContext, const std::string &fragment, const std::string &vertex, Ogre::GpuProgramParameters *fragmentPrm, Ogre::GpuProgramParameters *vertexPrm, bool light, const std::string &texture="null")
 The contructor stores the arguments.
 
virtual ~MaterialSetShader ()
 Destructor.
 

Detailed Description

Action to set shader. Allow user to add fragment and shader on a new Pass.