Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text are shown as follows: A command list is represented by the ID3D11CommandList interface in unmanaged C++ and the Direct3D11.CommandList class in managed C# with SharpDX.

A block of code is set as follows:

            SharpDX.Direct3D.FeatureLevel.Level_11_1,
            SharpDX.Direct3D.FeatureLevel.Level_11_0,
            SharpDX.Direct3D.FeatureLevel.Level_10_1,
            SharpDX.Direct3D.FeatureLevel.Level_10_0,

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

    // Create the device and swapchain
 Device.CreateWithSwapChain( ...

Get Direct3D Rendering Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.