Table of Contents

Class Renderer

Namespace
Gsk
Assembly
Gsk-4.0.dll
public class Renderer : Object, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
Inheritance
Renderer
Implements
Derived
Inherited Members

Constructors

Renderer(bool, params ConstructArgument[])

protected Renderer(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

Renderer(IntPtr, bool)

protected Renderer(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

RealizedPropertyDefinition

public static readonly Property<bool, Renderer> RealizedPropertyDefinition

Field Value

Property<bool, Renderer>

SurfacePropertyDefinition

public static readonly Property<Surface?, Renderer> SurfacePropertyDefinition

Field Value

Property<Surface, Renderer>

Properties

Realized

public bool Realized { get; }

Property Value

bool

Surface

public Surface? Surface { get; }

Property Value

Surface

Methods

GetGType()

public static Type GetGType()

Returns

Type

GetSurface()

public Surface? GetSurface()

Returns

Surface

IsRealized()

public bool IsRealized()

Returns

bool

NewForSurface(Surface)

public static Renderer? NewForSurface(Surface surface)

Parameters

surface Surface

Returns

Renderer

Realize(Surface?)

public bool Realize(Surface? surface)

Parameters

surface Surface

Returns

bool

RealizeForDisplay(Display)

[Version("4.14")]
public bool RealizeForDisplay(Display display)

Parameters

display Display

Returns

bool

Render(RenderNode, Region?)

public void Render(RenderNode root, Region? region)

Parameters

root RenderNode
region Region

RenderTexture(RenderNode, Rect?)

public Texture RenderTexture(RenderNode root, Rect? viewport)

Parameters

root RenderNode
viewport Rect

Returns

Texture

Unrealize()

public void Unrealize()