Class Renderer
public class Renderer
- Inheritance
-
Renderer
- Inherited Members
Methods
GetGType()
Calls native function gsk_renderer_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetSurface(IntPtr)
Calls native method gsk_renderer_get_surface.
public static extern IntPtr GetSurface(IntPtr renderer)
Parameters
renderer
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
IsRealized(IntPtr)
Calls native method gsk_renderer_is_realized.
public static extern bool IsRealized(IntPtr renderer)
Parameters
renderer
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
NewForSurface(IntPtr)
Calls native constructor gsk_renderer_new_for_surface.
public static extern IntPtr NewForSurface(IntPtr surface)
Parameters
surface
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: True
Realize(IntPtr, IntPtr, out ErrorOwnedHandle)
Calls native method gsk_renderer_realize.
public static extern bool Realize(IntPtr renderer, IntPtr surface, out ErrorOwnedHandle error)
Parameters
renderer
IntPtrTransfer ownership: None Nullable: False
surface
IntPtrTransfer ownership: None Nullable: True
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
RealizeForDisplay(IntPtr, IntPtr, out ErrorOwnedHandle)
Calls native method gsk_renderer_realize_for_display. Version: 4.14
[Version("4.14")]
public static extern bool RealizeForDisplay(IntPtr renderer, IntPtr display, out ErrorOwnedHandle error)
Parameters
renderer
IntPtrTransfer ownership: None Nullable: False
display
IntPtrTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
Render(IntPtr, IntPtr, RegionHandle)
Calls native method gsk_renderer_render.
public static extern void Render(IntPtr renderer, IntPtr root, RegionHandle region)
Parameters
renderer
IntPtrTransfer ownership: None Nullable: False
root
IntPtrTransfer ownership: None Nullable: False
region
RegionHandleTransfer ownership: None Nullable: True
RenderTexture(IntPtr, IntPtr, RectHandle)
Calls native method gsk_renderer_render_texture.
public static extern IntPtr RenderTexture(IntPtr renderer, IntPtr root, RectHandle viewport)
Parameters
renderer
IntPtrTransfer ownership: None Nullable: False
root
IntPtrTransfer ownership: None Nullable: False
viewport
RectHandleTransfer ownership: None Nullable: True
Returns
- IntPtr
Transfer ownership: Full Nullable: False
Unrealize(IntPtr)
Calls native method gsk_renderer_unrealize.
public static extern void Unrealize(IntPtr renderer)
Parameters
renderer
IntPtrTransfer ownership: None Nullable: False