ParallelME Runtime Environment
|
#include <RSProgram.hpp>
Public Member Functions | |
RSProgram (std::shared_ptr< Runtime > runtime, jstring scriptcName) | |
ProgramObjectMap & | programObjects () |
Public Member Functions inherited from Program | |
Program (const Program &)=delete | |
Program & | operator= (const Program &)=delete |
Additional Inherited Members | |
Public Types inherited from Program | |
typedef std::vector< std::shared_ptr< Program > > | Vector |
Vector of programs. | |
Implementation of the Program class for RenderScript. Use it to specify your RenderScript ScriptC class to be used by the Runtiem.
RSProgram::RSProgram | ( | std::shared_ptr< Runtime > | runtime, |
jstring | scriptcName | ||
) |
Creates the RenderScript program.
runtime | The Runtime instance. |
scriptcName | The ScriptC class name that contains all the kernels. |
|
inlinevirtual |
Returns the list of available program objects for execution.
Implements Program.