Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
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]

Public Member Functions

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

Static Public Attributes

static String UserKey
 

Protected Member Functions

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

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

◆ SGTechnique()

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

◆ ~SGTechnique()

Ogre::RTShader::ShaderGenerator::SGTechnique::~SGTechnique ( )

Member Function Documentation

◆ acquirePrograms()

void Ogre::RTShader::ShaderGenerator::SGTechnique::acquirePrograms ( )

Acquire the CPU/GPU programs for this technique.

◆ buildTargetRenderState()

void Ogre::RTShader::ShaderGenerator::SGTechnique::buildTargetRenderState ( )

Build the render state.

◆ createSGPasses()

void Ogre::RTShader::ShaderGenerator::SGTechnique::createSGPasses ( )
protected

Create the passes entries.

◆ destroySGPasses()

void Ogre::RTShader::ShaderGenerator::SGTechnique::destroySGPasses ( )
protected

Destroy the passes entries.

◆ getBuildDestinationTechnique()

bool Ogre::RTShader::ShaderGenerator::SGTechnique::getBuildDestinationTechnique ( ) const

Tells if the destination technique should be build.

Definition at line 595 of file OgreShaderGenerator.h.

◆ getDestinationTechnique()

Technique * Ogre::RTShader::ShaderGenerator::SGTechnique::getDestinationTechnique ( )

Get the destination technique.

Definition at line 577 of file OgreShaderGenerator.h.

◆ getDestinationTechniqueSchemeName()

const String & Ogre::RTShader::ShaderGenerator::SGTechnique::getDestinationTechniqueSchemeName ( ) const

Get the destination technique scheme name.

Definition at line 580 of file OgreShaderGenerator.h.

◆ getParent()

const SGMaterial * Ogre::RTShader::ShaderGenerator::SGTechnique::getParent ( ) const

Get the parent SGMaterial.

Definition at line 571 of file OgreShaderGenerator.h.

◆ getRenderState()

RenderState * Ogre::RTShader::ShaderGenerator::SGTechnique::getRenderState ( unsigned short  passIndex)

Get render state of specific pass.

Parameters
passIndexThe pass index.

◆ getSourceTechnique()

Technique * Ogre::RTShader::ShaderGenerator::SGTechnique::getSourceTechnique ( )

Get the source technique.

Definition at line 574 of file OgreShaderGenerator.h.

◆ hasRenderState()

bool Ogre::RTShader::ShaderGenerator::SGTechnique::hasRenderState ( unsigned short  passIndex)

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

◆ 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,
const char *  ,
int  ,
const char *   
)
inherited

Definition at line 108 of file OgreMemoryAllocatedObject.h.

◆ operator delete() [3/3]

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

Definition at line 102 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)
inherited

Definition at line 73 of file OgreMemoryAllocatedObject.h.

◆ operator new() [2/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() [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)
inherited

Definition at line 91 of file OgreMemoryAllocatedObject.h.

◆ operator new[]() [2/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.

◆ releasePrograms()

void Ogre::RTShader::ShaderGenerator::SGTechnique::releasePrograms ( )

Release the CPU/GPU programs of this technique.

◆ setBuildDestinationTechnique()

void Ogre::RTShader::ShaderGenerator::SGTechnique::setBuildDestinationTechnique ( bool  buildTechnique)

Tells the technique that it needs to generate shader code.

Definition at line 592 of file OgreShaderGenerator.h.

Member Data Documentation

◆ mBuildDstTechnique

bool Ogre::RTShader::ShaderGenerator::SGTechnique::mBuildDstTechnique
protected

Definition at line 627 of file OgreShaderGenerator.h.

◆ mCustomRenderStates

RenderStateList Ogre::RTShader::ShaderGenerator::SGTechnique::mCustomRenderStates
protected

Definition at line 625 of file OgreShaderGenerator.h.

◆ mDstTechnique

Technique* Ogre::RTShader::ShaderGenerator::SGTechnique::mDstTechnique
protected

Definition at line 621 of file OgreShaderGenerator.h.

◆ mDstTechniqueSchemeName

String Ogre::RTShader::ShaderGenerator::SGTechnique::mDstTechniqueSchemeName
protected

Definition at line 629 of file OgreShaderGenerator.h.

◆ mParent

SGMaterial* Ogre::RTShader::ShaderGenerator::SGTechnique::mParent
protected

Definition at line 617 of file OgreShaderGenerator.h.

◆ mPassEntries

SGPassList Ogre::RTShader::ShaderGenerator::SGTechnique::mPassEntries
protected

Definition at line 623 of file OgreShaderGenerator.h.

◆ mSrcTechnique

Technique* Ogre::RTShader::ShaderGenerator::SGTechnique::mSrcTechnique
protected

Definition at line 619 of file OgreShaderGenerator.h.

◆ UserKey

String Ogre::RTShader::ShaderGenerator::SGTechnique::UserKey
static

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.