#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 66 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 108 of file OgreGpuProgramUsage.h. |
|
Gets the program being used.
Definition at line 110 of file OgreGpuProgramUsage.h. |
|
Gets the type of program we're trying to link to.
Definition at line 87 of file OgreGpuProgramUsage.h. |
|
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 74 of file OgreGpuProgramUsage.h. |
|
Definition at line 71 of file OgreGpuProgramUsage.h. |
|
Definition at line 69 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 Jul 8 15:20:54 2007