PacktLib: DirectX 11.1 Game Programming

DirectX 11.1 Game Programming

Credits

About the Author

About the Reviewers

www.PacktPub.com

Preface

Say Hello to DirectX 11.1

The need for DirectX 11.1

The prerequisites

Introduction to C++/CX

Metro Style apps

Setting up your first project

Building your first Metro app

Working with game time

Initializing the device

Summary

Getting Started with HLSL

An introduction to HLSL

New features of HLSL

Compiling and linking to shaders

Buffers in Direct3D

Rendering primitives

Direct2D 1.1

Summary

Rendering a 3D Scene

Displaying the performance data

Asynchronous loading

Getting started with the Model Editor

Loading a model from the .cmo format

Rendering a model

The input devices we'll need

Turn on the camera

Composing XAML and Direct3D

Summary

Tessellation

Hardware tessellation

Basic tessellation

Displacement mapping using tessellation

DirectX graphics diagnostics

Summary

Multithreading

C++ AMP

Compute Shader

C++ AMP versus Compute Shader

Post-processing

Summary

Index