Ogre::RTShader::ProgramSet Class Reference
Core » RTShader

Container class for shader based programs. More...

`#include <OgreShaderProgramSet.h>`

Inheritance diagram for Ogre::RTShader::ProgramSet:
[legend]

## Public Member Functions

| ProgramSet ()
| Class default constructor. More...
| ~ProgramSet ()
| Class destructor. More...
Program * | getCpuFragmentProgram ()
| Get the fragment shader CPU program. More...
Program * | getCpuVertexProgram ()
| Get the vertex shader CPU program. More...
GpuProgramPtr | getGpuFragmentProgram ()
| Get the fragment shader GPU program. More...
GpuProgramPtr | getGpuVertexProgram ()
| Get the vertex shader GPU program. More...
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 Member Functions

void | setCpuFragmentProgram (Program *psCpuProgram)
void | setCpuVertexProgram (Program *vsCpuProgram)
void | setGpuFragmentProgram (GpuProgramPtr psGpuProgram)
void | setGpuVertexProgram (GpuProgramPtr vsGpuProgram)

## Protected Attributes

Program * | mPSCpuProgram
GpuProgramPtr | mPSGpuProgram
Program * | mVSCpuProgram
GpuProgramPtr | mVSGpuProgram

## Friends

class | ProgramManager
class | TargetRenderState

## Detailed Description

Container class for shader based programs.

Holds both a CPU representation and GPU representation of vertex and fragment program.

Definition at line 46 of file OgreShaderProgramSet.h.

## Constructor & Destructor Documentation

## ProgramSet()

Ogre::RTShader::ProgramSet::ProgramSet | ( |  | ) |

Class default constructor.

## ~ProgramSet()

Ogre::RTShader::ProgramSet::~ProgramSet | ( |  | ) |

Class destructor.

## Member Function Documentation

## getCpuFragmentProgram()

Program* Ogre::RTShader::ProgramSet::getCpuFragmentProgram | ( |  | ) |

Get the fragment shader CPU program.

## getCpuVertexProgram()

Program* Ogre::RTShader::ProgramSet::getCpuVertexProgram | ( |  | ) |

Get the vertex shader CPU program.

## getGpuFragmentProgram()

GpuProgramPtr Ogre::RTShader::ProgramSet::getGpuFragmentProgram | ( |  | ) |

Get the fragment shader GPU program.

## getGpuVertexProgram()

GpuProgramPtr Ogre::RTShader::ProgramSet::getGpuVertexProgram | ( |  | ) |

Get the vertex shader GPU program.

## operator delete() [1/3]

template<class Alloc >

void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr | ) |

inherited

Definition at line 96 of file OgreMemoryAllocatedObject.h.

## operator delete() [2/3]

template<class Alloc >

void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr,
|  | void * |
| ) |  |

inherited

Definition at line 102 of file OgreMemoryAllocatedObject.h.

## operator delete() [3/3]

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.

## operator delete[]() [1/2]

template<class Alloc >

void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr | ) |

inherited

Definition at line 113 of file OgreMemoryAllocatedObject.h.

## operator delete[]() [2/2]

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.

## operator new() [1/3]

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.

## operator new() [2/3]

template<class Alloc >

void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz | ) |

inherited

Definition at line 73 of file OgreMemoryAllocatedObject.h.

## operator new() [3/3]

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.

## operator new[]() [1/2]

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.

## operator new[]() [2/2]

template<class Alloc >

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

inherited

Definition at line 91 of file OgreMemoryAllocatedObject.h.

## setCpuFragmentProgram()

void Ogre::RTShader::ProgramSet::setCpuFragmentProgram | ( | Program * | psCpuProgram | ) |

protected

## setCpuVertexProgram()

void Ogre::RTShader::ProgramSet::setCpuVertexProgram | ( | Program * | vsCpuProgram | ) |

protected

## setGpuFragmentProgram()

void Ogre::RTShader::ProgramSet::setGpuFragmentProgram | ( | GpuProgramPtr | psGpuProgram | ) |

protected

## setGpuVertexProgram()

void Ogre::RTShader::ProgramSet::setGpuVertexProgram | ( | GpuProgramPtr | vsGpuProgram | ) |

protected

## Friends And Related Function Documentation

## ProgramManager

friend class ProgramManager

friend

Definition at line 90 of file OgreShaderProgramSet.h.

## TargetRenderState

friend class TargetRenderState

friend

Definition at line 91 of file OgreShaderProgramSet.h.

## Member Data Documentation

## mPSCpuProgram

Program* Ogre::RTShader::ProgramSet::mPSCpuProgram

protected

Definition at line 83 of file OgreShaderProgramSet.h.

## mPSGpuProgram

GpuProgramPtr Ogre::RTShader::ProgramSet::mPSGpuProgram

protected

Definition at line 87 of file OgreShaderProgramSet.h.

## mVSCpuProgram

Program* Ogre::RTShader::ProgramSet::mVSCpuProgram

protected

Definition at line 81 of file OgreShaderProgramSet.h.

## mVSGpuProgram

GpuProgramPtr Ogre::RTShader::ProgramSet::mVSGpuProgram

protected

Definition at line 85 of file OgreShaderProgramSet.h.

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

- OgreShaderProgramSet.h

Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.