![]() |
OGRE 2.3.1
Object-Oriented Graphics Rendering Engine
|
Normal Map Lighting extension sub render state implementation. More...
#include <OgreShaderExNormalMapLighting.h>
Inheritance diagram for Ogre::RTShader::NormalMapLighting:Public Types | |
| enum | NormalMapSpace { NMS_TANGENT , NMS_OBJECT } |
Public Member Functions | |
| NormalMapLighting () | |
| Class default constructor. More... | |
| virtual void | copyFrom (const SubRenderState &rhs) |
| virtual bool | createCpuSubPrograms (ProgramSet *programSet) |
| Create sub programs that represents this sub render state as part of a program set. More... | |
| SubRenderStateAccessorPtr | getAccessor () |
| Return the accessor object to this sub render state. More... | |
| SubRenderStateAccessorPtr | getAccessor () const |
| Return the accessor object to this sub render state. More... | |
| virtual int | getExecutionOrder () const |
| unsigned int | getNormalMapAnisotropy () const |
| Return the normal map anisotropy value. More... | |
| void | getNormalMapFiltering (FilterOptions &minFilter, FilterOptions &magFilter, FilterOptions &mipFilter) const |
| Return the normal map filtering attributes. More... | |
| Real | getNormalMapMipBias () const |
| Return the normal map mip bias value. More... | |
| NormalMapSpace | getNormalMapSpace () const |
| Return the normal map space. More... | |
| const String & | getNormalMapTextureName () const |
| Return the normal map texture name. More... | |
| unsigned int | getTexCoordIndex () const |
| Return the index of the input vertex shader texture coordinate set. More... | |
| virtual const String & | getType () const |
| 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... | |
| virtual bool | preAddToRenderState (const RenderState *renderState, Pass *srcPass, Pass *dstPass) |
| void | setNormalMapAnisotropy (unsigned int anisotropy) |
| Setup the normal map anisotropy value. More... | |
| void | setNormalMapFiltering (const FilterOptions minFilter, const FilterOptions magFilter, const FilterOptions mipFilter) |
| Set the normal map filtering attributes. More... | |
| void | setNormalMapMipBias (Real mipBias) |
| Setup the normal map map mip bias value. More... | |
| void | setNormalMapSpace (NormalMapSpace normalMapSpace) |
| Set the normal map space. More... | |
| void | setNormalMapTextureName (const String &textureName) |
| Set the normal map texture name. More... | |
| void | setTexCoordIndex (unsigned int index) |
| Set the index of the input vertex shader texture coordinate set. More... | |
| virtual void | updateGpuProgramsParams (Renderable *rend, Pass *pass, const AutoParamDataSource *source, const LightList *pLightList) |
Static Public Attributes | |
| static String | Type |
Normal Map Lighting extension sub render state implementation.
Derives from SubRenderState class.
| Ogre::RTShader::NormalMapLighting::NormalMapLighting | ( | ) |
Class default constructor.
|
virtual |
Implements Ogre::RTShader::SubRenderState.
|
virtualinherited |
Create sub programs that represents this sub render state as part of a program set.
The given program set contains CPU programs that represents a vertex shader and pixel shader. One should use these program class API to create a representation of the sub state he wished to implement.
| programSet | container class of CPU and GPU programs that this sub state will affect on. |
Reimplemented in Ogre::RTShader::FFPTransform.
|
inherited |
Return the accessor object to this sub render state.
|
inherited |
Return the accessor object to this sub render state.
|
virtual |
Implements Ogre::RTShader::SubRenderState.
|
inline |
Return the normal map anisotropy value.
|
inline |
Return the normal map filtering attributes.
| minFilter | The desired min filter. |
| magFilter | The desired mag filter. |
| mipFilter | The desired mip filter. |
|
inline |
Return the normal map mip bias value.
|
inline |
Return the normal map space.
|
inline |
Return the normal map texture name.
|
inline |
Return the index of the input vertex shader texture coordinate set.
|
virtual |
Implements Ogre::RTShader::SubRenderState.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
operator new, with debug line info
|
inlineinherited |
placement operator new
|
inlineinherited |
|
inlineinherited |
array operator new, with debug line info
|
virtual |
Reimplemented from Ogre::RTShader::SubRenderState.
|
inline |
Setup the normal map anisotropy value.
| anisotropy | The anisotropy value. |
|
inline |
Set the normal map filtering attributes.
| minFilter | The desired min filter. |
| magFilter | The desired mag filter. |
| mipFilter | The desired mip filter. |
|
inline |
Setup the normal map map mip bias value.
| mipBias | The map mip bias value. |
|
inline |
Set the normal map space.
| normalMapSpace | The normal map space. |
|
inline |
Set the normal map texture name.
|
inline |
Set the index of the input vertex shader texture coordinate set.
|
virtual |
Reimplemented from Ogre::RTShader::SubRenderState.
|
static |