Gondwana Game Engine Development (master) - 2.6.1
Gondwana is a cross-platform 2.5D game and rendering engine written in C#/.NET 8. It provides fine-grained control over rendering, timing, and scene composition, with built-in support for parallax, z-ordering, pixel overhang, collision detection, and particle effects. Gondwana targets desktop and web platforms using SkiaSharp for graphics and pluggable audio backends for desktop and browser targets.
Loading...
Searching...
No Matches
IDirectDrawable.cs
1using System.Drawing;
3
5
10public interface IDirectDrawable : IDrawable, IDisposable
11{
15 event EventHandler<IDirectDrawable>? Disposing;
16
21
45
49 Rectangle ScreenBounds { get; }
50
54 Rectangle WorldBounds { get; }
55
60 void Update(long tick);
61}
Represents a base class for hosting a render surface, providing functionality for managing rendering ...
Represents any drawable object (movable or static) that can render directly to a RenderSurfaceHost,...
Rectangle ScreenBounds
The bounding rectangle of this drawable in SCREEN space.
DirectDrawingMode Mode
Gets the drawing mode that determines where and how this drawable is rendered.
RenderSurfaceHostBase RenderSurfaceHost
The rendering surface to which this drawable belongs.
void Update(long tick)
Updates the state of the object based on the specified tick value.
Rectangle WorldBounds
The bounding rectangle of this drawable in WORLD space.
EventHandler< IDirectDrawable >? Disposing
Occurs when the object is being disposed.
Represents an object that can be drawn on a visual surface, with properties for visibility and stacki...
Definition IDrawable.cs:14
DirectDrawingMode
Specifies where direct drawing operations are applied within the rendering pipeline.