Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / [DBP] - [DIRECTX 11] Basics - Basic Program Template

Author
Message
Chris Tate
DBPro Master
15
Years of Service
Recently Online
Joined: 29th Aug 2008
Location: London, England
Posted: 22nd Aug 2014 20:46 Edited at: 25th Aug 2014 20:31
The following snippet contains an elementary framework for creating a DirectX 11 program using the one and only DirectX 11 plugin available, which has been created by Rudolpho for the DarkBASIC Professional programming language, and is pending further development and release.

The candid idea surrounding this simplistic first snippet and my endeavours in this context is for me to learn and share my learning of how to initialize the plugin, and establish an easy to extend program loop in order to produce more complex snippets in future. You are free to use my examples freely in your works but are to adhere to the terms and recommendations of the author of the plugin, whose suggestions are advised to be held as the superlative source.

Please find the prerequisites and more information about the forthcoming Ziggurat plugin in the WIP board; you may download the latest demo version of the plugin freely which contains everything you need to get started, including a collection of example programs supplied by Rudolpho.

Code for creating a simple DX11 Program



Constants
Please insert if you do not wish to include the plugin supplied constants file.



Sasuke18
9
Years of Service
User Offline
Joined: 23rd Aug 2014
Location:
Posted: 23rd Aug 2014 22:04
Hello, I'm new here! I was searching the internet for Direct X 11 plugins & came across this plugin & I must say... It looks AMAZING! Keep up the GREAT work!

Sasuke

平和愛ユニティ
Chris Tate
DBPro Master
15
Years of Service
Recently Online
Joined: 29th Aug 2008
Location: London, England
Posted: 24th Aug 2014 21:44
Thanks, I have passed on your salute to the creator of the plugin on his thread here.

Rudolpho
18
Years of Service
User Offline
Joined: 28th Dec 2005
Location: Sweden
Posted: 24th Aug 2014 22:36 Edited at: 24th Aug 2014 22:36
I didn't know you had posted this already, I'm very intrigued to see your learning curve with it so I'll be stalking this thread from now on


Also thank you for your words of encouragment Sasuke18


"Why do programmers get Halloween and Christmas mixed up?"
Sasuke18
9
Years of Service
User Offline
Joined: 23rd Aug 2014
Location:
Posted: 25th Aug 2014 16:57
You're welcome, Rudolpho & Chris Tate!

平和愛ユニティ
Chris Tate
DBPro Master
15
Years of Service
Recently Online
Joined: 29th Aug 2008
Location: London, England
Posted: 25th Aug 2014 20:35
No problem. There is a great deal to learn. Hopefully my examples will be simple enough to help beginners gain enough confidence to get started creating DX11 apps.

Login to post a reply

Server time is: 2024-03-29 10:56:32
Your offset time is: 2024-03-29 10:56:32