Table of Contents

Class DefaultBorderRenderer

Namespace
Stride.UI.Renderers
Assembly
Stride.UI.dll

The default renderer for Border.

public class DefaultBorderRenderer : ElementRenderer, IDisposable, IComponent, IReferencable, ICollectorHolder
Inheritance
DefaultBorderRenderer
Implements
Inherited Members
Extension Methods

Constructors

DefaultBorderRenderer(IServiceRegistry)

public DefaultBorderRenderer(IServiceRegistry services)

Parameters

services IServiceRegistry

Methods

RenderColor(UIElement, UIRenderingContext)

Render the provided UIElement.

public override void RenderColor(UIElement element, UIRenderingContext context)

Parameters

element UIElement

The element to render.

context UIRenderingContext

The rendering context containing information how to draw the element.

Remarks

The render target, the depth stencil buffer and the depth stencil state are already correctly set when entering this function. If the user wants to perform some intermediate rendering, it is his responsibility to bind them back correctly before the final rendering.