|
Cogs.Core
|
Public Member Functions | |
| TwinVisualsTexAtlasRenderTask (RenderTaskContext *renderTaskContext, TexAtlasSystem *texAtlasSystem, TwinVisualsSystem *twinVisualsSystem, const RenderTaskDefinition &renderTaskDefinition, const PipelineOptions &pipelineOptions) | |
| Cogs::ResourceStatus | checkReady (RenderTaskContext *renderTaskContext) override |
| Check if the task is ready to be applied, e.g. | |
| void | apply (RenderTaskContext *renderTaskContext) override |
| void | cleanup (RenderTaskContext *renderTaskContext) override |
Public Member Functions inherited from Cogs::Core::RenderTask | |
| virtual void | initialize (RenderTaskContext *) |
| virtual void | cleanup (RenderTaskContext *) |
| virtual void | apply (RenderTaskContext *)=0 |
| virtual Cogs::ResourceStatus | checkReady (RenderTaskContext *) |
| Check if the task is ready to be applied, e.g. | |
| bool | isStatic () const |
Public Attributes | |
| TexAtlasSystem * | texAtlasSystem = nullptr |
| TwinVisualsSystem * | twinVisualsSystem = nullptr |
| CachedEffect * | effect = nullptr |
| GlobalBinding | globalBinding {} |
| BufferHandle | constants = BufferHandle::NoHandle |
| bool | clearColor = true |
| bool | viewportFromTarget = false |
| DepthStencilStateHandle | depthStencilStateHandle = DepthStencilStateHandle::NoHandle |
| BlendMode | blendMode = BlendMode::None |
| bool | firstRun = true |
| bool | inputSrgb = false |
| bool | lumaInAlpha = false |
| bool | outputSrgb = true |
| TexAtlasState | state {} |
| Cogs::ResourceStatus | effectStatus = Cogs::ResourceStatus::Pending |
Public Attributes inherited from Cogs::Core::RenderTask | |
| RenderTaskResources | input |
| RenderTaskResources | output |
| std::string | name |
| std::vector< std::string > | dependencies |
| PipelineOptions | options |
| RenderTaskFlags::ERenderTaskFlags | flags = RenderTaskFlags::None |
| bool | allowSelfDependency = false |
| size_t | frameMod = 0 |
| size_t | frameOffset = 0 |
| std::function< void(void)> | deleter |
Definition at line 48 of file TwinVisualsTexAtlasRenderTask.h.
| Cogs::Core::TwinVisualsTexAtlasRenderTask::TwinVisualsTexAtlasRenderTask | ( | RenderTaskContext * | renderTaskContext, |
| TexAtlasSystem * | texAtlasSystem, | ||
| TwinVisualsSystem * | twinVisualsSystem, | ||
| const RenderTaskDefinition & | renderTaskDefinition, | ||
| const PipelineOptions & | pipelineOptions | ||
| ) |
Definition at line 333 of file TwinVisualsTexAtlasRenderTask.cpp.
|
overridevirtual |
Implements Cogs::Core::RenderTask.
Definition at line 474 of file TwinVisualsTexAtlasRenderTask.cpp.
|
overridevirtual |
Check if the task is ready to be applied, e.g.
that any effects it depends on have finished loading.
This is called unconditionally for every task, every frame, regardless of the readiness of other tasks - so that any pending loads triggered here get a chance to start as early as possible, instead of being serialized behind other tasks becoming ready first.
Reimplemented from Cogs::Core::RenderTask.
Definition at line 402 of file TwinVisualsTexAtlasRenderTask.cpp.
References Cogs::Core::Renderer::getBackgroundColor(), Cogs::ComponentModel::Component::getComponent(), and Cogs::Core::TransformSystem::getOrigin().
|
overridevirtual |
Reimplemented from Cogs::Core::RenderTask.
Definition at line 575 of file TwinVisualsTexAtlasRenderTask.cpp.
| BlendMode Cogs::Core::TwinVisualsTexAtlasRenderTask::blendMode = BlendMode::None |
Definition at line 71 of file TwinVisualsTexAtlasRenderTask.h.
| bool Cogs::Core::TwinVisualsTexAtlasRenderTask::clearColor = true |
Definition at line 68 of file TwinVisualsTexAtlasRenderTask.h.
| BufferHandle Cogs::Core::TwinVisualsTexAtlasRenderTask::constants = BufferHandle::NoHandle |
Definition at line 66 of file TwinVisualsTexAtlasRenderTask.h.
| DepthStencilStateHandle Cogs::Core::TwinVisualsTexAtlasRenderTask::depthStencilStateHandle = DepthStencilStateHandle::NoHandle |
Definition at line 70 of file TwinVisualsTexAtlasRenderTask.h.
| CachedEffect* Cogs::Core::TwinVisualsTexAtlasRenderTask::effect = nullptr |
Definition at line 63 of file TwinVisualsTexAtlasRenderTask.h.
| Cogs::ResourceStatus Cogs::Core::TwinVisualsTexAtlasRenderTask::effectStatus = Cogs::ResourceStatus::Pending |
Definition at line 79 of file TwinVisualsTexAtlasRenderTask.h.
| bool Cogs::Core::TwinVisualsTexAtlasRenderTask::firstRun = true |
Definition at line 73 of file TwinVisualsTexAtlasRenderTask.h.
| GlobalBinding Cogs::Core::TwinVisualsTexAtlasRenderTask::globalBinding {} |
Definition at line 65 of file TwinVisualsTexAtlasRenderTask.h.
| bool Cogs::Core::TwinVisualsTexAtlasRenderTask::inputSrgb = false |
Definition at line 74 of file TwinVisualsTexAtlasRenderTask.h.
| bool Cogs::Core::TwinVisualsTexAtlasRenderTask::lumaInAlpha = false |
Definition at line 75 of file TwinVisualsTexAtlasRenderTask.h.
| bool Cogs::Core::TwinVisualsTexAtlasRenderTask::outputSrgb = true |
Definition at line 76 of file TwinVisualsTexAtlasRenderTask.h.
| TexAtlasState Cogs::Core::TwinVisualsTexAtlasRenderTask::state {} |
Definition at line 78 of file TwinVisualsTexAtlasRenderTask.h.
| TexAtlasSystem* Cogs::Core::TwinVisualsTexAtlasRenderTask::texAtlasSystem = nullptr |
Definition at line 61 of file TwinVisualsTexAtlasRenderTask.h.
| TwinVisualsSystem* Cogs::Core::TwinVisualsTexAtlasRenderTask::twinVisualsSystem = nullptr |
Definition at line 62 of file TwinVisualsTexAtlasRenderTask.h.
| bool Cogs::Core::TwinVisualsTexAtlasRenderTask::viewportFromTarget = false |
Definition at line 69 of file TwinVisualsTexAtlasRenderTask.h.