Classes | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
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:
Inheritance graph
[legend]

List of all members.

Classes

struct  CopyDataEntry

Public Member Functions

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


Member Typedef Documentation

Definition at line 631 of file OgreGpuProgramParams.h.


Constructor & Destructor Documentation

Construct usage.


Member Function Documentation

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.

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

Definition at line 667 of file OgreGpuProgramParams.h.

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

Definition at line 665 of file OgreGpuProgramParams.h.

Get the name of the shared parameter set.

Definition at line 659 of file OgreGpuProgramParams.h.

Definition at line 661 of file OgreGpuProgramParams.h.

Definition at line 662 of file OgreGpuProgramParams.h.

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

Definition at line 96 of file OgreMemoryAllocatedObject.h.

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

Definition at line 102 of file OgreMemoryAllocatedObject.h.

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

Definition at line 108 of file OgreMemoryAllocatedObject.h.

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

Definition at line 113 of file OgreMemoryAllocatedObject.h.

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

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 
) [inherited]

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) [inherited]

Definition at line 73 of file OgreMemoryAllocatedObject.h.

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

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 
) [inherited]

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) [inherited]

Definition at line 91 of file OgreMemoryAllocatedObject.h.


Member Data Documentation

Definition at line 633 of file OgreGpuProgramParams.h.

Version of shared params we based the copydata on.

Definition at line 639 of file OgreGpuProgramParams.h.

Definition at line 624 of file OgreGpuProgramParams.h.

Definition at line 636 of file OgreGpuProgramParams.h.

Definition at line 622 of file OgreGpuProgramParams.h.


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

Copyright © 2012 Torus Knot Software Ltd
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Mon Jul 27 2020 13:41:14