Direct3D explained

Direct3D
Direct3D
Developer:Microsoft
Latest Release Version:12.0 Beta 3
Operating System:Microsoft Windows, Windows CE, Windows Embedded, Xbox system software
Platform:x86, ARM
Genre:3D computer graphics API
License:Proprietary

Direct3D is a graphics application programming interface (API) for Microsoft Windows. Part of DirectX, Direct3D is used to render three-dimensional graphics in applications where performance is important, such as games. Direct3D uses hardware acceleration if it is available on the graphics card, allowing for hardware acceleration of the entire 3D rendering pipeline or even only partial acceleration. Direct3D exposes the advanced graphics capabilities of 3D graphics hardware, including Z-buffering,[1] W-buffering,[2] stencil buffering, spatial anti-aliasing, alpha blending, color blending, mipmapping, texture blending,[3] [4] clipping, culling, atmospheric effects, perspective-correct texture mapping, programmable HLSL shaders[5] and effects.[6] Integration with other DirectX technologies enables Direct3D to deliver such features as video mapping, hardware 3D rendering in 2D overlay planes, and even sprites, providing the use of 2D and 3D graphics in interactive media ties.

Direct3D contains many commands for 3D computer graphics rendering; however, since version 8, Direct3D has superseded the DirectDraw framework and also taken responsibility for the rendering of 2D graphics.[7] Microsoft strives to continually update Direct3D to support the latest technology available on 3D graphics cards. Direct3D offers full vertex software emulation but no pixel software emulation for features not available in hardware. For example, if software programmed using Direct3D requires pixel shaders and the video card on the user's computer does not support that feature, Direct3D will not emulate it, although it will compute and render the polygons and textures of the 3D models, albeit at a usually degraded quality and performance compared to the hardware equivalent. The API does include a Reference Rasterizer (or REF device), which emulates a generic graphics card in software, although it is too slow for most real-time 3D applications and is typically only used for debugging. A new real-time software rasterizer, WARP, designed to emulate the complete feature set of Direct3D 10.1, is included with Windows 7 and Windows Vista Service Pack 2 with the Platform Update; its performance is said to be on par with lower-end 3D cards on multi-core CPUs.[8]

As part of DirectX, Direct3D is available for Windows 95 and above, and is the base for the vector graphics API on the different versions of Xbox console systems. The Wine compatibility layer, a free software reimplementation of several Windows APIs, includes an implementation of Direct3D.

Direct3D's main competitor is Khronos' OpenGL and its follow-on Vulkan. Fahrenheit was an attempt by Microsoft and SGI to unify OpenGL and Direct3D in the 1990s, but was eventually canceled.

Overview

Direct3D 2.0 and 3.0

In 1992, Servan Keondjian, Doug Rabson and Kate Seekings started a company named RenderMorphics, which developed a 3D graphics API named Reality Lab, which was used in medical imaging and CAD software.[15] Two versions of this API were released. Microsoft bought RenderMorphics in February 1995, bringing its staff on board to implement a 3D graphics engine for Windows 95.[16] The first version of Direct3D shipped in DirectX 2.0 (June 2, 1996) and DirectX 3.0 (September 26, 1996).

Direct3D initially implemented an "immediate mode" 3D API and layered upon it a "retained mode" 3D API.[17] Both types of API were already offered with the second release of Reality Lab before Direct3D was released. Like other DirectX APIs, such as DirectDraw, both were based on COM. The retained mode API was a scene graph API that attained little adoption. Game developers clamored for more direct control of the hardware's activities than the Direct3D retained mode could provide. Only two games that sold a significant volume, Lego Island and Lego Rock Raiders, were based on the Direct3D retained mode, so Microsoft did not update the retained mode API after DirectX 3.0.

For DirectX 2.0 and 3.0, the Direct3D immediate mode used an "execute buffer" programming model that Microsoft hoped hardware vendors would support directly. Execute buffers were intended to be allocated in hardware memory and parsed by the hardware to perform the 3D rendering. They were considered extremely awkward to program at the time, however, hindering adoption of the new API and prompting calls for Microsoft to adopt OpenGL as the official 3D rendering API for games as well as workstation applications.[18] (see OpenGL vs. Direct3D)

Rather than adopt OpenGL as a gaming API, Microsoft chose to continue improving Direct3D, not only to be competitive with OpenGL, but to compete more effectively with other proprietary APIs such as 3dfx's Glide.

From the beginning, the immediate mode also supported Talisman's tiled rendering with the BeginScene/EndScene methods of the IDirect3DDevice interface.

Direct3D 4.0

No substantive changes were planned to Direct3D for DirectX 4.0, which was scheduled to ship in late 1996 and then canceled.[19]

Direct3D 5.0

In December 1996, a team in Redmond took over development of the Direct3D Immediate Mode, while the London-based RenderMorphics team continued work on the Retained Mode. The Redmond team added the DrawPrimitive API that eliminated the need for applications to construct execute buffers, making Direct3D more closely resemble other immediate mode rendering APIs such as Glide and OpenGL. The first beta of DrawPrimitive shipped in February 1997,[20] and the final version shipped with DirectX 5.0 in August 1997.[21]

Besides introducing an easier-to-use immediate mode API, DirectX 5.0 added the SetRenderTarget method that enabled Direct3D devices to write their graphical output to a variety of DirectDraw surfaces.[22]

Direct3D 6.0

DirectX 6.0 (released in August, 1998) introduced numerous features to cover contemporary hardware (such as multitexture[23] and stencil buffers) as well as optimized geometry pipelines for x87, SSE and 3DNow! and optional texture management to simplify programming.[24] Direct3D 6.0 also included support for features that had been licensed by Microsoft from specific hardware vendors for inclusion in the API, in exchange for the time-to-market advantage to the licensing vendor. S3 texture compression support was one such feature, renamed as DXTC for purposes of inclusion in the API. Another was TriTech's proprietary bump mapping technique. Microsoft included these features in DirectX, then added them to the requirements needed for drivers to get a Windows logo to encourage broad adoption of the features in other vendors' hardware.

A minor update to DirectX 6.0 came in the February, 1999 DirectX 6.1 update. Besides adding DirectMusic support for the first time, this release improved support for Intel Pentium III 3D extensions.[25]

A confidential memo sent in 1997[26] shows Microsoft planning to announce full support for Talisman in DirectX 6.0, but the API ended up being canceled (See the Microsoft Talisman page for details).

Direct3D 7.0

DirectX 7.0 (released in September, 1999) introduced the .dds texture format[27] and support for transform and lighting hardware acceleration[28] (first available on PC hardware with Nvidia's GeForce 256), as well as the ability to allocate vertex buffers in hardware memory. Hardware vertex buffers represent the first substantive improvement over OpenGL in DirectX history. Direct3D 7.0 also augmented DirectX support for multitexturing hardware, and represents the pinnacle of fixed-function multitexture pipeline features: although powerful, it was so complicated to program that a new programming model was needed to expose the shading capabilities of graphics hardware. Direct3D 7.0 also introduced DXVA features.

Direct3D 8.0

DirectX 8.0 (released in November, 2000) introduced programmability in the form of vertex and pixel shaders, enabling developers to write code without worrying about superfluous hardware state.[29] The complexity of the shader programs depended on the complexity of the task, and the display driver compiled those shaders to instructions that could be understood by the hardware. Direct3D 8.0 and its programmable shading capabilities were the first major departure from an OpenGL-style fixed-function architecture, where drawing is controlled by a complicated state machine. Direct3D 8.0 also eliminated DirectDraw as a separate API.[30] [31] Direct3D subsumed all remaining DirectDraw API calls still needed for application development, such as Present, the function used to display rendering results.

Direct3D was not considered to be user friendly, but as of DirectX version 8.1, many usability problems were resolved. Direct3D 8 contained many powerful 3D graphics features, such as vertex shaders, pixel shaders, fog, bump mapping and texture mapping.

Direct3D 9

Direct3D 9.0[32] (released in December, 2002) added a new version of the High Level Shader Language[33] [34] support for floating-point texture formats, Multiple Render Targets (MRT),[35] Multiple-Element Textures,[36] texture lookups in the vertex shader and stencil buffer techniques.[37]

Direct3D 9Ex

Direct3D 9Ex[38] (previously versioned 9.0L ("L" standing for Longhorn, the codename for Windows Vista)), an extension only available in Windows Vista, 7, 8, 8.1, 10, and 11, allows the use of the advantages offered by Windows Vista's Windows Display Driver Model (WDDM) and is used for Windows Aero.[39] Direct3D 9Ex, in conjunction with DirectX 9 class WDDM drivers allows graphics memory to be virtualized and paged out to system memory, allows graphics operations to be interrupted and scheduled and allow DirectX surfaces to be shared across processes.[40] Direct3D 9Ex was previously known as version 1.0 of Windows Graphics Foundation (WGF).

Direct3D 9Ex improvements - Win32 apps

Direct3D 10

See also: Windows Display Driver Model.

Windows Vista includes a major update to the Direct3D API. Originally called WGF 2.0 (Windows Graphics Foundation 2.0), then DirectX 10 and DirectX Next, Direct3D 10[41] features an updated shader model 4.0 and optional interruptibility for shader programs.[40] In this model shaders still consist of fixed stages as in previous versions, but all stages support a nearly unified interface, as well as a unified access paradigm for resources such as textures and shader constants. The language itself has been extended to be more expressive, including integer operations, a greatly increased instruction count, and more C-like language constructs. In addition to the previously available vertex and pixel shader stages, the API includes a geometry shader stage that breaks the old model of one vertex in/one vertex out, to allow geometry to be generated from within a shader, thus allowing for complex geometry to be generated entirely by the graphics hardware.

Windows XP and earlier are not supported by DirectX 10.0 and above. Furthermore, Direct3D 10 dropped support for the retained mode API which had been a part of Direct3D since the beginning, making Windows Vista incompatible with 3D games that had used the retained mode API as their rendering engine.[42]

Unlike prior versions of the API, Direct3D 10 no longer uses "capability bits" (or "caps") to indicate which features are supported on a given graphics device. Instead, it defines a minimum standard of hardware capabilities which must be supported for a display system to be "Direct3D 10 compatible". This is a significant departure, with the goal of streamlining application code by removing capability-checking code and special cases based on the presence or absence of specific capabilities.

Because Direct3D 10 hardware was comparatively rare after the initial release of Windows Vista and because of the massive install base of non-Direct3D 10 compatible graphics cards, the first Direct3D 10-compatible games still provide Direct3D 9 render paths. Examples of such titles are games originally written for Direct3D 9 and ported to Direct3D 10 after their release, such as Company of Heroes, or games originally developed for Direct3D 9 with a Direct3D 10 path retrofitted later during their development, such as or Crysis. The DirectX 10 SDK became available in February 2007.[43]

Direct3D 10.0

Direct3D 10.0 level hardware must support the following features: the ability to process entire primitives in the new geometry-shader stage, the ability to output pipeline-generated vertex data to memory using the stream-output stage, multisampled alpha-to-coverage support, readback of a depth/stencil surface or a multisampled resource once it is no longer bound as a render target, full HLSL integration – all Direct3D 10 shaders are written in HLSL and implemented with the common-shader core, integer and bitwise shader operations, organization of pipeline state into 5 immutable state objects, organization of shader constants into constant buffers, increased number of render targets, textures, and samplers, no shader length limit, new resource types and resource formats,[44] layered runtime/API layers,[45] option to perform per-primitive material swapping and setup using a geometry shader, increased generalization of resource access using a view, removed legacy hardware capability bits (caps).

Direct3D 10.1

Direct3D 10.1[51] was announced by Microsoft shortly after the release of Direct3D 10 as a minor update. The specification was finalized with the release of November 2007 DirectX SDK and the runtime was shipped with the Windows Vista SP1, which is available since mid-March 2008.

Direct3D 10.1 sets a few more image quality standards for graphics vendors, and gives developers more control over image quality.[52] [53] Features include finer control over anti-aliasing (both multisampling and supersampling with per sample shading and application control over sample position) and more flexibilities to some of the existing features (cubemap arrays and independent blending modes). Direct3D 10.1 level hardware must support the following features: Multisampling has been enhanced to generalize coverage based transparency and make multisampling work more effectively with multi-pass rendering, better culling behavior – Zero-area faces are automatically culled; this affects wireframe rendering only, independent blend modes per render target, new sample-frequency pixel shader execution with primitive rasterization, increased pipeline stage bandwidth, both color and depth/stencil MSAA surfaces can now be used with CopyResource as either a source or destination, MultisampleEnable only affects line rasterization (points and triangles are unaffected), and is used to choose a line drawing algorithm. This means that some multisample rasterization from Direct3D 10 are no longer supported, Texture Sampling – sample_c and sample_c_lz instructions are defined to work with both Texture2DArrays and TextureCubeArrays use the Location member (the alpha component) to specify an array index, support for TextureCubeArrays.

Unlike Direct3D 10 which strictly required Direct3D 10-class hardware and driver interfaces, Direct3D 10.1 runtime can run on Direct3D 10.0 hardware using a concept of "feature levels",[55] [56] but new features are supported exclusively by new hardware which expose feature level 10_1.

The only available Direct3D 10.1 hardware as of June 2008 were the Radeon HD 3000 series and Radeon HD 4000 series from ATI; in 2009, they were joined by Chrome 430/440GT GPUs from S3 Graphics and select lower-end models in GeForce 200 series from Nvidia. In 2011, Intel chipsets started supporting Direct3D 10.1 with the introduction of Intel HD Graphics 2000 (GMA HD).

Direct3D 11

See also: Windows Advanced Rasterization Platform.

Direct3D 11[57] was released as part of Windows 7. It was presented at Gamefest 2008 on July 22, 2008 and demonstrated at the Nvision 08 technical conference on August 26, 2008.[58] [59] The Direct3D 11 Technical Preview has been included in November 2008 release of DirectX SDK.[60] AMD previewed working DirectX11 hardware at Computex on June 3, 2009, running some DirectX 11 SDK samples.[61]

The Direct3D 11 runtime is able to run on Direct3D 9 and 10.x-class hardware and drivers using the concept of "feature levels", expanding on the functionality first introduced in Direct3D 10.1 runtime.[62] [63] [64] Feature levels allow developers to unify the rendering pipeline under Direct3D 11 API and make use of API improvements such as better resource management and multithreading even on entry-level cards, though advanced features such as new shader models and rendering stages will only be exposed on up-level hardware.[63] [65] There are three "10 Level 9" profiles which encapsulate various capabilities of popular DirectX 9.0a cards, and Direct3D 10, 10.1, and 11 each have a separate feature level; each upper level is a strict superset of a lower level.[66]

Tessellation was earlier considered for Direct3D 10, but was later abandoned. GPUs such as Radeon R600 feature a tessellation engine that can be used with Direct3D 9/10/10.1[67] [68] [69] and OpenGL,[70] but it's not compatible with Direct3D 11 (according to Microsoft). Older graphics hardware such as Radeon 8xxx, GeForce 3/4 had support for another form of tesselation (RT patches, N patches) but those technologies never saw substantial use. As such, their support was dropped from newer hardware.

Microsoft has also hinted at other features such as order independent transparency, which was never exposed by the Direct3D API but supported almost transparently by early Direct3D hardware such as Videologic's PowerVR line of chips.

Direct3D 11.0

Direct3D 11.0 features include: Support for Shader Model 5.0, Dynamic shader linking, addressable resources, additional resource types,[71] subroutines, geometry instancing, coverage as pixel shader input, programmable interpolation of inputs, new texture compression formats (1 new LDR format and 1 new HDR format), texture clamps to limit WDDM preload, require 8-bits of subtexel and sub-mip precision on texture filtering, 16K texture limits, Gather4(support for multi-component textures, support for programmable offsets), DrawIndirect, conservative oDepth, Depth Bias,[72] [73] addressable stream output, per-resource mipmap clamping, floating-point viewports, shader conversion instructions, improved multithreading.

Other notable features are the addition of two new texture compression algorithms for more efficient packing of high quality and HDR/alpha textures and an increased texture cache.

First seen in the Release Candidate version, Windows 7 integrates the first released Direct3D 11 support. The Platform Update for Windows Vista includes full-featured Direct3D 11 runtime and DXGI 1.1 update, as well as other related components from Windows 7 like WARP, Direct2D, DirectWrite, and WIC.[77] [78]

Direct3D 11.1

Direct3D 11.1[79] [80] is an update to the API that ships with Windows 8.[81] [82] The Direct3D runtime in Windows 8 features DXGI 1.2[83] and requires new WDDM 1.2[84] device drivers.[85] Preliminary version of the Windows SDK for Windows 8 Developer Preview was released on September 13, 2011.

The new API features shader tracing and HLSL compiler enhancements, support for minimum precision HLSL scalar data types,[86] UAVs (Unordered Access Views) at every pipeline stage, target-independent rasterization (TIR), option to map SRVs of dynamic buffers with NO_OVERWRITE, shader processing of video resources, option to use logical operations in a render target, option to bind a subrange of a constant buffer to a shader and retrieve it, option to create larger constant buffers than a shader can access, option to discard resources and resource views, option to change subresources with new copy options, option to force the sample count to create a rasterizer state, option to clear all or part of a resource view, option to use Direct3D in Session 0 processes, option to specify user clip planes in HLSL on feature level 9 and higher, support for shadow buffer on feature level 9, support for video playback, extended support for shared Texture2D resources, and on-the-fly swapping between Direct3D 10 and 11 contexts and feature levels. Direct3D 11.1 includes new feature level 11_1, which brings minor updates to the shader language, such as larger constant buffers and optional double-precision instructions, as well as improved blending modes and mandatory support for 16-bit color formats to improve the performance of entry-level GPUs such as Intel HD Graphics.[85] [87] WARP has been updated to support feature level 11_1.

The Platform Update for Windows 7 includes a limited set of features from Direct3D 11.1, though components that depend on WDDM 1.2 – such as feature level 11_1 and its related APIs, or quad buffering for stereoscopic rendering – are not present.[88] [89]

Direct3D 11.2

Direct3D 11.2[90] [91] [92] was shipped with Windows 8.1.[93] [94] New hardware features require DXGI 1.3[95] with WDDM 1.3[96] drivers and include runtime shader modification and linking, Function linking graph(FLG), inbox HLSL compiler, option to annotate graphics commands.[97] Feature levels 11_0 and 11_1 introduce optional support for tiled resources with shader level of detail clamp (Tier2).[98] The latter feature effectively provides control over the hardware page tables present in many current GPUs.[99] WARP was updated to fully support the new features.[100] There is no feature level 11_2 however; the new features are dispersed across existing feature levels. Those that are hardware-dependent can be checked individually via CheckFeatureSupport.[94] [101] Some of the "new" features in Direct3D 11.2 actually expose some old hardware features in a more granular way; for example D3D11_FEATURE_D3D9_SIMPLE_INSTANCING_SUPPORT exposes partial support for instancing on feature level 9_1 and 9_2 hardware, otherwise fully supported from feature level 9_3 onward.[102]

Direct3D 11.X

Direct3D 11.X is a superset of DirectX 11.2 running on the Xbox One.[103] [104] It includes some features, such as draw bundles, that were later announced as part of DirectX 12.[105]

Direct3D 11.3

Direct3D 11.3[106] shipped in July 2015 with Windows 10; it includes minor rendering features from Direct3D 12, while keeping the overall structure of the Direct3D 11.x API.[107] [108] [109] Direct3D 11.3 introduces optional Shader Specified Stencil Reference Value, Typed Unordered Access View Loads, Rasterizer Ordered Views (ROVs), optional Standard Swizzle, optional Default Texture Mapping, Conservative Rasterization (out of three tiers),[110] optional Unified Memory Access (UMA) support, and additional Tiled Resources (tier 2) (Volume tiled resources).[111]

Direct3D 11.4

Direct3D 12

See also: DirectX Raytracing. Direct3D 12[113] allows a lower level of hardware abstraction than earlier versions, enabling future applications to significantly improve multithreaded scaling and decrease CPU utilization. This is achieved by better matching the Direct3D abstraction layer with the underlying hardware, through new features such as Indirect Drawing, descriptor tables, concise pipeline state objects, and draw call bundles. Reducing driver overhead is the main attraction of Direct3D 12, similarly to AMD's Mantle;[113] in the words of its lead developer Max McMullen, the main goal of Direct3D 12 is to achieve "console-level efficiency" and improved CPU parallelism.[114] [115] [116]

Although Nvidia has announced broad support for Direct3D 12, they were also somewhat reserved about the universal appeal of the new API, noting that while game engine developers may be enthusiastic about directly managing GPU resources from their application code, "a lot of [other] folks wouldn't" be happy to have to do that.[117]

Some new hardware features are also in Direct3D 12,[109] [118] [119] including Shader Model 5.1,[120] Volume Tiled Resources(Tier 2),[120] Shader Specified Stencil Reference Value, Typed UAV Load, Conservative Rasterization(Tier 1), better collision and culling with Conservative Rasterization, Rasterizer Ordered Views (ROVs), Standard Swizzles, Default Texture Mapping, Swap Chains, swizzled resources and compressed resources,[121] additional blend modes,[122] programmable blend and efficient order-independent transparency (OIT) with pixel ordered UAV.[123]

Pipeline state objects (PSOs)[124] have evolved from Direct3D 11, and the new concise pipeline states mean that the process has been simplified. DirectX 11 offered flexibility in how its states could be altered, to the detriment of performance. Simplifying the process and unifying the pipelines (e.g. pixel shader states) lead to a more streamlined process, significantly reducing the overheads and allowing the graphics card to draw more calls for each frame. Once created, the PSO is immutable.[125]

Root signatures introduce configurations to link command lists to resources required by shaders. They define the layout of resources that shaders will use and specifies what resources will be bound to the pipeline. A graphics command list has both a graphics and compute root signature, while a compute command list will have only a compute root signature. These root signatures are completely independent of each other. While the root signature lays out the types of data for shaders to use, it does not define or map the actual memory or data.[126]

Root parameters are one type of entry in a root signature. The actual values of the root parameters that are modified at runtime are called root arguments. This is the data that the shaders read.

in command lists and bundles, aiming to ensure the CPU and GPU work together in a more balanced manner.

Within Direct3D 11, the commands are sent from the CPU to the GPU one by one, and the GPU works through these commands sequentially. This means that commands are bottlenecked by the speed at which the CPU could send these commands in a linear fashion. Within DirectX 12 these commands are sent as command lists, containing all the required information within a single package. The GPU is then capable of computing and executing this command in one single process, without having to wait on any additional information from the CPU.

Within these command lists are bundles. Where previously commands were just taken, used, and then forgotten by the GPU, bundles can be reused. This decreases the workload of the GPU and means repeated assets can be used much faster.

While resource binding is fairly convenient in Direct3D 11 for developers at the moment, its inefficiency means several modern hardware capabilities are being drastically underused. When a game engine needed resources in DX11, it had to draw the data from scratch every time, meaning repeat processes and unnecessary uses. In Direct3D 12, descriptor heaps and tables mean the most often used resources can be allocated by developers in tables, which the GPU can quickly and easily access. This can contribute to better performance than Direct3D 11 on equivalent hardware, but it also entails more work for the developer.

Dynamic Heaps are also a feature of Direct3D 12.[127]

Direct3D 12 features explicit multi-adapter support, allowing the explicit control of multiple GPUs configuration systems. Such configurations can be built with graphics adapter of the same hardware vendor as well of different hardware vendor together.[128]

An experimental support of D3D 12 for Windows 7 SP1 has been released by Microsoft in 2019 via a dedicated NuGet package.[129] [130] [131]

Architecture

Direct3D is a Microsoft DirectX API subsystem component. The aim of Direct3D is to abstract the communication between a graphics application and the graphics hardware drivers. It is presented like a thin abstract layer at a level comparable to GDI (see attached diagram). Direct3D contains numerous features that GDI lacks.

Direct3D is an Immediate mode graphics API. It provides a low-level interface to every video card 3D function (transformations, clipping, lighting, materials, textures, depth buffering and so on). It once had a higher level Retained mode component, now officially discontinued.

Direct3D immediate mode presents three main abstractions: devices, resources and Swap Chains (see attached diagram). Devices are responsible for rendering the 3D scene. They provide an interface with different rendering capabilities. For example, the mono device provides white and black rendering, while the RGB device renders in color. There are four types of devices:

Every device contains at least one swap chain. A swap chain is made up of one or more back buffer surfaces. Rendering occurs in the back buffer.

Moreover, devices contain a collection of resources; specific data used during rendering. Each resource has four attributes:

Direct3D implements two display modes:

Pipeline

The Microsoft Direct3D 11 API defines a process to convert a group of vertices, textures, buffers, and state into an image on the screen. This process is described as a rendering pipeline with several distinct stages. The different stages of the Direct3D 11 pipeline are:[138]

  1. Input-Assembler:[139] Reads in vertex data from an application supplied vertex buffer and feeds them down the pipeline.
  2. Vertex Shader:[140] Performs operations on a single vertex at a time, such as transformations, skinning, or lighting.
  3. Hull-Shader:[141] Performs operations on sets of patch control points, and generates additional data known as patch constants.
  4. Tessellator:[142] Subdivides geometry to create higher-order representations of the hull.
  5. Domain-Shader:[143] Performs operations on vertices output by the tessellation stage, in much the same way as a vertex shader.
  6. Geometry Shader:[144] Processes entire primitives such as triangles, points, or lines. Given a primitive, this stage discards it, or generates one or more new primitives.
  7. Stream-Output:[145] Can write out the previous stage's results to memory. This is useful to recirculate data back into the pipeline.
  8. Rasterizer:[146] [147] Converts primitives into pixels, feeding these pixels into the pixel shader. The Rasterizer may also perform other tasks such as clipping what is not visible, or interpolating vertex data into per-pixel data.
  9. Pixel Shader:[148] Determines the final pixel color to be written to the render target and can also calculate a depth value to be written to the depth buffer.
  10. Output-Merger:[149] Merges various types of output data (pixel shader values, alpha blending, depth/stencil...) to build the final result.

The pipeline stages illustrated with a round box are fully programmable. The application provides a shader program that describes the exact operations to be completed for that stage. Many stages are optional and can be disabled altogether.

Feature levels

See main article: article and Feature levels in Direct3D.

In Direct3D 5 to 9, when new versions of the API introduced support for new hardware capabilities, most of them were optional – each graphics vendor maintained their own set of supported features in addition to the basic required functionality. Support for individual features had to be determined using "capability bits" or "caps", making cross-vendor graphics programming a complex task.

Direct3D 10 introduced a much simplified set of mandatory hardware requirements based on most popular Direct3D 9 capabilities which all supporting graphics cards had to adhere to, with only a few optional capabilities for supported texture formats and operations.

Direct3D 10.1 added a few new mandatory hardware requirements, and to remain compatible with 10.0 hardware and drivers, these features were encapsulated in two sets called "feature levels", with 10.1 level forming a superset of 10.0 level. As Direct3D 11.0, 11.1 and 12 added support for new hardware, new mandatory capabilities were further grouped in upper feature levels.[62]

Direct3D 11 also introduced "10level9", a subset of the Direct3D 10 API with three feature levels encapsulating various Direct3D 9 cards with WDDM drivers, and Direct3D 11.1 re-introduced a few optional features for all levels,[150] which were expanded in Direct3D 11.2 and later versions.

This approach allows developers to unify the rendering pipeline and use a single version of the API on both newer and older hardware, taking advantage of performance and usability improvements in the newer runtime.[58]

New feature levels are introduced with updated versions of the API and typically encapsulate:

Each upper level is a strict superset of a lower level, with only a few new or previously optional features that move to the core functionality on an upper level.[66] More advanced features in a major revision of the Direct3D API such as new shader models and rendering stages are only exposed on up-level hardware.[64] [65]

Separate capabilities exist to indicate support for specific texture operations and resource formats; these are specified per each texture format using a combination of capability flags.[151] [152]

Feature levels use underscore as a delimiter (i.e. "12_1"), while API/runtime versions use dot (i.e. "Direct3D 11.4").

Direct3D 11 levels

In Direct3D 11.4 for Windows 10, there are nine feature levels provided by structure; levels 9_1, 9_2 and 9_3 (collectively known as Direct3D 10 Level 9) re-encapsulate various features of popular Direct3D 9 cards, levels 10_0, 10_1 refer to respective legacy versions of Direct3D 10,[64] 11_0 and 11_1 reflects the feature introduced with Direct3D 11 and Direct3D 11.1 APIs and runtimes, while levels 12_0 and 12_1 correspond the new feature levels introduced with the Direct3D 12 API.

Feature levels in Direct3D 11.4
Feature level Mandatory hardware features Optional features
9_1Shader Model 2.0 (/), 2K textures, volume textures, event queries, BC1-3 (a.k.a. DXTn), a few other specific capabilities.rowspan="3"
9_2Occlusion queries, floating-point formats (no blending), extended caps, all 9_1 features.
9_3/ with instancing and additional shader caps, 4K textures, multiple render targets (4 MRTs), floating-point blending (limited), all 9_2 features.
10_0Shader Model 4.0, geometry shader, stream out, alpha-to-coverage, 8K textures, MSAA textures, 2-sided stencil, general render target views, texture arrays, BC4/BC5, full floating-point format support, all 9_3 features.Logical blend operations, DirectCompute (CS 4.0/4.1), extended pixel formats.
10_1Shader Model 4.1, cubemap arrays, extended MSAA, all 10_0 features.
11_0Shader Model 5.0/5.1, hull & domain shaders, DirectCompute (CS 5.0/5.1), 16K textures, BC6H/BC7, extended pixel formats, all 10_1 features.UAV only rendering with force sample count, constant buffer offsetting and partial updates, double precision (64-bit) floating point operations, minimum floating-point precision (10- or 16-bit), min/max filtering.
11_1Logical blend operations, target-independent rasterization, UAVs at every pipeline stage with increased slot count, UAV only rendering with force sample count, constant buffer offsetting and partial updates, all 11_0 features.Tiled resources (four tiers), conservative rasterization (three tiers), stencil reference value from Pixel Shader, rasterizer ordered views, typed UAV loads for additional formats.
12_0 Tiled Resources Tier 2 (Texture2D), Typed UAV Loads (additional formats).
12_1Conservative Rasterization Tier 1, Rasterizer Ordered Views.

Direct3D 12 levels

Direct3D 12 for Windows 10 requires graphics hardware conforming to feature levels 11_0 and 11_1 which support virtual memory address translations and requires WDDM 2.0 drivers. There are two new feature levels, 12_0 and 12_1, which include some new features exposed by Direct3D 12 that are optional on levels 11_0 and 11_1.[153] Some previously optional features are realigned as baseline on levels 11_0 and 11_1. Shader Model 6.0 has been released with Windows 10 Creators Update and requires Windows 10 Anniversary Update, WDDM 2.1 drivers.

Direct3D 12 feature levels
Level Mandatory features Optional features
11_0All mandatory 11_0 features from Direct3D 11, Shader Model 5.1, Resource binding Tier 1.Logical blend operations, double precision (64-bit) floating point operations, minimum floating point precision (10- or 16-bit).Resource binding (three tiers), tiled resources (four tiers), conservative rasterization (three tiers), stencil reference value from Pixel Shader, rasterizer ordered views, typed UAV loads for additional formats, view instancing.

Shader Model 6.0–6.7

Metacommands, variable shading rate, raytracing, mesh shaders, sampler feedback.

Other optional features.[154]

UAVs at every pipeline stage, UAV only rendering with force sample count, constant buffer offsetting and partial updates.
11_1Logical blend operations, target-independent rasterization, increased UAV slot count.
12_0 Resource Binding Tier 2, Tiled Resources Tier 2 (Texture2D), Typed UAV Loads (additional formats), Shader Model 6.0.
12_1Conservative Rasterization Tier 1, Rasterizer Ordered Views.
12_2DirectX 12 Ultimate: Shader Model 6.5, Raytracing Tier 1.1, Mesh Shaders, Variable-Rate Shading, Sampler Feedback, Resource Binding Tier 3, Tiled Resources Tier 3 (Texture3D), Conservative Rasterization Tier 3, 40-bit virtual address space.

Direct3D 12 introduces a revamped resource binding model which allows explicit control of memory. Abstract "resource view" objects[155] are now represented with resource descriptors, which are allocated using memory heaps and tables.[156] Resource Binding tiers define maximum number of resources that can be addressed using CBV (constant buffer view), SRV (shader resource view) and UAV (unordered access view), as well as texture sampler units. Tier 3 hardware allows fully bindless resources only restricted by the size of the descriptor heap, while Tier 1 and Tier 2 hardware impose some limits on the number of descriptors ("views") that can be used simultaneously.[157] [158]

Resource binding tiers
Resource limits Tier 1 Tier 2 Tier 3
Descriptors in CBV/SRV/UAV heap 1M1M>1M
CBVs per shader stage1414full heap
SRVs per shader stage128full heap
UAVs across all stages8, 64 64full heap
Samplers per shader stage16full heap
64 slots on feature level 11_1 hardware

Multithreading

WDDM driver model in Windows Vista and higher supports arbitrarily large number of execution contexts (or threads) in hardware or in software. Windows XP only supported multitasked access to Direct3D, where separate applications could execute in different windows and be hardware accelerated, and the OS had limited control about what the GPU could do and the driver could switch execution threads arbitrarily.

The ability to execute the runtime in a multi-threaded mode has been introduced with Direct3D 11 runtime. Each execution context is presented with a resource view of the GPU. Execution contexts are protected from each other, however a rogue or badly written app can take control of the execution in the user-mode driver and could potentially access data from another process within GPU memory by sending modified commands. Though protected from access by another app, a well-written app still needs to protect itself against failures and device loss caused by other applications.

The OS manages the threads all by itself, allowing the hardware to switch from one thread to the other when appropriate, and also handles memory management and paging (to system memory and to disk) via integrated OS-kernel memory management.

Finer-grained context switching, i.e. being able to switch two execution threads at the shader-instruction level instead of the single-command level or even batch of commands, was introduced in WDDM/DXGI 1.2 which shipped with Windows 8.[85] This overcomes a potential scheduling problem when application would have very long execution of a single command/batch of commands and will have to be terminated by the OS watchdog timer.[159]

WDDM 2.0 and DirectX 12 have been reengineered to allow fully multithreaded draw calls. This was achieved by making all resources immutable (i.e. read-only), serializing the rendering states and using draw call bundles. This avoids complex resource management in the kernel-mode driver, making possible multiple reentrant calls to the user-mode driver via concurrent executions contexts supplied by separate rendering threads in the same application.

Direct3D Mobile

Direct3D Mobile is derived from Direct3D but has a smaller memory footprint. Windows CE provides Direct3D Mobile support.[160]

Alternative implementations

The following alternative implementations of Direct3D API exist. They are useful for non-Windows platforms and for hardware without some versions of DX support:

Related tools

D3DX

See main article: article and D3DX. Direct3D comes with D3DX, a library of tools designed to perform common mathematical calculations on vectors, matrices and colors, calculating look-at and projection matrices, spline interpolations, and several more complicated tasks, such as compiling or assembling shaders used for 3D graphic programming, compressed skeletal animation storage and matrix stacks. There are several functions that provide complex operations over 3D meshes like tangent-space computation, mesh simplification, precomputed radiance transfer, optimizing for vertex cache friendliness and stripification, and generators for 3D text meshes. 2D features include classes for drawing screen-space lines, text and sprite based particle systems. Spatial functions include various intersection routines, conversion from/to barycentric coordinates and bounding box/sphere generators. D3DX is provided as a dynamic link library (DLL). D3DX is deprecated from Windows 8 onward and can't be used in Windows Store apps.[171]

Some features present in previous versions of D3DX were removed in Direct3D 11 and now provided as separate sources:[172]

DXUT

DXUT (also called the sample framework) is a layer built on top of the Direct3D API. The framework is designed to help the programmer spend less time with mundane tasks, such as creating a window, creating a device, processing Windows messages and handling device events. DXUT have been removed with the Windows SDK 8.0 and now distributed as source via CodePlex.[180]

See also

External links

Notes and References

  1. Web site: Configuring Depth-Stencil Functionality. Microsoft.
  2. Web site: RenderStateManager.UseWBuffer. Microsoft.
  3. Web site: Texture Blending (Direct3D 9). Microsoft.
  4. Web site: Geometry Blending (Direct3D 9). Microsoft.
  5. Web site: HLSL. Microsoft.
  6. Web site: Effects (Direct3D 11). Microsoft.
  7. Web site: DirectX Software Development Kit, October 2006 . Microsoft . dead . https://web.archive.org/web/20111102052207/http://www.microsoft.com/download/en/details.aspx?id=9977 . 2011-11-02 .
  8. Web site: Windows Advanced Rasterization Platform (WARP) Guide – WARP Architecture and Performance. MSDN.
  9. Web site: DirectX 8: Raising the Ante for Realism in Graphics . evga.com . 6 September 2023.
  10. Web site: Home> GPUs ATI SMARTSHADER Technology - Powering the next generation Radeon . anandtech.com . 6 September 2023.
  11. Web site: Vertex Shaders and Pixel Shaders . thg.ru/ . 6 September 2023.
  12. Web site: Vertex Shaders and Pixel Shaders . archive.org . 6 September 2023 . August 16, 2004 . https://web.archive.org/web/20040816024841/http://graphics.tomshardware.com/graphic/20020116/shaders-10.html . bot: unknown .
  13. Web site: MicroSoft DirectX Downloads for Windows (Win95, Win98, Win98SE, WinME, Win2000, WinXP) . www.falconfly.de . 11 January 2022 . https://web.archive.org/web/20061110152918/http://www.falconfly.de/directx.htm . 10 November 2006 . dead.
  14. Web site: Download DirectX 9.0c End-User Runtime from Official Microsoft Download Center . www.microsoft.com . 11 January 2022 . https://web.archive.org/web/20150729053943/http://www.microsoft.com/en-us/download/details.aspx?id=34429 . 29 July 2015 . dead.
  15. Web site: Qube Soft Management Team. qubesoft.com. 2017-04-04. 2017-04-05. https://web.archive.org/web/20170406110841/http://www.qubesoft.com/#clients-team-and-tech. 2017-04-06. dead.
  16. Web site: Prosise . Jeff . May 16, 1995 . Joining the Multimedia Party . 2022-08-20 . PC Magazine.
  17. Web site: Thompson . Nigel . August 1996 . Building a Scene Using Retained Mode Direct3D . https://web.archive.org/web/20210126031359/https://ubm-twvideo01.s3.amazonaws.com/o1/vault/GD_Mag_Archives/GDM_AugSept_1996.pdf . 2021-01-26 . live . 2022-08-20 . Game Developer Magazine.
  18. Web site: Berkes . Otto . April 12, 2015 . DirectX . 2022-08-22 . Otto Berkes’ weblog.
  19. Web site: Chen . Raymond . 2004-01-22 . What happened to DirectX 4? . 2022-08-28 . The Old New Thing . Microsoft.
  20. Web site: Press Release-Microsoft Meltdown (February 1997). Microsoft Corporation. 1997-02-18.
  21. Web site: Press Release-Microsoft Meltdown (July 1997). Microsoft Corporation. 1997-07-22.
  22. Web site: Get Fast and Simple 3D Rendering with DrawPrimitive and DirectX 5.0. Microsoft Systems Journal. Ron Fosner.
  23. Web site: Direct3D 7 Immediate Mode Framework Programming 3: Multitexturing. gamedev.net. 2000-05-29. September 17, 2011. August 5, 2011. https://web.archive.org/web/20110805004456/http://www.gamedev.net/page/resources/_/reference/programming/directx/direct3d/direct3d-7-immediate-mode-framework-programming-r1028. dead.
  24. Web site: Microsoft Ships Final Release of DirectX 6.0. Microsoft. 1998-08-07.
  25. Web site: Microsoft Ships DirectX 6.1. Microsoft. 3 February 1999.
  26. Web site: Bill Gates April 1997 Talisman Update. Microsoft. 1997-05-05. 2015-10-31. https://web.archive.org/web/20151208112242/http://www.alexstjohn.com/BillG_Apr_97_Talisman_update.pdf. 2015-12-08. dead.
  27. Web site: DDS (DirectDraw Surface format) . MSDN.
  28. News: DirectX 7: [due] July 99 ]. July 20, 2019 . . March 1999 . https://web.archive.org/web/19990508133655/http://www.gamespot.co.uk/pc.gamespot/features/dx7/dx7_uk/ . May 8, 1999 . UK.
  29. Web site: Microsoft Announces Release of DirectX 8.0. Microsoft. 7 January 2015. 9 November 2000.
  30. News: Direct Action Feature: DirectX 8.0 . July 20, 2019 . . https://web.archive.org/web/20010223225852/http://extra.gamespot.co.uk/pc.gamespot/features/directaction_uk/ . February 23, 2001 . UK.
  31. Web site: DirectX 8 Graphics and Video: A Fresh Start . 2000-11-30 . gamedev.net . 2007-02-18 . https://web.archive.org/web/20070604171620/http://www.gamedev.net/reference/articles/article1247.asp . 2007-06-04 . dead .
  32. Web site: Direct3D 9 Graphics. MSDN. 30 September 2014.
  33. Web site: Writing HLSL Shaders in Direct3D 9. MSDN. 30 September 2014.
  34. Web site: HLSL in Direct3D 9.0 . . dead . https://web.archive.org/web/20100827232558/http://www.microsoft.com/presspass/press/2003/Jan03/01-22DirectXHLSLPR.mspx . 2010-08-27 .
  35. Web site: Multiple Render Targets (Direct3D 9). MSDN. 30 September 2014.
  36. Web site: Multiple-element Textures (Direct3D 9). MSDN. 30 September 2014.
  37. Web site: Stencil Buffer Techniques (Direct3D 9). MSDN. 30 September 2014.
  38. Web site: Direct3D 9Ex Improvements. MSDN. 30 September 2014.
  39. Web site: Graphics APIs in Windows. August 2009. MSDN.
  40. Web site: The role of the Windows Display Driver Model in the DWM. 2006-04-02.
  41. Web site: API Features (Direct3D 10). MSDN. 30 September 2014.
  42. Web site: Microsoft Support . March 17, 2009 . Direct3D Retained Mode removed from Windows Vista . unfit . https://web.archive.org/web/20130601172521/http://support.microsoft.com:80/kb/969150 . June 1, 2013.
  43. Web site: DirectX Software Development Kit, February 2007. https://archive.today/20120903141508/http://www.microsoft.com/download/en/details.aspx?id=9539. dead. 2012-09-03. Microsoft.
  44. Web site: Resource Types (Direct3D 10). MSDN. 30 September 2014.
  45. Web site: API Layers (Direct3D 10). MSDN. 30 September 2014.
  46. Web site: CNet News. 30 September 2014.
  47. Web site: Common-Shader Core. Microsoft.
  48. Web site: Geometry Shader Features. Microsoft.
  49. Web site: Shader Stages. Microsoft.
  50. Web site: What Direct3D 10 is all about – Additional Improvements . 2006-11-08. Tom's Hardware.
  51. Web site: Direct3D 10.1 Features. MSDN. 30 September 2014.
  52. Web site: Microsoft Presents DirectX 10.1 Details at SIGGRAPH. 2007-08-07. ExtremeTech.
  53. Web site: Direct3D 10.1 Features . MSDN.
  54. Web site: ID3D11Device::CheckMultisampleQualityLevels method. MSDN. 30 September 2014.
  55. Web site: D3D10_FEATURE_LEVEL1 enumeration . 2009-11-22 . MSDN.
  56. Web site: Direct3D feature levels. MSDN. 30 September 2014.
  57. Web site: Direct3D 11 Features. MSDN. 30 September 2014.
  58. Web site: Gamefest 2008 Presentations . Microsoft . dead . https://web.archive.org/web/20131113193604/http://www.microsoftgamefest.com/presentations/2008.htm . 2013-11-13 .
  59. Web site: Nvision 08 Tech Presentations. 2011-09-16 . Nvidia.
  60. Web site: DirectX Software Development Kit, November 2008. Microsoft. 2008-11-07.
  61. Web site: AMD shows off world's first DirectX 11 GPU. 2009-06-03 . Engadget.
  62. Web site: Direct3D Feature Levels . Games for Windows and the DirectX SDK Blog . Chuck Walbourn . June 20, 2012.
  63. Web site: GameFest 2008: Introduction to the Direct3D 11 Graphics Pipeline. https://archive.today/20130128162239/http://www.microsoft.com/download/en/details.aspx?id=15051. dead. 2013-01-28. Slide 56. Microsoft.
  64. Web site: Direct3D 11 on Downlevel Hardware. 2012-11-18 . MSDN.
  65. Web site: Windows Driver Kit – Supporting Direct3D 11. MSDN. 2009-06-13.
  66. Web site: Direct3D feature levels. MSDN. 2012-07-02.
  67. Web site: Using ATI hardware tessellation in DX9. 2008-07-14 .
  68. Web site: AMD DX9 Tessellation SDK . dead . https://web.archive.org/web/20101108055325/http://developer.amd.com/gpu/radeon/tessellation/pages/default.aspx . 2010-11-08 .
  69. Web site: Programming for Real-Time Tessellation on GPU . dead . https://web.archive.org/web/20110727235724/http://developer.amd.com/gpu_assets/Real-Time_Tessellation_on_GPU.pdf . 2011-07-27 .
  70. Web site: OpenGL Tessellation Samples . dead . https://web.archive.org/web/20100409071830/http://developer.amd.com/GPU/WGSDK/Pages/default.aspx . 2010-04-09 .
  71. Web site: New Resource Types. MSDN. 30 September 2014.
  72. Web site: Depth Bias. MSDN. 30 September 2014.
  73. Web site: D3D11_RASTERIZER_DESC1 structure. MSDN. 30 September 2014.
  74. Web site: Shader Model 5. MSDN. 30 September 2014.
  75. Web site: Tessellation Overview. Microsoft.
  76. Web site: Tessellation Overview. MSDN. 30 September 2014.
  77. Web site: Description of the Platform Update for Windows Server 2008 and the Platform Update for Windows Vista . Support.microsoft.com . 2012-10-02 . 2013-06-15.
  78. Web site: The Platform Update for Windows Vista – DirectX Developer Blog – Site Home – MSDN Blogs . Blogs.msdn.com . 2009-09-10 . 2013-06-15 . dead . https://web.archive.org/web/20140408062133/http://blogs.msdn.com/b/directx/archive/2009/09/10/windows-7-transition-pack-for-windows-vista.aspx . 2014-04-08 .
  79. Web site: Direct3D 11.1 Features. MSDN. 30 September 2014.
  80. Web site: D3D11_FEATURE_DATA_D3D11_OPTIONS structure. MSDN. 30 September 2014.
  81. Web site: DirectX feature improvements in Windows 8. MSDN. 30 September 2014.
  82. Web site: Direct3D 11.1 Features. 2009-09-13 . MSDN.
  83. Web site: DXGI 1.2 Improvements. MSDN. 30 September 2014.
  84. Web site: WDDM 1.2 features. MSDN. 30 September 2014.
  85. Web site: Windows Display Driver Model Enhancements in Windows Developer Preview. 2011-09-13. MSDN.
  86. Web site: Scalar Types. 2 October 2014.
  87. Web site: Intel's Haswell IGP to Feature DirectX 11.1, Increased Professional Application Support. 2011-08-05. AnandTech.
  88. Web site: DirectX Graphics – Platform Update for Windows 7 . 2012-11-14. MSDN.
  89. Web site: DirectX 11.1 and Windows 7 . Games for Windows and the DirectX SDK Blog . November 13, 2012.
  90. Web site: DirectX programming. MSDN. 30 September 2014. https://web.archive.org/web/20131031094305/http://msdn.microsoft.com/en-us/library/windows/apps/bg182880.aspx. 31 October 2013. dead.
  91. Web site: Direct3D 11.2 Features. MSDN. 30 September 2014.
  92. Web site: D3D11_FEATURE_DATA_D3D11_OPTIONS1 structure. MSDN. 30 September 2014.
  93. Web site: Windows 8.1 Feature Guide – DirectX programming. MSDN Library. June 26, 2013. June 27, 2013. https://web.archive.org/web/20150827064512/https://msdn.microsoft.com/en-us/library/windows/apps/bg182880. August 27, 2015. dead.
  94. Web site: What's New in Direct3D 11.2. Bennett Sorbo. Channel9 – BUILD 2013. June 26, 2013.
  95. Web site: DXGI 1.3 Improvements. MSDN Library. June 26, 2013.
  96. Web site: What's new for Windows 8.1 Preview display drivers (WDDM 1.3). MSDN. 30 September 2014.
  97. Web site: Content Moved (Windows) . 2015-03-06 . https://web.archive.org/web/20160304115537/https://msdn.microsoft.com/en-us/library/windows/apps/bg182880.aspx . 2016-03-04 . dead .
  98. Web site: D3D11_TILED_RESOURCES_TIER enumeration. MSDN. 30 September 2014.
  99. Web site: Massive Virtual Textures for Games: Direct3D Tiled Resources. Channel9 – BUILD 2013. June 26, 2013. Charles Hollemeersch, Matt Sandy.
  100. Web site: Direct3D 11.2 Features. MSDN Library. June 26, 2013.
  101. Web site: MSDN Blogs. MSDN. 30 September 2014.
  102. Web site: D3D11_FEATURE_DATA_D3D9_SIMPLE_INSTANCING_SUPPORT structure. MSDN. 30 September 2014.
  103. Web site: Raising the Bar with Direct3D. Building Apps for Windows. October 14, 2013. 30 September 2014.
  104. Web site: Microsoft officially turns down Mantle. October 16, 2013. 30 September 2014.
  105. Chris Tector's segment of http://channel9.msdn.com/Blogs/DirectX-Developer-Blog/DirectX-Evolving-Microsoft-s-Graphics-Platform (starting approx. 18 minute in.)
  106. Web site: Rendering (Direct3D 12 Graphics) - Win32 apps .
  107. Web site: AnandTech – Microsoft Details Direct3D 11.3 & 12 New Rendering Features. Ryan Smith. 30 September 2014.
  108. Web site: AnandTech – The NVIDIA GeForce GTX 980 Review: Maxwell Mark 2. Ryan Smith. 30 September 2014. First and foremost among Maxwell 2's new features is the inclusion of full Direct3D 11.2/11.3 compatibility..
  109. Web site: DirectX 11.3 New Features Outline – Tiled Resources – Typed UAV Loads. September 19, 2014. 30 September 2014.
  110. Web site: D3D11_CONSERVATIVE_RASTERIZATION_TIER enumeration. 22 February 2015. MSDN library. 22 February 2015.
  111. Web site: Direct3D 11.3 Features. 28 March 2015. MSDN library. 28 March 2015.
  112. Web site: Games for Windows and the DirectX SDK blog.
  113. Web site: AnandTech – Microsoft Announces DirectX 12: Low-Level Graphics Programming Comes To DirectX . Ryan Smith . 30 September 2014.
  114. Web site: Intel Developer Zone. Intel. December 21, 2022.
  115. Web site: Direct3D 12 Overview Part 1: 'Closer To The Metal' . 2 October 2014.
  116. first two minutes of https://channel9.msdn.com/Events/Build/2014/3-564
  117. Web site: A closer look at DirectX 12 – The Tech Report – Page 3 . March 31, 2014 . 30 September 2014.
  118. Web site: AnandTech – Microsoft Details Direct3D 11.3 & 12 New Rendering Features . Ryan Smith . 30 September 2014.
  119. Web site: Archived copy . 2014-09-19 . https://web.archive.org/web/20180430181827/http://static.gamespot.com/uploads/original/823/8237367/2484602-pixel+ordered+uav.jpg . 2018-04-30 . dead.
  120. Web site: Shader Model 5.1 - Win32 apps .
  121. Web site: Meet the future of PC graphics: Microsoft reveals faster, console-like DirectX 12 . 20 March 2014 . PCWorld . 30 September 2014.
  122. Web site: DirectX 12 will also add new features for next-gen GPUs. March 21, 2014. 30 September 2014.
  123. News: Kowaliski . Cyril . March 21, 2014 . DirectX 12 will also add new features for next-gen GPUs . The Tech Report . April 1, 2014.
  124. Web site: Technical Library. Intel. December 21, 2022.
  125. Web site: stevewhims . 2021-12-30 . Pipelines and Shaders with Direct3D 12 - Win32 apps . 2023-12-19 . learn.microsoft.com . en-us.
  126. Web site: stevewhims . 2023-02-06 . Root Signatures Overview - Win32 apps . 2023-12-19 . learn.microsoft.com . en-us.
  127. Web site: Direct3D 12 Overview Part 7: Dynamic Heaps . 2 October 2014.
  128. Web site: Multi-Adapter . August 3, 2016 . https://web.archive.org/web/20160914035639/https://msdn.microsoft.com/en-us/library/windows/desktop/dn933253(v=vs.85).aspx . September 14, 2016 . dead.
  129. Web site: Porting DirectX 12 games to Windows 7. August 21, 2019.
  130. Web site: DirectX-Specs.
  131. Web site: Microsoft.Direct3D.D3D12On7 1.1.0.
  132. https://msdn.microsoft.com/en-us/library/mt733232(v=vs.85).aspx HLSL Shader Model 6.0
  133. News: Coming to DirectX 12— Sampler Feedback: some useful once-hidden data, unlocked . DirectX Developer Blog. 2019-11-04. en-US.
  134. News: DirectX Raytracing (DXR) Tier 1.1 . DirectX Developer Blog . 2019-11-06 . en-US.
  135. News: Coming to DirectX 12: More control over memory allocation . DirectX Developer Blog . 2019-11-11 . en-US.
  136. Web site: Software Rasterizer for DirectX 9.0 SDK . https://archive.today/20120904042640/http://www.microsoft.com/download/en/details.aspx?id=1839 . dead . 2012-09-04 . 2005-08-01 . Microsoft .
  137. Web site: Direct3D Resources – Memory pool . dead . https://web.archive.org/web/20080509150221/http://www.toymaker.info/Games/html/d3d_resources.html#MemoryPool . 2008-05-09 .
  138. Web site: Graphics Pipeline . Direct3D 11 Graphics . . 2021-10-19.
  139. Web site: Input-Assembler Stage . Direct3D 11 Graphics . . 2021-10-19.
  140. Web site: Vertex Shader Stage . Direct3D 11 Graphics . . 2021-10-19.
  141. Web site: Tessellation Stages . Direct3D 11 Graphics . . Hull-Shader Stage . 2021-10-19.
  142. Web site: Tessellation Stages . Direct3D 11 Graphics . . Tessellator Stage . 2021-10-19.
  143. Web site: Tessellation Stages . Direct3D 11 Graphics . . Domain-Shader Stage . 2021-10-19.
  144. Web site: Geometry Shader Stage . Direct3D 11 Graphics . . 2021-10-19.
  145. Web site: Stream-Output Stage . Direct3D 11 Graphics . . 2021-10-19.
  146. Web site: RenderStates . DirectX 9.0 for Managed Code . . 2021-10-19.
  147. Web site: Rasterizer Stage . Direct3D 11 Graphics . . 2021-10-19.
  148. Web site: Pixel Shader Stage . Direct3D 11 Graphics . . 2021-10-19.
  149. Web site: Output-Merger Stage . Direct3D 11 Graphics . . 2021-10-19.
  150. Web site: Direct3D 11.1 Features - Win32 apps.
  151. Web site: D3D11_FORMAT_SUPPORT enumeration . 2015-06-16 . MSDN.
  152. Web site: D3D11_FORMAT_SUPPORT2 enumeration . 2015-06-16 . MSDN.
  153. Web site: Hardware Tiers - Win32 apps. learn.microsoft.com. December 21, 2022.
  154. Web site: D3D12_FEATURE - Win32 apps.
  155. Web site: Introduction to a Resource in Direct3D 11 - Win32 apps.
  156. Web site: Introduction to Resource Binding in Microsoft DirectX 12. .
  157. https://intel.lanyonevents.com/sf14/connect/sessionDetail.ww?SESSION_ID=1315 GVCS005 - Microsoft Direct3D 12: New API Details and Intel Optimizations
  158. Web site: Shows. learn.microsoft.com. December 21, 2022.
  159. Web site: Timeout detection and recovery (TDR) - Windows drivers . .
  160. http://msdn.microsoft.com/en-us/library/ee491072.aspx Direct3D Mobile
  161. Web site: The Wine team is proud to announce that the stable release Wine 4.0. WineHQ. en. 2019-04-03.
  162. Web site: WineD3DOnWindows – The Official Wine Wiki . https://web.archive.org/web/20090117122345/http://wiki.winehq.org/WineD3DOnWindows . dead . 2009-01-17 . Wiki.winehq.org . 2013-06-02 . 2013-06-15 .
  163. Web site: Vkd3d 1.0 Released. WineHQ. en. 2019-04-03.
  164. Web site: Michael Larabel . Valve's Proton Offers Branch With VKD3D For Direct3D 12 Over Vulkan . . October 7, 2019 . August 23, 2019.
  165. Web site: Jason Evangelho . Windows 10 Versus Linux: 6 Steam Games Benchmarked On Intel's Hades Canyon NUC . . October 7, 2019 . March 1, 2019.
  166. Web site: D9VK GitHub repository . GitHub . 6 October 2019.
  167. Web site: Michael Larabel . Proton Re-Based To Wine 4.11, Adds D9VK Direct3D 9, Better CPU Utilization & DXVK 1.3 . . October 7, 2019 . July 30, 2019.
  168. Web site: Implement Direct3D9 Frontend by Joshua-Ashton · Pull Request #1275 · doitsujin/dxvk. GitHub. en. 2019-12-17.
  169. Web site: D8VK GitHub repository . GitHub . 2 February 2024.
  170. Web site: Joey Sneddon . Ubuntu 18.10 Adds Gallium Nine Support, Latest Mesa 18.2.2 . OMG! Ubuntu! . October 7, 2019 . October 10, 2018.
  171. Web site: D3DX 11 Reference. MSDN. 30 September 2014.
  172. Web site: Living without D3DX. MSDN.
  173. Web site: Effect-Compiler Tool. Microsoft.
  174. Web site: Spherical Harmonics Math. msdn.com. 23 November 2014.
  175. Web site: Effects 11. CodePlex. 30 September 2014. September 24, 2014. https://web.archive.org/web/20140924100132/https://fx11.codeplex.com/. dead.
  176. Web site: DirectXMesh geometry processing library. CodePlex. 30 September 2014. September 29, 2014. https://web.archive.org/web/20140929072508/http://directxmesh.codeplex.com/. dead.
  177. Web site: DirectXTex texture processing library. CodePlex. 30 September 2014. September 25, 2014. https://web.archive.org/web/20140925083258/http://directxtex.codeplex.com/. dead.
  178. Web site: DirectX Tool Kit. CodePlex. 30 September 2014. September 29, 2014. https://web.archive.org/web/20140929072523/http://directxtk.codeplex.com/. dead.
  179. Web site: UVAtrlas. CodePlex. 23 November 2014. June 27, 2015. https://web.archive.org/web/20150627044227/https://uvatlas.codeplex.com/. dead.
  180. Web site: DXUT for Win32 Desktop Update. MSDN.