Class RenderToFrameBuffer
Render to final framebuffer.
Implements
Inherited Members
Namespace: Evergine.Framework.Graphics
Assembly: Evergine.Framework.dll
Syntax
public class RenderToFrameBuffer : DisposableObject, IDisposable
Constructors
RenderToFrameBuffer(GraphicsContext)
Initializes a new instance of the RenderToFrameBuffer class.
Declaration
public RenderToFrameBuffer(GraphicsContext graphicsContext)
Parameters
Type | Name | Description |
---|---|---|
GraphicsContext | graphicsContext | GraphicsContext instance. |
Methods
AddDrawContext(DrawContext)
Generates a new pipeline based on a drawContext.
Declaration
public void AddDrawContext(DrawContext drawContext)
Parameters
Type | Name | Description |
---|---|---|
DrawContext | drawContext | DrawContext instance. |
Destroy()
Destroy all resources of this instance.
Declaration
protected override void Destroy()
Overrides
RemoveDrawContext(DrawContext)
Remove all resources associated to the specified DrawContext.
Declaration
public void RemoveDrawContext(DrawContext drawContext)
Parameters
Type | Name | Description |
---|---|---|
DrawContext | drawContext | The draw context. |
Transfer(DrawContext, CommandBuffer)
Copy intermediate Framebuffer to final Framebuffer.
Declaration
public void Transfer(DrawContext drawContext, CommandBuffer commandBuffer)
Parameters
Type | Name | Description |
---|---|---|
DrawContext | drawContext | DrawContext instance. |
CommandBuffer | commandBuffer | CommandBuffer instance. |