Skip to content

Instantly share code, notes, and snippets.

@axefrog
Last active December 25, 2015 04:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save axefrog/6917639 to your computer and use it in GitHub Desktop.
Save axefrog/6917639 to your computer and use it in GitHub Desktop.
Game Dev Samples
namespace SharpDx1
{
class HelloWorld
{
[STAThread]
public static void Main()
{
var app = new HelloWorld();
app.Run();
}
private void Run()
{
var form = new RenderForm("SharpDX : Hello World");
RenderLoop.Run(form, () =>
{
// Amazing!
});
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment