![]() |
OGRE 2.3.3
Object-Oriented Graphics Rendering Engine
|
#include <OgreParallaxCorrectedCubemapBase.h>
Static Public Member Functions | |
static void | fillConstBufferData (const CubemapProbe &probe, const Matrix4 &viewMatrix, const Matrix3 &invViewMat3, float *RESTRICT_ALIAS passBufferPtr) |
static uint8 | getIblNumMipmaps (uint32 width, uint32 height) |
Public Attributes | |
uint32 | mMask |
bool | mPaused |
Ogre::ParallaxCorrectedCubemapBase::ParallaxCorrectedCubemapBase | ( | IdType | id, |
Root * | root, | ||
SceneManager * | sceneManager, | ||
const CompositorWorkspaceDef * | probeWorkspaceDef, | ||
bool | automaticMode | ||
) |
|
virtual |
|
virtual |
Acquires a texture with a given slot.
outTexSlot | [out] Texture slot. Value is left untouched if return value is nullptr |
Reimplemented in Ogre::ParallaxCorrectedCubemapAuto.
|
virtual |
Reimplemented in Ogre::ParallaxCorrectedCubemap.
|
virtual |
Reimplemented in Ogre::ParallaxCorrectedCubemapAuto.
|
virtual |
Reimplemented in Ogre::ParallaxCorrectedCubemap.
Reimplemented in Ogre::ParallaxCorrectedCubemap.
|
virtual |
Reimplemented in Ogre::ParallaxCorrectedCubemapAuto.
|
virtual |
Reimplemented in Ogre::ParallaxCorrectedCubemap.
Reimplemented in Ogre::ParallaxCorrectedCubemap.
|
inline |
|
inlinevirtualinherited |
Called from CompositorManager2 (not CompositorWorkspace) when we're about to begin updating all the workspaces.
You'll have to manage the RenderSystem and SceneManager to call the adequate begin/end calls Warning: Don't add/remove listeners to CompositorManager2 inside this function.
Reimplemented in Ogre::ParallaxCorrectedCubemap, Ogre::ParallaxCorrectedCubemapAuto, and Ogre::VctCascadedVoxelizer.
|
inlinevirtualinherited |
Called from CompositorManager2 (not CompositorWorkspace) when we're about to update all the workspaces (it's safe to update your own workspaces without calling _beginUpdate and _endUpdate) Warning: Don't add/remove listeners to CompositorManager2 inside this function.
Reimplemented in Ogre::ParallaxCorrectedCubemap, and Ogre::ParallaxCorrectedCubemapAuto.
CubemapProbe * Ogre::ParallaxCorrectedCubemapBase::createProbe | ( | void | ) |
Adds a cubemap probe.
Reimplemented in Ogre::ParallaxCorrectedCubemap.
|
virtual |
Reimplemented in Ogre::ParallaxCorrectedCubemapAuto.
|
virtual |
A rendersystem-specific event occurred.
eventName | The name of the event which has occurred |
parameters | A list of parameters that may belong to this event, may be null if there are no parameters |
Implements Ogre::RenderSystem::Listener.
|
static |
|
virtual |
Reimplemented in Ogre::ParallaxCorrectedCubemap.
|
virtual |
Reimplemented in Ogre::ParallaxCorrectedCubemap, and Ogre::ParallaxCorrectedCubemapAuto.
|
virtual |
See mTmpRtt.
Finds an RTT that is compatible to copy to baseParams. Creates one if none found.
Reimplemented in Ogre::ParallaxCorrectedCubemap, and Ogre::ParallaxCorrectedCubemapAuto.
|
inline |
|
inline |
Reimplemented in Ogre::ParallaxCorrectedCubemap.
const CompositorWorkspaceDef * Ogre::ParallaxCorrectedCubemapBase::getDefaultWorkspaceDef | ( | void | ) | const |
|
static |
uint32 Ogre::ParallaxCorrectedCubemapBase::getIblTargetTextureFlags | ( | PixelFormatGpu | pixelFormat | ) | const |
|
inlineinherited |
Get the unique id of this object.
|
inline |
SceneManager * Ogre::ParallaxCorrectedCubemapBase::getSceneManager | ( | void | ) | const |
Inform whether we're currently updating a probe.
Some Hlms / PCC combinations should not perform PCC while rendering, either because the RenderTarget is the same as the cubemap texture, or because other glitches may occur
|
inlinevirtualinherited |
Called early on in pass' execution.
Happens before passPreExecute, before the pass has set anything. Warning: calling pass->execute can result in recursive calls.
|
inlinevirtualinherited |
Called after a pass has been executed.
Warning: calling pass->execute can result in recursive calls.
|
virtual |
Called when each pass is about to be executed.
Warning: calling pass->execute can result in recursive calls.
Reimplemented from Ogre::CompositorWorkspaceListener.
Reimplemented in Ogre::ParallaxCorrectedCubemap, and Ogre::ParallaxCorrectedCubemapAuto.
|
inlinevirtualinherited |
Called after a pass scene has performed frustum caulling but has yet to prepare and execute rendering commands.
Gets called after passSceneAfterFrustumCulling and before passPosExecute
Warning: calling pass->execute can result in recursive calls.
|
inlinevirtualinherited |
Called after a pass scene has rendered shadow casting (it gets called even if there is no shadow node).
Gets called after passPreExecute and before passSceneAfterFrustumCulling
Warning: calling pass->execute can result in recursive calls.
Destroys the Proxy Items.
Useful if you need to call sceneManager->clearScene(); The you MUST call this function before. i.e. pcc->prepareForClearScene(); sceneManager->clearScene(); pcc->restoreFromClearScene(); Updating ParallaxCorrectedCubemap without calling prepareForClearScene/restoreFromClearScene will result in a crash.
Reimplemented in Ogre::ParallaxCorrectedCubemap.
|
virtual |
Reimplemented in Ogre::ParallaxCorrectedCubemap, and Ogre::ParallaxCorrectedCubemapAuto.
|
virtual |
Reimplemented in Ogre::ParallaxCorrectedCubemap, and Ogre::ParallaxCorrectedCubemapAuto.
Reimplemented in Ogre::ParallaxCorrectedCubemap.
By default the probes will be constructed when the user enters its vecinity.
This can cause noticeable stalls. Use this function to regenerate them all at once (i.e. at loading time)
Implemented in Ogre::ParallaxCorrectedCubemap, and Ogre::ParallaxCorrectedCubemapAuto.
|
inlinevirtualinherited |
Called after all nodes has been updated.
|
inlinevirtualinherited |
Called before all nodes are going to be updated.
Use this place to update your own, manually updated Workspaces without having to call @CompositorWorkspace::_beginUpdate( forceBeginFrame=true )
uint32 Ogre::ParallaxCorrectedCubemapBase::mMask |
bool Ogre::ParallaxCorrectedCubemapBase::mPaused |