OGRE  2.0
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ogre::GpuSharedParametersUsage Class Reference

This class records the usage of a set of shared parameters in a concrete set of GpuProgramParameters. More...

#include <OgreGpuProgramParams.h>

+ Inheritance diagram for Ogre::GpuSharedParametersUsage:
+ Collaboration diagram for Ogre::GpuSharedParametersUsage:

Classes

struct  CopyDataEntry
 

Public Member Functions

 GpuSharedParametersUsage (GpuSharedParametersPtr sharedParams, GpuProgramParameters *params)
 Construct usage. More...
 
void _copySharedParamsToTargetParams ()
 Update the target parameters by copying the data from the shared parameters. More...
 
const Any_getRenderSystemData () const
 Internal method that the RenderSystem might use to store optional data. More...
 
void _setRenderSystemData (const Any &data) const
 Internal method that the RenderSystem might use to store optional data. More...
 
const StringgetName () const
 Get the name of the shared parameter set. More...
 
GpuSharedParametersPtr getSharedParams () const
 
GpuProgramParametersgetTargetParams () const
 
void operator delete (void *ptr)
 
void operator delete (void *ptr, void *)
 
void operator delete (void *ptr, const char *, int, const char *)
 
void operator delete[] (void *ptr)
 
void operator delete[] (void *ptr, const char *, int, const char *)
 
void * operator new (size_t sz, const char *file, int line, const char *func)
 operator new, with debug line info More...
 
void * operator new (size_t sz)
 
void * operator new (size_t sz, void *ptr)
 placement operator new More...
 
void * operator new[] (size_t sz, const char *file, int line, const char *func)
 array operator new, with debug line info More...
 
void * operator new[] (size_t sz)
 

Protected Types

typedef vector< CopyDataEntry >
::type 
CopyDataList
 

Protected Member Functions

void initCopyData ()
 

Protected Attributes

CopyDataList mCopyDataList
 
unsigned long mCopyDataVersion
 Version of shared params we based the copydata on. More...
 
GpuProgramParametersmParams
 
Any mRenderSystemData
 
GpuSharedParametersPtr mSharedParams
 

Detailed Description

This class records the usage of a set of shared parameters in a concrete set of GpuProgramParameters.

Definition at line 804 of file OgreGpuProgramParams.h.

Member Typedef Documentation

Definition at line 816 of file OgreGpuProgramParams.h.

Constructor & Destructor Documentation

Ogre::GpuSharedParametersUsage::GpuSharedParametersUsage ( GpuSharedParametersPtr  sharedParams,
GpuProgramParameters params 
)

Construct usage.

Member Function Documentation

void Ogre::GpuSharedParametersUsage::_copySharedParamsToTargetParams ( )

Update the target parameters by copying the data from the shared parameters.

Note
This method may not actually be called if the RenderSystem supports using shared parameters directly in their own shared buffer; in which case the values should not be copied out of the shared area into the individual parameter set, but bound separately.
const Any& Ogre::GpuSharedParametersUsage::_getRenderSystemData ( ) const
inline

Internal method that the RenderSystem might use to store optional data.

Definition at line 852 of file OgreGpuProgramParams.h.

void Ogre::GpuSharedParametersUsage::_setRenderSystemData ( const Any data) const
inline

Internal method that the RenderSystem might use to store optional data.

Definition at line 850 of file OgreGpuProgramParams.h.

const String& Ogre::GpuSharedParametersUsage::getName ( void  ) const
inline

Get the name of the shared parameter set.

Definition at line 844 of file OgreGpuProgramParams.h.

GpuSharedParametersPtr Ogre::GpuSharedParametersUsage::getSharedParams ( ) const
inline

Definition at line 846 of file OgreGpuProgramParams.h.

GpuProgramParameters* Ogre::GpuSharedParametersUsage::getTargetParams ( ) const
inline

Definition at line 847 of file OgreGpuProgramParams.h.

void Ogre::GpuSharedParametersUsage::initCopyData ( )
protected
template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr)
inlineinherited

Definition at line 96 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr,
void *   
)
inlineinherited

Definition at line 102 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr,
const char *  ,
int  ,
const char *   
)
inlineinherited

Definition at line 108 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void *  ptr)
inlineinherited

Definition at line 113 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void *  ptr,
const char *  ,
int  ,
const char *   
)
inlineinherited

Definition at line 119 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz,
const char *  file,
int  line,
const char *  func 
)
inlineinherited

operator new, with debug line info

Definition at line 68 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz)
inlineinherited

Definition at line 73 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz,
void *  ptr 
)
inlineinherited

placement operator new

Definition at line 79 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new[] ( size_t  sz,
const char *  file,
int  line,
const char *  func 
)
inlineinherited

array operator new, with debug line info

Definition at line 86 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new[] ( size_t  sz)
inlineinherited

Definition at line 91 of file OgreMemoryAllocatedObject.h.

Member Data Documentation

CopyDataList Ogre::GpuSharedParametersUsage::mCopyDataList
protected

Definition at line 818 of file OgreGpuProgramParams.h.

unsigned long Ogre::GpuSharedParametersUsage::mCopyDataVersion
protected

Version of shared params we based the copydata on.

Definition at line 824 of file OgreGpuProgramParams.h.

GpuProgramParameters* Ogre::GpuSharedParametersUsage::mParams
protected

Definition at line 809 of file OgreGpuProgramParams.h.

Any Ogre::GpuSharedParametersUsage::mRenderSystemData
mutableprotected

Definition at line 821 of file OgreGpuProgramParams.h.

GpuSharedParametersPtr Ogre::GpuSharedParametersUsage::mSharedParams
protected

Definition at line 807 of file OgreGpuProgramParams.h.


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