Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes
Ogre::RTShader::ShaderGenerator::SGTechnique Class Reference

Shader generator technique wrapper class. More...

#include <OgreShaderGenerator.h>

Inheritance diagram for Ogre::RTShader::ShaderGenerator::SGTechnique:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 SGTechnique (SGMaterial *parent, Technique *srcTechnique, const String &dstTechniqueSchemeName)
 ~SGTechnique ()
void acquirePrograms ()
 Acquire the CPU/GPU programs for this technique.
void buildTargetRenderState ()
 Build the render state.
bool getBuildDestinationTechnique () const
 Tells if the destination technique should be build.
TechniquegetDestinationTechnique ()
 Get the destination technique.
const StringgetDestinationTechniqueSchemeName () const
 Get the destination technique scheme name.
const SGMaterialgetParent () const
 Get the parent SGMaterial.
RenderStategetRenderState (unsigned short passIndex)
 Get render state of specific pass.
TechniquegetSourceTechnique ()
 Get the source technique.
bool hasRenderState (unsigned short passIndex)
 Tells if a custom render state exists for the given pass.
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)
void releasePrograms ()
 Release the CPU/GPU programs of this technique.
void setBuildDestinationTechnique (bool buildTechnique)
 Tells the technique that it needs to generate shader code.

Static Public Attributes

static String UserKey

Protected Member Functions

void createSGPasses ()
 Create the passes entries.
void destroySGPasses ()
 Destroy the passes entries.

Protected Attributes

bool mBuildDstTechnique
RenderStateList mCustomRenderStates
TechniquemDstTechnique
String mDstTechniqueSchemeName
SGMaterialmParent
SGPassList mPassEntries
TechniquemSrcTechnique

Detailed Description

Shader generator technique wrapper class.

Definition at line 564 of file OgreShaderGenerator.h.


Constructor & Destructor Documentation

Ogre::RTShader::ShaderGenerator::SGTechnique::SGTechnique ( SGMaterial parent,
Technique srcTechnique,
const String dstTechniqueSchemeName 
)

Member Function Documentation

Acquire the CPU/GPU programs for this technique.

Build the render state.

Create the passes entries.

Destroy the passes entries.

Tells if the destination technique should be build.

Definition at line 595 of file OgreShaderGenerator.h.

Get the destination technique.

Definition at line 577 of file OgreShaderGenerator.h.

Get the destination technique scheme name.

Definition at line 580 of file OgreShaderGenerator.h.

Get the parent SGMaterial.

Definition at line 571 of file OgreShaderGenerator.h.

Get render state of specific pass.

Parameters:
passIndexThe pass index.

Get the source technique.

Definition at line 574 of file OgreShaderGenerator.h.

Tells if a custom render state exists for the given pass.

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.

Release the CPU/GPU programs of this technique.

Tells the technique that it needs to generate shader code.

Definition at line 592 of file OgreShaderGenerator.h.


Member Data Documentation

Definition at line 627 of file OgreShaderGenerator.h.

Definition at line 625 of file OgreShaderGenerator.h.

Definition at line 621 of file OgreShaderGenerator.h.

Definition at line 629 of file OgreShaderGenerator.h.

Definition at line 617 of file OgreShaderGenerator.h.

Definition at line 623 of file OgreShaderGenerator.h.

Definition at line 619 of file OgreShaderGenerator.h.

Definition at line 605 of file OgreShaderGenerator.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:51