DirectX Key Components of DirectX
DirectX ys m%Odk ixrpl
DirectX is a collection of application
programming interfaces (APIs) designed by • Direct3D
Microsoft to handle tasks related to
multimedia, especially game programming This is the most widely known
and video, on Microsoft platforms. component of DirectX. It is used for
DirectX hkq uhsfl%dfid*aÜ fõÈldj, rendering 3D graphics in applications
nyqudOH" úfYaIfhkau l%Svd where performance is critical, such as
jevigykalrKh iy ùäfhda iïnkaO games. Direct3D provides hardware
ld¾hhka yeisrùug uhsfl%dfid*aÜ úiska acceleration for 3D graphics.
ks¾udKh lrk ,o fhÿï l%uf,aLk fuh DirectX ys jvd;a mq¿,a f,i okakd
q ;a (APIs) tl;=jls'
w;=reuqyK ixrplhhs' l%Svd jeks ld¾h idOkh
;SrKd;aul jk fhÿïj, ;%sudK .%e*slaia
It is a crucial component for game úoeyqïlrKh i|yd th Ndú;d fõ'
developers and multimedia application Direct3D ;%sudK .%e*slaia i|yd oDVdx.
creators working on Windows operating ;ajrKh(hardware acceleration) imhhs'
systems.
th úkafvdaia fufyhqï moaO;sj, jev lrk • Direct2D
l%Svd ixj¾Olhska iy nyqudOH fhÿï
ks¾udKlrejka i|yd jeo.;a wx.hls' A 2D graphics API that provides high-
performance rendering for 2D
DirectX was first released in September geometry, bitmaps, and text.
1995 as the Windows Game SDK. It was oaúudk cHdñ;sk"a bitmaps iy mdG i|yd
created to address the challenges game by< ld¾h idOk úoeyqïlrKhla imhk
developers faced in creating high- 2D graphics API ls.
performance multimedia applications for
Windows. • DirectWrite
DirectX 1995 iema;eïn¾ udifha§ Windows
Game SDK f,i uq,sku a ksl=;a lrk ,§' This API is designed for high-quality
úkafvdaia i|yd by< ld¾hidOkhla iys; text rendering, layout, and font
nyqudOH fhÿï ks¾udKh lsÍfï§ l%Svd
ixj¾Olhska uqyK q fok wNsfhda. úi£u management. It works closely with
i|yd th ks¾udKh lrk ,§' Direct2D.
fuu API Wiia ;;a;ajfha mdG
úoeyqïlrKh" msßie,iqu iy wl=re
l<ukdlrKh i|yd ks¾udKh lr we;'
th Direct2D iuÕ iómj l%shd lrhs'
• DirectSound
An API for playing and recording
waveform sounds. It provides a low-
latency interface for audio input and
output.
;rx. wdlD;s Yío jdokh lsÍu iy
má.; lsÍu i|yd Ndú;d lrk API
j¾.hls. th Y%jH wdodkh iy m%;sodkh
i|yd ld, m%udoh wvq w;=re uqyK q ;la
imhhs'
Different versions of DirectX • DirectX 12
DirectX ys úúO ixialrK
• DirectX 9.0
Introduced with Windows 10, providing
even more performance improvements
by giving developers more control over
Released in 2002, with widespread use the low-level hardware.
in many games, offering significant Windows 10 iuÕ y÷kajd § we;s w;r"
improvements over previous versions. ixj¾Olhskg a my;a uÜgfï oDvdx.
2002 § ksl=;a lrk ,o" fndfyda l%Svd j, flfrys jeä md,khla ,nd §fuka Bg;a
mq¿,aj Ndú;d lrñka" fmr ixialrK jvd ld¾h idOk jeäÈhqKq lsÍï imhhs'
j,g jvd ie,lsh hq;= jeäÈhqKq lsÍï
bÈßm;a lrhs'
Development and Usage
• DirectX 10 ixj¾Okh iy Ndú;h
• SDK
Microsoft provides a Software
Development Kit (SDK) for DirectX,
which includes libraries, headers, tools,
and documentation for developers.
Microsoft úiska DirectX i|yd uDÿldx.
Introduced with Windows Vista,
ixj¾Ok lÜg,hla (SDK) imhk w;r"
offering improved graphics and more
ixj¾Olhska i|yd libraries" headers"
efficient API.
fuj,ï iy f,aLk we;=<;a fõ'
Windows Vista iuÕska y÷kajd § we;s
w;r" jeäÈhqKq l< .%e*slaia iy jvd;a
• Integration
ld¾hlaIu API msßkeóu'
taldnoaO lsru
s
• DirectX 11
DirectX is tightly integrated with the
Windows operating system, making it a
natural choice for game developers
targeting the Windows platform.
DirectX úkafvdaia fufyhqï moaO;sh iuÕ
oeä f,i tAldnoaO ù we;s w;r th
úkafvdaia fõÈldj b,lal lr.;a l%Svd
Released with Windows 7, bringing ixj¾Olhska i|yd iajdNdúl f;aÍula
further enhancements, including lrhs'
tessellation, multi-threaded rendering,
and DirectCompute.
Windows 7 iuÕska ksl=;a lr we;s w;r"
tessellation, nyqfmdg úoeyqïlrKh iy
DirectCompute we;=¿j ;j;a jeä ÈhqKq
lsÍï f.k tk ,os'
• Development Environments • Cross-Platform Development
ixj¾Ok mßirh
By supporting both Windows and Xbox,
Common development environments DirectX enables developers to create
for DirectX applications include games that can run on multiple
Microsoft Visual Studio, which provides platforms with minimal changes to the
extensive support for DirectX codebase.
programming. Windows iy Xbox hk folgu iyh
DirectX fhÿï i|yd fmdÿ ixj¾Ok §fuka" DirectX uÕska ixj¾Olhskg
a fla;
mßirhka DirectX jevigykalrKh mokug wju fjkialï iys;j nyq
i|yd mq¿,a iyh imhk Microsoft fõÈld u; Odjkh l< yels l%Svd
Visual Studio ys we;=<;a fõ' ks¾udKh lsÍug yelshdj ,efí'
• Feature Set
Usage of DirectX in Gaming úfYaIdx. lÜg,h
DirectX provides a comprehensive suite
DirectX plays a pivotal role by providing a of tools for rendering, audio, input, and
suite of APIs that enable developers to networking, which helps developers
create immersive, and high-performance create complex and feature-rich games
gaming experiences on Windows more efficiently.
platforms. DirectX úiska úoeyqïlrKh" Y%jH"
úkafvdaia fõÈld u; immersive iy by< wdodkh iy cd,lrKh i|yd mq¿,a
l%shdldÍ l%Svd w;aoelSï ks¾udKh lsÍug fuj,ï lÜg,hla imhhs" th
ixj¾Olhskg a ixlS¾K iy úfYaIdx.-
ixj¾Olhskg a yels jk mßÈ API lÜg,hla /ilska l%Svd jvd;a ld¾hlaIuj
iemhSfuka DirectX m%Odk ld¾hNdrhla bgq ks¾udKh lsÍug WmldÍ fõ'
lrhs'
• Continual Updates
Key Advantages of DirectX in Gaming wLKavj hdj;ald,Sk úu
l%Svdfõ§ DirectX ys m%Odk jdis
Microsoft regularly updates DirectX to
• Performance support new hardware features and
ld¾h idOkh
performance enhancements, ensuring
DirectX APIs are designed to minimize that developers can take advantage of
CPU overhead and maximize the the latest technology.
ixj¾Olhskg a kj;u ;dËKfhka
performance of the GPU and other m%fhdack .; yels nj iy;sl lrñka" kj
hardware components, essential for oDvdx. úfYaIdx. iy ld¾h idOkh jeä
maintaining high frame rates and ÈhqKq lsÍï i|yd iydh ùu i|yd
responsiveness in games. uhsfl%dfid*aÜ úiska ks;sm;d DirectX
DirectX API ks¾udKh lr we;af;a CPU hdj;ald,Sk lrhs'
fmdÿ ld¾h wju lsÍug iy GPU iy
wfkl=;a oDVdx. ixrplj, ld¾h
idOkh Wmßu lsÍug" by< rduq wkqmd;
iy l%Svd j, m%;spdr oelaùu by< oeñu
i|yd w;HjYH fõ'
Popular Games Using DirectX DirectX version Games
DirectX Ndú;d lrk ckm%sh l%Svd DirectX
DirectX 9 World of Warcraft
Many popular and critically acclaimed
Half-Life 2
games have been developed using DirectX,
Elder Scrolls IV Oblivion
showcasing its capabilities.
fndfyda ckm%sh iy úfõpkd;aul meiiqug DirectX 10 Crysis
,la jQ l%Svd DirectX Ndú;d lrñka tys BioShock
yelshdjka m%o¾Ykh lrñka ixj¾Okh lr Company of Heroes
we;'
DirectX 11 The Witcher 3
Battlefield 4
Examples
Skyrim
Assassin’s Creed Odyssey
• The Witcher 3 Wild Hunt
Resident Evil 2 (2019)
Utilizes DirectX 11 for its stunning DirectX 12 Forza Horizon 4
visuals and complex environments. Shadow of the Tomb
DirectX 11 tys úYauhckl o¾Yk iy Raider
ixlS¾K mßirhka i|yd Ndú;d lrhs' Gears 5
Far Cry 5
• Battlefield V DirectX Control
Raytracing Cyberpunk 2077
Uses DirectX 12 for enhanced (DXR) Minecraft with RTX
performance and visual effects. Call of Duty: Modern
jeäÈhqKq l< ld¾h idOkh iy oDYH Warfare (2019)
m%fhda. i|yd DirectX 12 Ndú;d lrhs' Final Fantasy XV
• Shadow of the Tomb Raider
• Half- Life 2 (DirectX 9)
Incorporates DirectX 12 for realistic
lighting and shadow effects.
h:d¾:jd§ wdf,dalh iy fijke,s
n,mEï i|yd DirectX 12 we;=<;a fõ'
• Metro Exodus
Leverages DirectX 12 for improved
rendering performance and detailed
graphics.
jeäÈhqKq l< úoeyqïlrK ld¾h idOkh
iy iúia;rd;aul .%e*slaia i|yd DirectX
12 Ndú;d lrhs'
• Bioshock(DirectX 10) How to Fix missing DLL files error when
installing a computer game?
mrs.Kl l%Svdjla ia:dmkh lsÍfï§ ke;sjQ
DLL f.dkq fodaI ksjerÈ lrkafka flfiao?
DirectX-related DLL errors are common in
gaming and multimedia applications.
• Resident Evil 2- 2019 (DirectX 11)
These errors usually indicate that a DirectX
component is missing or corrupted.
DirectX wdY%s; DLL fodaI l%Svd iy nyqudOH
fhÿïj, nyq,j olakg ,efí' fuu fodaI
idudkHfhka fmkakï q lrkafka DirectX
ixrplhla wia:dk.; ù fyda úkdY ù we;s
njhs'
• d3dx9_XX.dll (DirectX 9)
• d3dx10_XX.dll (DirectX 10)
• d3dx11_XX.dll (DirectX 11)
• FarCry 5 (DirectX 12) • d3d12.dll (DirectX 12)
We can solve this error by installing DirectX
Runtime installer from the official Microsoft
DirectX download page.
ks, Microsoft DirectX nd.ekSï msgqfjka
DirectX Runtime installer ia:dmkh lsÍfuka
wmg fuu fodaIh úi|d.; yel'
• Call of Duty Modern Warfare 2019
(DirectX 12 Raytracing - DXR)
Unless you have to manually download
required DLL files from web and copy them
to the game file directory.
tfia fkdue;s kï" Tng wjYH DLL f.dkq
wka;¾cd,h ;=<ska nd.; lr tAjd l%Svd f.dkq
kdudj,shg msgm;a l< hq;=h'
Comparison between DirectX version
DirectX ixialrK w;r ixikaokh
DirectX 9 DirectX 10 DirectX 11 DirectX 12
Release Year 2002 2006 2009 2015
ksl=;a jQ j¾Ih
Shader Model 3 4 5 5.1
fIav¾ wdlD;sh
Hardware Older GPUs Requires DirectX Requires DirectX Requires DirectX
Support mer‚ GPU 10 compatible 11 compatible 12 compatible
oDVdx. iydh GPU GPU GPU
DirectX 10 DirectX 11 DirectX 12
.e<fmk GPU .e<fmk GPU .e<fmk GPU
wjYHhs wjYHhs wjYHhs
Performance Lower Moderate Higher Highest
ld¾h idOkh my;a uOHia: by< by<u
API Complexity Simpler More complex More complex Most complex
API ixlS¾K;ajh jvd ir,hs jvd;a ixlS¾K jvd;a ixlS¾K jvd;au ixlS¾K
Typical Use Older games, Enhanced Modern gaming High-
Cases legacy graphics for mid- with advanced performance
idudkH Ndú; applications 2000s games graphics gaming, modern
wjia:d mer‚ l%Svd" 2000 .Kkaj, Wiia .%e*slaia engines
legacy fhÿï ueo l%Svd i|yd iys; kùk l%Svd by<
jeäÈhqKq l< ld¾hidOkhla
.%e*slaia iys; l%svd" kùk
tkaðka
Performance Baseline Improved Advanced Significant
Improvements uQ,sl f¾Ldj graphics quality, features, better performance
ld¾h idOkh better multithreading gains, explicit
jeäÈhqKq lsÍï performance Wiia úfYaIdx." control
jeäÈhqKq l< jvd;a fyd| nyq ie<lsh hq;= ld¾h
.%e*sla wkql%shdhk idOk ch.%yK"
.=Kd;aulNdjh" meyeÈ,s md,kh
jvd fyd| ld¾h
idOkh