Class RenderToFrameBuffer
Renders to the final framebuffer.
Inherited Members
Namespace: Evergine.Framework.Graphics
Assembly: Evergine.Framework.dll
Syntax
public class RenderToFrameBuffer : DisposableObject
Constructors
RenderToFrameBuffer(GraphicsContext)
Initializes a new instance of the RenderToFrameBuffer class.
Declaration
public RenderToFrameBuffer(GraphicsContext graphicsContext)
Parameters
Type | Name | Description |
---|---|---|
GraphicsContext | graphicsContext | An instance of GraphicsContext. |
Methods
AddDrawContext(DrawContext)
Generates a new pipeline based on a draw context.
Declaration
public void AddDrawContext(DrawContext drawContext)
Parameters
Type | Name | Description |
---|---|---|
DrawContext | drawContext | Draw context instance. |
Destroy()
Destroys all resources of this instance.
Declaration
protected override void Destroy()
Overrides
RemoveDrawContext(DrawContext)
Remove all resources associated with the specified DrawContext.
Declaration
public void RemoveDrawContext(DrawContext drawContext)
Parameters
Type | Name | Description |
---|---|---|
DrawContext | drawContext | The draw context. |
Transfer(DrawContext, CommandBuffer)
Copies 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. |