![]() |
OGRE
2.1.0unstable
Object-Oriented Graphics Rendering Engine
|
#include <OgreCompositorPassComputeDef.h>
Classes | |
struct | BufferSource |
struct | ComputeTextureSource |
Public Types | |
typedef vector< BufferSource >::type | BufferSourceVec |
typedef vector< ComputeTextureSource >::type | TextureSources |
typedef vector< UavDependency >::type | UavDependencyVec |
Public Member Functions | |
CompositorPassComputeDef (CompositorNodeDef *parentNodeDef, CompositorTargetDef *parentTargetDef) | |
void | addTextureSource (uint32 texUnitIdx, const String &textureName, uint32 mrtIndex) |
Indicates the pass to change the texture units to use the specified texture sources. More... | |
void | addUavBuffer (uint32 slotIdx, const String &bufferName, ResourceAccess::ResourceAccess access, size_t offset=0, size_t sizeBytes=0, bool allowWriteAfterWrite=false) |
void | addUavSource (uint32 texUnitIdx, const String &textureName, uint32 mrtIndex, ResourceAccess::ResourceAccess access, int32 textureArrayIndex, int32 mipmapLevel, PixelFormat pixelFormat, bool allowWriteAfterWrite) |
const BufferSourceVec & | getBufferSources (void) const |
const CompositorTargetDef * | getParentTargetDef (void) const |
uint32 | getRtIndex (void) const |
const TextureSources & | getTextureSources (void) const |
CompositorPassType | getType () const |
const TextureSources & | getUavSources (void) const |
void | operator delete (void *ptr) |
void | operator delete (void *ptr, void *) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
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 * | operator new (size_t sz, void *ptr) |
placement operator new More... | |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info More... | |
void * | operator new[] (size_t sz) |
Public Attributes | |
bool | mBeginRtUpdate |
True if a previous pass doesn't alter the contents of the same render target we do TODO: Fill this automatically. More... | |
IdString | mCameraName |
bool | mColourWrite |
When false will not really bind the RenderTarget for rendering and use a null colour buffer instead. More... | |
bool | mEndRtUpdate |
End if we're the last consecutive pass to alter the contents of the same render target. More... | |
uint8 | mExecutionMask |
IdStringVec | mExposedTextures |
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... | |
IdString | mJobName |
Name of the HlmsComputeJob to run. More... | |
uint32 | mNumInitialPasses |
Number of times to perform the pass before stopping. -1 to never stop. More... | |
String | mProfilingId |
bool | mReadOnlyDepth |
bool | mReadOnlyStencil |
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... | |
UavDependencyVec | mUavDependencies |
uint8 | mViewportModifierMask |
float | mVpHeight |
float | mVpLeft |
Viewport's region to draw. More... | |
float | mVpScissorHeight |
float | mVpScissorLeft |
float | mVpScissorTop |
float | mVpScissorWidth |
float | mVpTop |
float | mVpWidth |
typedef vector<BufferSource>::type Ogre::CompositorPassComputeDef::BufferSourceVec |
|
inherited |
|
inline |
void Ogre::CompositorPassComputeDef::addTextureSource | ( | uint32 | texUnitIdx, |
const String & | textureName, | ||
uint32 | mrtIndex | ||
) |
Indicates the pass to change the texture units to use the specified texture sources.
ComputeTextureSource for params
void Ogre::CompositorPassComputeDef::addUavBuffer | ( | uint32 | slotIdx, |
const String & | bufferName, | ||
ResourceAccess::ResourceAccess | access, | ||
size_t | offset = 0 , |
||
size_t | sizeBytes = 0 , |
||
bool | allowWriteAfterWrite = false |
||
) |
void Ogre::CompositorPassComputeDef::addUavSource | ( | uint32 | texUnitIdx, |
const String & | textureName, | ||
uint32 | mrtIndex, | ||
ResourceAccess::ResourceAccess | access, | ||
int32 | textureArrayIndex, | ||
int32 | mipmapLevel, | ||
PixelFormat | pixelFormat, | ||
bool | allowWriteAfterWrite | ||
) |
|
inline |
|
inherited |
|
inherited |
|
inline |
|
inlineinherited |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
operator new, with debug line info
|
inlineinherited |
|
inlineinherited |
placement operator new
|
inlineinherited |
array operator new, with debug line info
|
inlineinherited |
|
inherited |
True if a previous pass doesn't alter the contents of the same render target we do TODO: Fill this automatically.
IdString Ogre::CompositorPassComputeDef::mCameraName |
|
inherited |
When false will not really bind the RenderTarget for rendering and use a null colour buffer instead.
Useful for depth prepass, or if the RTT is actually an UAV. Some passes may ignore this setting (e.g. Clear passes)
|
inherited |
End if we're the last consecutive pass to alter the contents of the same render target.
|
inherited |
|
inherited |
|
inherited |
Custom value in case there's a listener attached (to identify the pass)
|
inherited |
TODO: Refactor OgreOverlay to remove this design atrocity.
A custom overlay pass is a better alternative (or just use their own RQ)
IdString Ogre::CompositorPassComputeDef::mJobName |
Name of the HlmsComputeJob to run.
|
inherited |
Number of times to perform the pass before stopping. -1 to never stop.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Only used if mShadowMapIdx is valid (if pass is owned by Shadow Nodes).
If true, we won't force the viewport to fit the region of the UV atlas on the texture, and respect mVp* settings instead.
|
inherited |
Shadow map index it belongs to (only filled in passes owned by Shadow Nodes)
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Viewport's region to draw.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |