Skip to content

Template code for working with d3d11 and for general purpose programming

License

Notifications You must be signed in to change notification settings

Zermil/gfx-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gfx-template

This is a simple template to get started with rendering on Windows OS. This project IS NOT a complete engine or application, but just a lot of boilerplate code to START programming an actual application or an engine. Mostly for personal use, but gatekeeping knowledge and learning materials is cringe.

Most, if not all, of the code follows the same principles described in This youtube series. Huge thanks to Allen Webster and Ryan Fleury for showing people that programming can be (and is) very enjoyable.

Code explanation

base - Helpers and useful 'standard library' functions.
gfx - Deals with opening a window on a specific OS.
os - Deals with OS specific stuff; win32, linux etc.
render - Deals with backend API specific stuff; d3d11, opengl etc.

If someone is taken aback a little by the use of linked list, there's this great article by Ryan Fleury. Short version is that they work very well with arenas and as free-list for quick allocations.

build

Make sure to change MSVC_PATH in the build script.

> build

About

Template code for working with d3d11 and for general purpose programming

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published