#include <OgreRenderPassDescriptor.h>
|  | 
| enum | EntryTypes { Colour0 = 1u << 0u
, Colour1 = 1u << 1u
, Colour2 = 1u << 2u
, Colour3 = 1u << 3u
,
 Colour4 = 1u << 4u
, Colour5 = 1u << 5u
, Colour6 = 1u << 6u
, Colour7 = 1u << 7u
,
 Depth = 1u << 30u
, Stencil = 1u << 31u
, Colour = Colour0 | Colour1 | Colour2 | Colour3 | Colour4 | Colour5 | Colour6 | Colour7
, All = Colour | Depth | Stencil
 }
 | 
|  | 
◆ EntryTypes
| Enumerator | 
|---|
| Colour0 |  | 
| Colour1 |  | 
| Colour2 |  | 
| Colour3 |  | 
| Colour4 |  | 
| Colour5 |  | 
| Colour6 |  | 
| Colour7 |  | 
| Depth |  | 
| Stencil |  | 
| Colour |  | 
| All |  | 
 
 
◆ RenderPassDescriptor()
      
        
          | Ogre::RenderPassDescriptor::RenderPassDescriptor | ( |  | ) |  | 
      
 
 
◆ ~RenderPassDescriptor()
  
  | 
        
          | virtual Ogre::RenderPassDescriptor::~RenderPassDescriptor | ( |  | ) |  |  | virtual | 
 
 
◆ checkWarnIfRtvWasFlushed()
      
        
          | void Ogre::RenderPassDescriptor::checkWarnIfRtvWasFlushed | ( | uint32 | entriesToFlush | ) |  | 
      
 
 
◆ entriesModified()
  
  | 
        
          | virtual void Ogre::RenderPassDescriptor::entriesModified | ( | uint32 | entryTypes | ) |  |  | virtual | 
 
 
◆ findAnyTexture()
      
        
          | void Ogre::RenderPassDescriptor::findAnyTexture | ( | TextureGpu ** | outAnyTargetTexture, | 
        
          |  |  | uint8 & | outAnyMipLevel | 
        
          |  | ) |  |  | 
      
 
Finds the first non-null texture and outputs it May return nullptr if nothing is bound. 
 
 
◆ getCustomAttribute()
  
  | 
        
          | virtual void Ogre::RenderPassDescriptor::getCustomAttribute | ( | IdString | name, |  
          |  |  | void * | pData, |  
          |  |  | uint32 | extraParam |  
          |  | ) |  |  |  | inlinevirtual | 
 
- Parameters
- 
  
    | name | When it's set to "ID3D11RenderTargetView", extraParam must be in range [0;OGRE_MAX_MULTIPLE_RENDER_TARGETS) When it's set to "ID3D11DepthStencilView", extraParam can be any value |  | pData | Output |  | extraParam | See name |  
 
Reimplemented in Ogre::D3D11RenderPassDescriptor.
 
 
◆ getNumColourEntries()
  
  | 
        
          | uint8 Ogre::RenderPassDescriptor::getNumColourEntries | ( |  | ) | const |  | inline | 
 
 
◆ hasAttachment()
      
        
          | bool Ogre::RenderPassDescriptor::hasAttachment | ( | const TextureGpu * | texture | ) | const | 
      
 
 
◆ hasSameAttachments()
  
  | 
        
          | virtual bool Ogre::RenderPassDescriptor::hasSameAttachments | ( | const RenderPassDescriptor * | otherPassDesc | ) | const |  | virtual | 
 
 
◆ hasStencilFormat()
      
        
          | bool Ogre::RenderPassDescriptor::hasStencilFormat | ( |  | ) | const | 
      
 
Returns true if either Stencil is set, or if Depth is set with depth-stencil attachment. 
 
 
◆ requiresTextureFlipping()
  
  | 
        
          | bool Ogre::RenderPassDescriptor::requiresTextureFlipping | ( |  | ) | const |  | inline | 
 
 
◆ setClearColour() [1/2]
  
  | 
        
          | virtual void Ogre::RenderPassDescriptor::setClearColour | ( | const ColourValue & | clearColour | ) |  |  | virtual | 
 
 
◆ setClearColour() [2/2]
  
  | 
        
          | virtual void Ogre::RenderPassDescriptor::setClearColour | ( | uint8 | idx, |  
          |  |  | const ColourValue & | clearColour |  
          |  | ) |  |  |  | virtual | 
 
 
◆ setClearDepth()
  
  | 
        
          | virtual void Ogre::RenderPassDescriptor::setClearDepth | ( | Real | clearDepth | ) |  |  | virtual | 
 
 
◆ setClearStencil()
  
  | 
        
          | virtual void Ogre::RenderPassDescriptor::setClearStencil | ( | uint32 | clearStencil | ) |  |  | virtual | 
 
 
◆ mColour
◆ mDepth
◆ mInformationOnly
      
        
          | bool Ogre::RenderPassDescriptor::mInformationOnly | 
      
 
When true, beginRenderPassDescriptor & endRenderPassDescriptor won't actually load/store this pass descriptor; but will still set the mCurrentRenderPassDescriptor so we have required information by some passes. 
Examples of these are stencil passes. 
 
 
◆ mReadyWindowForPresent
      
        
          | bool Ogre::RenderPassDescriptor::mReadyWindowForPresent | 
      
 
When true, if we have a RenderWindow among our colour entries, then this pass is the last one to render to it and should ready the surface for presentation/swapping. 
After changing this flag you MUST call entriesModified( Colour );
This value will be automatically reset to false if no entry is a RenderWindow 
 
 
◆ mStencil
The documentation for this class was generated from the following file: