![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "D3D11RHIPrivate.h"#include "Windows/AllowWindowsPlatformTypes.h"#include "Windows/HideWindowsPlatformTypes.h"#include "HAL/LowLevelMemStats.h"#include "HAL/LowLevelMemTracker.h"#include "ProfilingDebugging/MemoryTrace.h"#include "ProfilingDebugging/AssetMetadataTrace.h"#include "RHICoreStats.h"#include "RHICoreTexture.h"#include "RHIUtilities.h"#include "RHICoreTextureInitializer.h"#include "RHITextureUtils.h"Macros | |
| #define | GUARDED_TEXTURE_CREATES (!(UE_BUILD_SHIPPING || UE_BUILD_TEST || PLATFORM_COMPILER_CLANG)) |
Enumerations | |
| enum class | ED3D11TextureCreateViewFlags { None = 0 , SRV = 1 << 0 , RTV = 1 << 1 , DSV = 1 << 2 } |
Functions | |
| void | UpdateD3D11TextureStats (FD3D11Texture &Texture, bool bAllocating) |
| void | ApplyBC7SoftwareAdapterWorkaround (bool bSoftwareAdapter, D3D11_TEXTURE2D_DESC &Desc) |
| uint32 | GetMaxMSAAQuality (uint32 SampleCount) |
| ENUM_CLASS_FLAGS (ED3D11TextureCreateViewFlags) | |
| TRefCountPtr< ID3D11RenderTargetView > | CreateRTV (FD3D11Device *Direct3DDevice, ID3D11Resource *Resource, const FRHITextureDesc &TextureDesc, DXGI_FORMAT PlatformResourceFormat, uint32 MipIndex, uint32 SliceIndex, uint32 SliceCount) |
| TRefCountPtr< ID3D11ShaderResourceView > | CreateSRV (FD3D11Device *Direct3DDevice, ID3D11Resource *Resource, const FRHITextureDesc &TextureDesc, DXGI_FORMAT PlatformResourceFormat) |
| #define GUARDED_TEXTURE_CREATES (!(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.
|
strong |
| void ApplyBC7SoftwareAdapterWorkaround | ( | bool | bSoftwareAdapter, |
| D3D11_TEXTURE2D_DESC & | Desc | ||
| ) |
| TRefCountPtr< ID3D11RenderTargetView > CreateRTV | ( | FD3D11Device * | Direct3DDevice, |
| ID3D11Resource * | Resource, | ||
| const FRHITextureDesc & | TextureDesc, | ||
| DXGI_FORMAT | PlatformResourceFormat, | ||
| uint32 | MipIndex, | ||
| uint32 | SliceIndex, | ||
| uint32 | SliceCount | ||
| ) |
| TRefCountPtr< ID3D11ShaderResourceView > CreateSRV | ( | FD3D11Device * | Direct3DDevice, |
| ID3D11Resource * | Resource, | ||
| const FRHITextureDesc & | TextureDesc, | ||
| DXGI_FORMAT | PlatformResourceFormat | ||
| ) |
| ENUM_CLASS_FLAGS | ( | ED3D11TextureCreateViewFlags | ) |
| void UpdateD3D11TextureStats | ( | FD3D11Texture & | Texture, |
| bool | bAllocating | ||
| ) |