|
| CompositorPassSceneDef (CompositorTargetDef *parentTargetDef) |
|
const CompositorTargetDef * | getParentTargetDef () const |
|
uint32 | getRtIndex () const |
|
CompositorPassType | 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...
|
|
void | setAllClearColours (const ColourValue &clearValue) |
|
void | setAllLoadActions (LoadAction::LoadAction loadAction) |
|
void | setAllStoreActions (StoreAction::StoreAction storeAction) |
|
void | setLightVisibilityMask (uint32 visibilityMask) |
|
void | setUseDepthPrePass (const IdStringVec &textureName, IdString depthTextureName, IdString ssrTexture) |
|
void | setUseRefractions (IdString depthTextureName, IdString refractionsTexture) |
|
void | setVisibilityMask (uint32 visibilityMask) |
|
|
bool | mBakeLightingOnly |
| When mUvBakingSet is set, tells whether we should bake the whole render result or just the lighting intensity, in order to create a lightmap. More...
|
|
bool | mCameraCubemapReorient |
| When true, the camera will be rotated 90°, -90° or 180° depending on the value of mRtIndex and then restored to its original rotation after we're done. More...
|
|
IdString | mCameraName |
| When empty, uses the default camera. More...
|
|
ColourValue | mClearColour [OGRE_MAX_MULTIPLE_RENDER_TARGETS] |
|
float | mClearDepth |
|
uint32 | mClearStencil |
|
bool | mColourWrite |
| When false will not really bind the RenderTarget for rendering and use a null colour buffer instead. More...
|
|
IdString | mCullCameraName |
| When empty, it implies mCameraName == mCullCameraName. More...
|
|
IdString | mDepthTextureNoMsaa |
|
bool | mEnableForwardPlus |
| Enable ForwardPlus during the pass (if Forward3D or ForwardClustered systems were created). More...
|
|
uint8 | mExecutionMask |
|
IdStringVec | mExposedTextures |
|
uint8 | mFirstRQ |
| First Render Queue ID to render. Inclusive. More...
|
|
bool | mFlushCommandBuffers |
| Whether to flush the command buffer at the end of the pass. More...
|
|
bool | mFlushCommandBuffersAfterShadowNode |
| Same as CompositorPassDef::mFlushCommandBuffers, but executed after the shadow node Note you may end up flushing twice if the shadow node also has flushing of its own. More...
|
|
bool | mGenNormalsGBuf |
| Generate Normals for a GBuffer in RTV output 1, This flag is ignored mPrePassMode if mPrePassMode != PrePassNone. More...
|
|
uint32 | mIdentifier |
| Custom value in case there's a listener attached (to identify the pass) More...
|
|
bool | mIncludeOverlays |
| TODO: Refactor OgreOverlay to remove this design atrocity. More...
|
|
bool | mInstancedStereo |
| When true, will render in instanced stereo mode, thus outputting left & right eyes at the same time. More...
|
|
uint8 | mLastRQ |
| Last Render Queue ID to render. Not inclusive. More...
|
|
uint32 | mLightVisibilityMask |
| Used by Forward+ to determine which lights should be used (via Light::setVisibilityFlags) More...
|
|
LoadAction::LoadAction | mLoadActionColour [OGRE_MAX_MULTIPLE_RENDER_TARGETS] |
|
LoadAction::LoadAction | mLoadActionDepth |
|
LoadAction::LoadAction | mLoadActionStencil |
|
Real | mLodBias |
| Multiplier to the Lod value. More...
|
|
IdString | mLodCameraName |
| When empty, it implies mCameraName == mLodCameraName; except for shadow nodes. More...
|
|
String | mMaterialScheme |
| The material scheme used for this pass. More...
|
|
uint32 | mNumInitialPasses |
| Number of times to perform the pass before stopping. -1 to never stop. More...
|
|
uint32 | mNumViewports |
|
IdString | mPrePassDepthTexture |
|
PrePassMode | mPrePassMode |
| This is a depth pre-pass. More...
|
|
IdString | mPrePassSsrTexture |
|
IdStringVec | mPrePassTexture |
| Only used if mPrePassMode == PrePassUse. More...
|
|
String | mProfilingId |
|
bool | mReadOnlyDepth |
|
bool | mReadOnlyStencil |
|
IdString | mRefractionsTexture |
|
bool | mReuseCullData |
| When true, the frustum culling is skipped in this pass. More...
|
|
bool | mShadowMapFullViewport |
| Only used if mShadowMapIdx is valid (if pass is owned by Shadow Nodes). More...
|
|
uint32 | mShadowMapIdx |
| Shadow map index it belongs to (only filled in passes owned by Shadow Nodes) More...
|
|
IdString | mShadowNode |
|
ShadowNodeRecalculation | mShadowNodeRecalculation |
|
bool | mSkipLoadStoreSemantics |
| Ignore mLoadAction*/mStoreAction*. More...
|
|
StoreAction::StoreAction | mStoreActionColour [OGRE_MAX_MULTIPLE_RENDER_TARGETS] |
|
StoreAction::StoreAction | mStoreActionDepth |
|
StoreAction::StoreAction | mStoreActionStencil |
|
UavDependencyVec | mUavDependencies |
|
bool | mUpdateLodLists |
| When true, which Lod index is current will be updated. More...
|
|
Vector2 | mUvBakingOffset |
| When mUvBakingSet is enabled, this defines the UV offset (in pixels). More...
|
|
uint8 | mUvBakingSet |
| Used for baking lightmaps and similar stuff. More...
|
|
uint8 | mViewportModifierMask |
|
uint32 | mVisibilityMask |
| Viewport's visibility mask while rendering our pass. More...
|
|
ViewportRect | mVpRect [16] |
| Viewport's region to draw. More...
|
|
bool | mWarnIfRtvWasFlushed |
| Will issue a warning (by raising an exception) if Ogre is forced to flush the RenderTarget, which is very bad for performance on mobile, and can cause serious performance problems in Desktop if using MSAA, and also cause correctness problems (i.e. More...
|
|
bool Ogre::CompositorPassDef::mFlushCommandBuffers |
|
inherited |
Whether to flush the command buffer at the end of the pass.
This can incur in a performance overhead (see OpenGL's glFlush and D3D11' ID3D11DeviceContext::Flush) for info. Usually you want to leave this off. However for VR applications that must meet VSync, profiling may show your workload benefits from submitting earlier so the GPU can start right away executing rendering commands.
The main reason to use this is in CPU-bound scenarios where the GPU starts too late after sitting idle.
bool Ogre::CompositorPassDef::mSkipLoadStoreSemantics |
|
inherited |
Ignore mLoadAction*/mStoreAction*.
Useful when doing multiple passes and you want to continue using the same pass semantics opened by a previous pass
Be careful with this setting. It can silently break a lot of stuff
Only valid for PASS_QUAD and PASS_SCENE
Vector2 Ogre::CompositorPassSceneDef::mUvBakingOffset |
When mUvBakingSet is enabled, this defines the UV offset (in pixels).
Without conservative rasterization, the baking won't render on pixels that are being partially touched by the triangle.
This causes severe artifacts when the baked result is used (background colour of the texture leaks into the triangle).
Without conservative rasterization, a sound solution is to render multiple times with pixel (or subpixel) offsets in order to add some padding around the borders of each triangle in the lightmap.
MSAA can also be used instead, but certain types of baking (e.g. GBuffer baking) don't work well because the MSAA sample locations are not in the center.
See https://ndotl.wordpress.com/2018/08/29/baking-artifact-free-lightmaps/