ParallelME Runtime Environment
Public Member Functions | List of all members
RSProgram Class Reference

#include <RSProgram.hpp>

Inheritance diagram for RSProgram:
Program

Public Member Functions

 RSProgram (std::shared_ptr< Runtime > runtime, jstring scriptcName)
 
ProgramObjectMap & programObjects ()
 
- Public Member Functions inherited from Program
 Program (const Program &)=delete
 
Programoperator= (const Program &)=delete
 

Additional Inherited Members

- Public Types inherited from Program
typedef std::vector< std::shared_ptr< Program > > Vector
 Vector of programs.
 

Detailed Description

Implementation of the Program class for RenderScript. Use it to specify your RenderScript ScriptC class to be used by the Runtiem.

Constructor & Destructor Documentation

RSProgram::RSProgram ( std::shared_ptr< Runtime runtime,
jstring  scriptcName 
)

Creates the RenderScript program.

Parameters
runtimeThe Runtime instance.
scriptcNameThe ScriptC class name that contains all the kernels.

Member Function Documentation

ProgramObjectMap& RSProgram::programObjects ( )
inlinevirtual

Returns the list of available program objects for execution.

Implements Program.


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