Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
0.8.3:renderpass [2021/02/11 15:56] – [Rendering Method] admin | 0.8.3:renderpass [2021/02/11 16:01] – [Compatibility with Render-Pass] admin | ||
---|---|---|---|
Line 120: | Line 120: | ||
[...] | [...] | ||
- | constructor TMyRenderPass.Create(); | + | constructor TMyRenderPass.Create(AOwner : TComponent; |
+ | const AId : String = ' | ||
begin | begin | ||
inherited; | inherited; | ||
Line 152: | Line 153: | ||
//Elder methods: RenderListToContext and RectToContext were removed while pipeline refactoring.// | //Elder methods: RenderListToContext and RectToContext were removed while pipeline refactoring.// | ||
- | |||
- | The [[FBO|framebuffer object (FBO)]] is a structure inside of each render-pass and the main-loop. | ||
- | (Or better to say: A structure in each context of a TRenderer). | ||
- | Render results are stored into that buffers. This allows to forward results from one step to another. | ||
^ Type ^ Description ^ | ^ Type ^ Description ^ | ||
Line 164: | Line 161: | ||
FMethod := TRenderPassMethod.RenderListToFBO; | FMethod := TRenderPassMethod.RenderListToFBO; | ||
</ | </ | ||
+ | |||
+ | The [[FBO|framebuffer object (FBO)]] is a structure inside of each render-pass and the main-loop. | ||
+ | (Or better to say: A structure in each context of a TRenderer). | ||
+ | |||
+ | Render results are stored into that buffers. This allows to forward results from one step to another. | ||
==== Rendering Procedure ==== | ==== Rendering Procedure ==== | ||
Because it's not enough to tell the renderer what and where to render, we need to define a way of rendering. | Because it's not enough to tell the renderer what and where to render, we need to define a way of rendering. | ||
- | Therefore the render-pass controller supplies a property FRenderProc. | + | Therefore the render-pass controller supplies a property |
Currently there are 2 ways defined: | Currently there are 2 ways defined: | ||
* DefaultRendering | * DefaultRendering | ||
Line 203: | Line 205: | ||
^Flag^Description^ | ^Flag^Description^ | ||
- | |TRendererFlag.IgnoreRenderTargets|Will not create any of the meta-textures (Albedo, TranslucentAlbedo, | + | |TRendererFlag.IgnoreRenderTargets|Will not create any of the meta-textures (Albedo, TranslucentAlbedo, |
|TRendererFlag.IgnoreCompositeCtrl|Will not create the embedded composite render pass to merge meta-textures.| | |TRendererFlag.IgnoreCompositeCtrl|Will not create the embedded composite render pass to merge meta-textures.| | ||