![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
Go to the source code of this file.
Classes | |
| class | FD3D12Texture |
| struct | TD3D12ResourceTraits< FRHITexture > |
Namespaces | |
| namespace | FD3D12TextureStats |
| namespace | UE |
| namespace | UE::D3D12RHI |
| namespace | UE::D3D12RHI::TextureUtils |
Macros | |
| #define | GUARDED_TEXTURE_CREATES (PLATFORM_WINDOWS && !(UE_BUILD_SHIPPING || UE_BUILD_TEST || PLATFORM_COMPILER_CLANG)) |
| #define GUARDED_TEXTURE_CREATES (PLATFORM_WINDOWS && !(UE_BUILD_SHIPPING || UE_BUILD_TEST || PLATFORM_COMPILER_CLANG)) |
If true, guard texture creates with SEH to log more information about a driver crash we are seeing during texture streaming.
| FORCEINLINE FD3D12Texture * GetD3D12TextureFromRHITexture | ( | FRHITexture * | Texture | ) |
Given a pointer to a RHI texture that was created by the D3D12 RHI, returns a pointer to the FD3D12Texture it encapsulates.
| FORCEINLINE FD3D12Texture * GetD3D12TextureFromRHITexture | ( | FRHITexture * | Texture, |
| uint32 | GPUIndex | ||
| ) |
| void SafeCreateTexture2D | ( | FD3D12Device * | pDevice, |
| FD3D12Adapter * | Adapter, | ||
| const FD3D12ResourceDesc & | TextureDesc, | ||
| const D3D12_CLEAR_VALUE * | ClearValue, | ||
| FD3D12ResourceLocation * | OutTexture2D, | ||
| FD3D12BaseShaderResource * | Owner, | ||
| EPixelFormat | Format, | ||
| ETextureCreateFlags | Flags, | ||
| ED3D12Access | InInitialD3D12Access, | ||
| ED3D12Access | InDefaultD3D12Access, | ||
| const TCHAR * | Name | ||
| ) |
Creates a 2D texture optionally guarded by a structured exception handler.