OGRE-Next 4.0.0unstable
Object-Oriented Graphics Rendering Engine
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Ogre::CompositorPassDepthCopyDef Class Reference

#include <OgreCompositorPassDepthCopyDef.h>

+ Inheritance diagram for Ogre::CompositorPassDepthCopyDef:

Public Member Functions

 CompositorPassDepthCopyDef (CompositorNodeDef *parentNodeDef, CompositorTargetDef *parentTargetDef)
 If set to 0, it will cover up until the max mip.
 
void setDepthTextureCopy (const String &srcTextureName, const String &dstTextureName)
 Indicates the pass to change the texture units to use the specified texture sources.
 
- Public Member Functions inherited from Ogre::CompositorPassDef
 CompositorPassDef (CompositorPassType passType, CompositorTargetDef *parentTargetDef)
 
virtual ~CompositorPassDef ()
 
const CompositorTargetDefgetParentTargetDef () const
 
uint32 getRtIndex () const
 
CompositorPassType getType () const
 
void setAllClearColours (const ColourValue &clearValue)
 
void setAllLoadActions (LoadAction::LoadAction loadAction)
 
void setAllStoreActions (StoreAction::StoreAction storeAction)
 

Public Attributes

uint8_t mMipLevelStart
 
uint8_t mNumMiplevels
 
- Public Attributes inherited from Ogre::CompositorPassDef
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.
 
uint8 mExecutionMask
 
IdStringVec mExposedTextures
 
bool mFlushCommandBuffers
 Whether to flush the command buffer at the end of the pass.
 
uint32 mIdentifier
 Custom value in case there's a listener attached (to identify the pass)
 
bool mIncludeOverlays
 TODO: Refactor OgreOverlay to remove this design atrocity.
 
LoadAction::LoadAction mLoadActionColour [OGRE_MAX_MULTIPLE_RENDER_TARGETS]
 
LoadAction::LoadAction mLoadActionDepth
 
LoadAction::LoadAction mLoadActionStencil
 
uint32 mNumInitialPasses
 Number of times to perform the pass before stopping. -1 to never stop.
 
uint32 mNumViewports
 
String mProfilingId
 
bool mReadOnlyDepth
 
bool mReadOnlyStencil
 
bool mShadowMapFullViewport
 Only used if mShadowMapIdx is valid (if pass is owned by Shadow Nodes).
 
uint32 mShadowMapIdx
 Shadow map index it belongs to (only filled in passes owned by Shadow Nodes)
 
bool mSkipLoadStoreSemantics
 Ignore mLoadAction*‍/mStoreAction*.
 
StoreAction::StoreAction mStoreActionColour [OGRE_MAX_MULTIPLE_RENDER_TARGETS]
 
StoreAction::StoreAction mStoreActionDepth
 
StoreAction::StoreAction mStoreActionStencil
 
UavDependencyVec mUavDependencies
 
uint8 mViewportModifierMask
 
ViewportRect mVpRect [16]
 Viewport's region to draw.
 
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.
 

Additional Inherited Members

- Public Types inherited from Ogre::CompositorPassDef
typedef vector< UavDependency >::type UavDependencyVec
 

Constructor & Destructor Documentation

◆ CompositorPassDepthCopyDef()

Ogre::CompositorPassDepthCopyDef::CompositorPassDepthCopyDef ( CompositorNodeDef parentNodeDef,
CompositorTargetDef parentTargetDef 
)
inline

If set to 0, it will cover up until the max mip.

References Ogre::PASS_DEPTHCOPY.

Member Function Documentation

◆ setDepthTextureCopy()

void Ogre::CompositorPassDepthCopyDef::setDepthTextureCopy ( const String srcTextureName,
const String dstTextureName 
)

Indicates the pass to change the texture units to use the specified texture sources.

See CompositorPassQuadDef::QuadTextureSource for params

Member Data Documentation

◆ mMipLevelStart

uint8_t Ogre::CompositorPassDepthCopyDef::mMipLevelStart

◆ mNumMiplevels

uint8_t Ogre::CompositorPassDepthCopyDef::mNumMiplevels

The documentation for this class was generated from the following file: