#include <OgreVulkanRenderPassDescriptor.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
} |
|
RenderPassColourTarget | mColour [OGRE_MAX_MULTIPLE_RENDER_TARGETS] |
|
RenderPassDepthTarget | mDepth |
|
bool | 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. More...
|
|
bool | 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. More...
|
|
RenderPassStencilTarget | mStencil |
|
◆ VulkanRenderPassDescriptor()
◆ ~VulkanRenderPassDescriptor()
Ogre::VulkanRenderPassDescriptor::~VulkanRenderPassDescriptor |
( |
| ) |
|
|
override |
◆ entriesModified()
void Ogre::VulkanRenderPassDescriptor::entriesModified |
( |
uint32 |
entryTypes | ) |
|
|
overridevirtual |
Call this when you're done modified mColour.
Note there must be no gaps, e.g. mColour[1] is empty but mColour[0] & mColour[2] are not.
- Parameters
-
entryTypes | Bitmask. See EntryTypes |
Reimplemented from Ogre::RenderPassDescriptor.
◆ notifyDeviceLost()
void Ogre::VulkanRenderPassDescriptor::notifyDeviceLost |
( |
| ) |
|
|
overridevirtual |
◆ notifyDeviceRestored()
void Ogre::VulkanRenderPassDescriptor::notifyDeviceRestored |
( |
unsigned |
pass | ) |
|
|
overridevirtual |
◆ notifyRenderTextureNonResident()
void Ogre::VulkanRenderPassDescriptor::notifyRenderTextureNonResident |
( |
VulkanTextureGpu * |
texture | ) |
|
◆ notifySwapchainCreated()
void Ogre::VulkanRenderPassDescriptor::notifySwapchainCreated |
( |
VulkanWindow * |
window | ) |
|
◆ notifySwapchainDestroyed()
void Ogre::VulkanRenderPassDescriptor::notifySwapchainDestroyed |
( |
VulkanWindow * |
window | ) |
|
◆ performLoadActions()
void Ogre::VulkanRenderPassDescriptor::performLoadActions |
( |
bool |
renderingWasInterrupted | ) |
|
◆ performStoreActions()
void Ogre::VulkanRenderPassDescriptor::performStoreActions |
( |
bool |
isInterruptingRendering | ) |
|
◆ setClearColour() [1/2]
void Ogre::VulkanRenderPassDescriptor::setClearColour |
( |
const ColourValue & |
clearColour | ) |
|
|
overridevirtual |
Sets the clear colour to all entries.
In some APIs may be faster than calling setClearColour( idx, clearColour ) for each entry individually.
Reimplemented from Ogre::RenderPassDescriptor.
◆ setClearColour() [2/2]
void Ogre::VulkanRenderPassDescriptor::setClearColour |
( |
uint8 |
idx, |
|
|
const ColourValue & |
clearColour |
|
) |
| |
|
overridevirtual |
◆ setClearDepth()
void Ogre::VulkanRenderPassDescriptor::setClearDepth |
( |
Real |
clearDepth | ) |
|
|
overridevirtual |
◆ setClearStencil()
void Ogre::VulkanRenderPassDescriptor::setClearStencil |
( |
uint32 |
clearStencil | ) |
|
|
overridevirtual |
◆ willSwitchTo()
The documentation for this class was generated from the following file: