I'm new to direct3d programming and I have been building a simple windows application to display 4 images one after other with d3d12. I know a basic understanding of the D3D12 architecture and so far I've created four command allocator (backb buffer size = 4) , a command list, a command queue, descriptor heap, and a fence. I also have loaded my images from file using WIC. I know somehow I have to make image texture data as a resource. While that part is still not clear, I'd like to clarify how I can make texture out of a loaded image in d3d12.
What is the D3D12 equivalent of D3D11 CreateTexture2D?
7.3k views Asked by ngub05 At
1
There are 1 answers
Related Questions in DIRECTX-12
- gl_DrawID equivalent for Directx12 ExecuteIndirect HLSL
- How to fix error DXGI_ERROR_DEVICE_REMOVED from CreateCommandAllocator()?
- Ternary operator with SamplerStates
- How to export symbols in rust binaries
- How can I safely alter a texture from multiple threads? (seems like there is no `InterlockedAdd`)
- How can I use (resource) barriers to sync access to a `RWTexture2D` between different shaders?
- Simultaneous access to the same pixel in a ray generation shader - is it safe?
- D3D12: Can we really not have a 1-dimensional buffer/texture of size > 25000?
- How do I correctly use ClearUnorderedAccessViewFloat?
- Directx12 Executeindirect instance count error
- Why does XMVector3Transform return multiplcation by the transpose?
- Access violation when calling ClearDepthStencilView in DX12
- DX12 one process 2 devices can use the same texture created by one of the devices?
- How to calculate average value by masked value/texture on GPU?
- Loading a cubemap with DirectX12
Related Questions in DIRECT3D12
- Vulkan: What exactly is the limit of 4 bound descriptor sets associated with in the hardware?
- Ternary operator with SamplerStates
- How to implement late latching in DirectX 12?
- Can I append vertexes to a default buffer using UpdateSubresources?
- How to identify and release D3D12/DXGI objects when using windows-rs crate?
- Why is D3D12GetDebugInterface failing with "no such interface supported" using Rust's windows-rs crate?
- Switching D3D12 device in UWP app causes CreateSwapChainForCoreWindow to fail
- Direct3D 12 / PIX - Pixel Shader not getting invoked
- Typed SRV always fetches zero
- IDXGISwapChain::GetCurrentBackBufferIndex returns wrong index
- What is "pass" in computer graphics rendering?
- Question about D3D12 vertex drawing order
- Approach of doubling DirectX12 Resources for the secondary frame
- DX12 Triangle not showing up
- Using the same buffer as input and output for a compute shader
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
The basics of Direct3D 12 texture upload is demonstrated in the
D3D12HelloTexturesample on the DirectX-Graphics-Samples GitHub repro.It uses the
UpdateSubresourceshelper function the D3DX12.h C++ inline only utility header.UPDATE: DirectX Tool Kit for DirectX12 is now available. Take a look at DDSTextureLoader and WICTextureLoader.