#include <OgreGpuProgramUsage.h>
Public Member Functions | |
GpuProgramUsage (GpuProgramType gptype) | |
Default constructor. | |
GpuProgramUsage (const GpuProgramUsage &rhs) | |
Copy constructor. | |
GpuProgramType | getType (void) const |
Gets the type of program we're trying to link to. | |
void | setProgramName (const String &name, bool resetParams=true) |
Sets the name of the program to use. | |
void | setProgram (GpuProgramPtr &prog) |
Sets the program to use. | |
const GpuProgramPtr & | getProgram () const |
Gets the program being used. | |
const String & | getProgramName (void) const |
Gets the program being used. | |
void | setParameters (GpuProgramParametersSharedPtr params) |
Sets the program parameters that should be used; because parameters can be shared between multiple usages for efficiency, this method is here for you to register externally created parameter objects. | |
GpuProgramParametersSharedPtr | getParameters (void) |
Gets the parameters being used here. | |
void | _load (void) |
Load this usage (and ensure program is loaded). | |
void | _unload (void) |
Unload this usage. | |
Protected Attributes | |
GpuProgramType | mType |
GpuProgramPtr | mProgram |
GpuProgramParametersSharedPtr | mParameters |
program parameters |
Definition at line 62 of file OgreGpuProgramUsage.h.
|
Default constructor.
|
|
Copy constructor.
|
|
Load this usage (and ensure program is loaded).
|
|
Unload this usage.
|
|
Gets the parameters being used here.
|
|
Gets the program being used.
Definition at line 104 of file OgreGpuProgramUsage.h. |
|
Gets the program being used.
Definition at line 106 of file OgreGpuProgramUsage.h. References Ogre::String. |
|
Gets the type of program we're trying to link to.
Definition at line 83 of file OgreGpuProgramUsage.h. References Ogre::GpuProgramType. |
|
Sets the program parameters that should be used; because parameters can be shared between multiple usages for efficiency, this method is here for you to register externally created parameter objects. Otherwise, the parameters will be created for you when a program is linked. |
|
Sets the program to use.
|
|
Sets the name of the program to use.
|
|
program parameters
Definition at line 70 of file OgreGpuProgramUsage.h. |
|
Definition at line 67 of file OgreGpuProgramUsage.h. |
|
Definition at line 65 of file OgreGpuProgramUsage.h. |
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Mar 12 14:39:08 2006