Transform sub render state implementation of writing to WBOIT buffers.
More...
#include <OgreShaderExWBOIT.h>
Transform sub render state implementation of writing to WBOIT buffers.
◆ getType()
const String& Ogre::RTShader::WBOIT::getType |
( |
| ) |
const |
|
overridevirtual |
◆ getExecutionOrder()
int Ogre::RTShader::WBOIT::getExecutionOrder |
( |
| ) |
const |
|
overridevirtual |
◆ preAddToRenderState()
bool Ogre::RTShader::WBOIT::preAddToRenderState |
( |
const RenderState * |
renderState, |
|
|
Pass * |
srcPass, |
|
|
Pass * |
dstPass |
|
) |
| |
|
overridevirtual |
Called before adding this sub render state to the given render state.
Allows this sub render state class to configure specific parameters depending on source pass or parent render state. Return of false value will cause canceling the add operation.
- Parameters
-
renderState | The target render state container this sub render state is about to be added.
|
srcPass | The source pass. |
dstPass | The destination pass. |
Reimplemented from Ogre::RTShader::SubRenderState.
◆ createCpuSubPrograms()
bool Ogre::RTShader::WBOIT::createCpuSubPrograms |
( |
ProgramSet * |
programSet | ) |
|
|
overridevirtual |
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.
- Parameters
-
programSet | container class of CPU and GPU programs that this sub state will affect on. |
Reimplemented from Ogre::RTShader::SubRenderState.
◆ copyFrom()
◆ Type
String Ogre::RTShader::WBOIT::Type |
|
static |
The documentation for this class was generated from the following file: