Game Engine Programming 034.1 - A texture class for the Direct3D 12 render engine | C++ Game Engine

Published June 28, 2023
Advertisement

Today, I'm going to write a class that represents a texture resource in the low-level render engine. We can use this class to read form texture data while rendering objects. In addition, we can also use it to create textures that can be written to by the graphics pipeline. For example, we can use it to create render targets and depth/stencil textures which we're going to write in the next video. ?(Red Episode) ✅ Support Game Engine Series https://patreon.com/gameengineseries ✅ Discord https://discord.gg/75ZmXwz ? Mr. Frummel https://instagram.com/mr.frummel ❤️Big thanks to Shaman patrons: Eearslya Sleiarion, Michael McMahon, Neil Wang, Oleg Shulzhenko, Shaun Mitchell, Zachary Shrout, mg, Loukit Khemka 00:00 - intro 00:52 - bug fixes 07:52 - d3d12 texture class 12:00 - release function 12:28 - constructor , creating shader resource view 15:47 - direct3d 12 resource creation functions 16:42 - create committed resource 21:32 - create placed resource 23:10 - add d3d12 helpers header keywords: texture, d3d12, directx, direct3d, id3d12resource by Arash Khatami ------------------------------------------------------------- #PrimalEngine #GameEngineSeries #GameEngineProgramming #TheGameEngineProgrammingSeries

1 likes 2 comments

Comments

Choo Wagga Choo Choo

I see what you did there ?

This is currently my favorite series following along up to ep012 so far.
WPF is brand new to me and DX12 will be fun to finally touch.
I'm planning to back track here after interface styling for personal review and make sure I'm solid up to this point.

Discord is a hard no but it's nice to see you out here in the wild.
Tell Eearslya, MarkK says hi from the void.

June 29, 2023 11:35 AM
GameEngineSeries

@Choo Wagga Choo Choo Hey, thanks! Happy to hear this. Back-tracking and making sure you understand the code is a great idea and will help you a lot later when things get more complicated.
Not sure why Discord is a no-no for you, but I'm also on twitter if you'd like to reach out @primalnippleman ?
Will say hi to those guys for you! See ya!

June 29, 2023 06:39 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement