|
| CompositorWorkspaceDef (const String &name, CompositorManager2 *compositorManager) |
|
virtual | ~CompositorWorkspaceDef () |
|
ChannelRouteList & | _getChannelRoutes () |
| Gets direct access to the channel route (aka the interconnections between all of our nodes). More...
|
|
void | addNodeAlias (IdString alias, IdString nodeName) |
| An alias is explicitly used when the user wants to use multiple, independent instances of the same node. More...
|
|
void | clearAll () |
| Clears everything: All node aliases, and their connections (including output connection). More...
|
|
void | clearAllInterNodeConnections () |
| Clears all the connection between channels of the nodes. More...
|
|
void | clearOutputConnections () |
| Clears the connection from the "final output RenderTarget" (i.e. More...
|
|
void | connect (IdString outNode, IdString inNode) |
| Connects all outputs channels from outNode to all input channels from inNode. More...
|
|
void | connect (IdString outNode, uint32 outChannel, IdString inNode, uint32 inChannel) |
| Connects outNode's output channel to inNode's input channel. More...
|
|
void | connectBuffer (IdString outNode, IdString inNode) |
| Connects all output buffer channels from outNode to all input buffer channels from inNode. More...
|
|
void | connectBuffer (IdString outNode, uint32 outChannel, IdString inNode, uint32 inChannel) |
| Connects outNode's output buffer channel to inNode's input buffer channel. More...
|
|
void | connectExternal (uint32 externalIdx, IdString inNode, uint32 inChannel) |
| Connects the (probably "final") node by passing the RenderWindow in the given input channel. More...
|
|
void | connectExternalBuffer (uint32 externalBufferIdx, IdString inNode, uint32 inChannel) |
| Connects an external buffer to the given input channel. More...
|
|
CompositorManager2 * | getCompositorManager () const |
|
IdString | getName () const |
|
String | getNameStr () const |
|
const NodeAliasMap & | getNodeAliasMap () |
| Gets read-only access to the map to all added nodes and their aliases. More...
|
|
void | removeNodeAlias (IdString alias) |
| Removes a particular Node. More...
|
|
| TextureDefinitionBase (TextureSource defaultSource) |
|
TextureDefinition * | _addTextureDefinition (const IdString hashedName) |
| For internal use. Don't call this directly. More...
|
|
void | _addTextureSourceName (const IdString hashedName, size_t index, TextureSource textureSource) |
| For internal use. Don't call this directly. More...
|
|
void | addBufferDefinition (IdString name, size_t numElements, uint32 bytesPerElement, uint32 bindFlags, float widthFactor, float heightFactor) |
| Creates an UAV buffer. More...
|
|
virtual void | addBufferInput (size_t inputChannel, IdString name) |
| Buffers. More...
|
|
RenderTargetViewDef * | addRenderTextureView (IdString name) |
|
TextureDefinition * | addTextureDefinition (const String &name) |
| Creates a TextureDefinition with a given name, must be unique. More...
|
|
virtual IdString | addTextureSourceName (const String &name, size_t index, TextureSource textureSource) |
| Adds a texture name, whether a real one or an alias, and where to grab it from. More...
|
|
const BufferDefinitionVec & | getLocalBufferDefinitions () const |
|
BufferDefinitionVec & | getLocalBufferDefinitionsNonConst () |
| Returns the local buffer definitions. More...
|
|
const TextureDefinitionVec & | getLocalTextureDefinitions () const |
|
TextureDefinitionVec & | getLocalTextureDefinitionsNonConst () |
| Returns the local texture definitions. More...
|
|
const NameToChannelMap & | getNameToChannelMap () const |
|
size_t | getNumInputBufferChannels () const |
|
size_t | getNumInputChannels () const |
| This has O(N) complexity! (not cached, we look in mNameToChannelMap) More...
|
|
const RenderTargetViewDef * | getRenderTargetViewDef (IdString name) const |
|
RenderTargetViewDef * | getRenderTargetViewDefNonConstNoThrow (IdString name) |
|
void | getTextureSource (IdString name, size_t &index, TextureSource &textureSource) const |
| Retrieves in which container to look for when looking to which texture is a given name associated with. More...
|
|
void | removeAllRenderTextureViews () |
|
virtual void | removeBuffer (IdString name) |
| Remove a buffer. Buffer can come from an input channel, or a locally defined one. More...
|
|
void | removeRenderTextureView (IdString name) |
|
virtual void | removeTexture (IdString name) |
| WARNING: Be very careful with this function. More...
|
|
void | renameBuffer (IdString oldName, const String &newName) |
| Changes the name of a buffer. More...
|
|
void | renameTexture (IdString oldName, const String &newName) |
| Changes the name of a texture. More...
|
|
void | setNumLocalBufferDefinitions (size_t numTDs) |
| Reserves enough memory for all texture definitions. More...
|
|
void | setNumLocalTextureDefinitions (size_t numTDs) |
| Reserves enough memory for all texture definitions. More...
|
|
|
static UavBufferPacked * | createBuffer (const BufferDefinition &bufferDef, const TextureGpu *finalTarget, VaoManager *vaoManager) |
|
static void | createBuffers (const BufferDefinitionVec &bufferDefs, CompositorNamedBufferVec &inOutBufContainer, const TextureGpu *finalTarget, RenderSystem *renderSys) |
| Utility function to create the buffers based on a given set of buffer definitions and put them in a container. More...
|
|
static CompositorChannel | createTexture (const TextureDefinition &textureDef, const String &texName, const TextureGpu *finalTarget, RenderSystem *renderSys) |
|
static void | createTextures (const TextureDefinitionVec &textureDefs, CompositorChannelVec &inOutTexContainer, IdType id, const TextureGpu *finalTarget, RenderSystem *renderSys) |
| Utility function to create the textures based on a given set of texture definitions and put them in a container. More...
|
|
static void | decodeTexSource (uint32 encodedVal, size_t &outIdx, TextureSource &outTexSource) |
|
static void | destroyBuffers (const BufferDefinitionVec &bufferDefs, CompositorNamedBufferVec &inOutBufContainer, RenderSystem *renderSys) |
|
static void | destroyTextures (CompositorChannelVec &inOutTexContainer, RenderSystem *renderSys) |
|
static void | recreateResizableBuffers (const BufferDefinitionVec &bufferDefs, CompositorNamedBufferVec &inOutBufContainer, const TextureGpu *finalTarget, RenderSystem *renderSys, const CompositorNodeVec &connectedNodes, const CompositorPassVec *passes) |
| Destroys & recreates only the buffers that depend on the main RT (i.e. More...
|
|
static void | recreateResizableTextures01 (const TextureDefinitionVec &textureDefs, CompositorChannelVec &inOutTexContainer, const TextureGpu *finalTarget) |
| Destroys & recreates only the textures that depend on the main RT (e.g. More...
|
|
static void | recreateResizableTextures02 (const TextureDefinitionVec &textureDefs, CompositorChannelVec &inOutTexContainer, const CompositorNodeVec &connectedNodes, const CompositorPassVec *passes) |
| See recreateResizableTextures01 Updates involved RenderPassDescriptors. More...
|
|
static void | setupTexture (TextureGpu *tex, const TextureDefinition &textureDef, const TextureGpu *finalTarget) |
|