Watch
2
0
Fork
You've already forked raylib-cs
0

feat: backporting existing raylib-cs examples and new official raylib examples to WASM, adopting raylib's original code style

This commit is contained in:
tiger tiger tiger 2026-07-17 08:22:54 +02:00
commit f804ab7773
234 changed files with 38997 additions and 10578 deletions

View file

@ -0,0 +1,17 @@
namespace Examples;
/// <summary>
/// Marks an <see cref="IExample"/> that is omitted from the browser host (Web/Host.cs)
/// because of a wasm/WebGL platform limitation. Desktop runs are unaffected.
/// </summary>
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
public sealed class ExcludeFromBrowserAttribute : Attribute
{
/// <summary>Why the example cannot run in the browser.</summary>
public string Reason { get; }
public ExcludeFromBrowserAttribute(string reason = null)
{
Reason = reason;
}
}