![]() |
Nazara Engine
0.4
A fast, complete, cross-platform API designed for game development
|
Graphics class that represents the forward pass in deferred rendering. More...
Public Member Functions | |
| void | Initialize (DeferredRenderTechnique *technique) override |
| Initializes the deferred forward pass which needs the forward technique. More... | |
| bool | Process (const SceneData &sceneData, unsigned int workTexture, unsigned int sceneTexture) const override |
| Processes the work on the data while working with textures. More... | |
Public Member Functions inherited from Nz::DeferredRenderPass | |
| DeferredRenderPass () | |
| Constructs a DeferredRenderPass object by default. | |
| DeferredRenderPass (const DeferredRenderPass &)=delete | |
| void | Enable (bool enable) |
| Enables the deferred rendering. More... | |
| bool | IsEnabled () const |
| Checks whether the deferred rendering is enabled. More... | |
| virtual bool | Resize (const Vector2ui &GBufferSize) |
| Resizes the texture sizes. More... | |
| DeferredRenderPass & | operator= (const DeferredRenderPass &)=delete |
Protected Attributes | |
| const ForwardRenderTechnique * | m_forwardTechnique |
Protected Attributes inherited from Nz::DeferredRenderPass | |
| Vector2ui | m_dimensions |
| DeferredRenderTechnique * | m_deferredTechnique |
| DeferredRenderQueue * | m_renderQueue |
| RenderTexture * | m_GBufferRTT |
| RenderTexture * | m_workRTT |
| Texture * | m_depthStencilTexture |
| Texture * | m_GBuffer [4] |
| Texture * | m_workTextures [2] |
Graphics class that represents the forward pass in deferred rendering.
|
overridevirtual |
Initializes the deferred forward pass which needs the forward technique.
| technique | Rendering technique |
Reimplemented from Nz::DeferredRenderPass.
|
overridevirtual |
Processes the work on the data while working with textures.
| sceneData | Data for the scene |
| firstWorkTexture | Index of the first texture to work with |
| firstWorkTexture | Index of the second texture to work with |
Implements Nz::DeferredRenderPass.