FramebufferCacheRD
Framebuffer cache manager for Rendering Device based renderers.
Framebuffer cache manager for Rendering Device based renderers.
Framebuffer cache manager for RenderingDevice-based renderers. Provides a way to create a framebuffer and reuse it in subsequent calls for as long as the used textures exists. Framebuffers will automatically be cleaned up when dependent objects are freed.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Constructors1
FramebufferCacheRDConstructor
public FramebufferCacheRD();Methods1
GetCacheMultipassRid
public static Rid GetCacheMultipass(Reckfell.Collections.Array<Rid> textures, Reckfell.Collections.Array<RDFramebufferPass> passes, uint views);Creates, or obtains a cached, framebuffer. textures lists textures accessed. passes defines the subpasses and texture allocation, if left empty a single pass is created and textures are allocated depending on their usage flags. views defines the number of views used when rendering.
| Name | Type | Default |
|---|---|---|
textures | Reckfell.Collections.Array<Rid> | — |
passes | Reckfell.Collections.Array<RDFramebufferPass> | — |
views | uint | — |
Rid