Silk.NET/docs/opengl/c1/1-hello-window #1339
Replies: 3 comments 3 replies
-
|
Super awesome work with the tutorial @skyebird189! |
Beta Was this translation helpful? Give feedback.
-
|
Very intuitive tutorial! Please fix the "next tutorial" link on the "Wrapping up" Section! The faulty link: Thanks! |
Beta Was this translation helpful? Give feedback.
-
|
My window was not showing up initially. After playing around a bit I found out I had to use the window options to explicitly set using Silk.NET.Windowing;
namespace Something
{
internal class Program
{
static void Main(string[] args)
{
Console.WriteLine("starting...");
WindowOptions options = new()
{
Size = new(800, 800),
Title = "Foo",
IsVisible = true,
Position = new(50, 50),
};
IWindow window = Window.Create(options);
Console.WriteLine("running...");
window.Run();
Console.WriteLine("done");
}
}
} |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Silk.NET/docs/opengl/c1/1-hello-window
Your one-stop-shop for high performance .NET graphics & compute. A .NET Foundation project.
https://dotnet.github.io/Silk.NET/docs/opengl/c1/1-hello-window.html
Beta Was this translation helpful? Give feedback.
All reactions