Skip to content

A simple cross platform Direct3D12 application that runs on Universal Windows Platform (Xbox One) and Win32 desktops.

License

Notifications You must be signed in to change notification settings

GCourtney27/DX12-Simple-Xbox-Win32-Application

Repository files navigation

Simple Xbox Win32 DX12 Application

A simple cross platform Direct3D 12 application that that displays a triangle on screen. You can run as a Xbox application, a standalone UWP app, or standalone Win32 app. C++/CX and C++/WinRT frameworks are supported and are demonstrated using their respective projects in the applicaions folder inside Visual Studio.

Platforms

Windows (Win32 mode)
Windows 10 (UWP mode)
Xbox One/X (UWP mode)

Requirements

Visual Studio 2017/19
Microsoft Developer Account (If you're deploying to the Xbox. You dont need it to deploy on Windows or as a regular UWP app though)
DirectX 12 compatible graphics card (If running on PC)

Getting Started

Windows Deployment (Win32/UWP)

  1. Download and install Universal Windows Platform module for Visual Studio from the Visual Studio installer.
  2. Make sure you have the most recent Windows 10 SDK.
  3. To run as a standard Win32 application set "Application_Windows" as the startup project and run.
  4. To run as a Windows Store app (UWP) set one of the projects prefixed with "Application_UWP_" as the startup project and run. Windows Store App and Universal Windows Platform are the same thing, they both run on the Xbox.
    4a. Before running on UWP platforms, Right click on the project and select "Deploy" to create a app package.
    4b. Inside the root build directory copy the "Shaders.hlsl" file and paste it in the root directory of the "AppX" folder.

Xbox One Deployment

  • Make sure your xbox is in dev mode before proceeding.
  1. Set one of the "Application_UWP_*" projects as the startup project.
  2. Set the debugger type to "Remote Windows Debugger" and enter your consoles IP address when prompted. If not prompted right click on "Application_UWP_*" and go the properties pannel. Click on "Debugging" then "Remote Machine" in the "Machine Name" field enter your consoles IP address.
  3. Right click on the project and select "Deploy" to create an app package.
  4. Inside the root build directory copy the "Shaders.hlsl" file and paste it in the root directory of the "AppX" folder.
  5. Run, and the app will be uploaded to the Xbox and start automatically.

About

A simple cross platform Direct3D12 application that runs on Universal Windows Platform (Xbox One) and Win32 desktops.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages