Silk.NET/docs/opengl/c1/1-hello-window #1339
Replies: 3 comments 3 replies
|
Super awesome work with the tutorial @skyebird189! |
2 replies
|
Very intuitive tutorial! Please fix the "next tutorial" link on the "Wrapping up" Section! The faulty link: Thanks! |
0 replies
|
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");
}
}
} |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
All reactions