![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <Texture2DArrayResource.h>
Inheritance diagram for FTexture2DArrayResource:Protected Member Functions | |
| void | CreateTexture (FRHICommandListBase &RHICmdList) final override |
| void | CreatePartiallyResidentTexture (FRHICommandListBase &RHICmdList) final override |
| void | GetData (int32 BaseRHIMipSizeX, int32 BaseRHIMipSizeY, uint32 ArrayIndex, uint32 MipIndex, void *Dest, uint32 DestPitch) const |
Protected Member Functions inherited from FRenderResource | |
| void | SetFeatureLevel (const FStaticFeatureLevel InFeatureLevel) |
| const FStaticFeatureLevel | GetFeatureLevel () const |
| bool | HasValidFeatureLevel () const |
| template<typename T > | |
| FBufferRHIRef | CreateRHIBuffer (FRHICommandListBase &RHICmdList, T &InOutResourceObject, uint32 ResourceCount, EBufferUsageFlags InBufferUsageFlags, const TCHAR *InDebugName) |
| void | SetInitPhase (EInitPhase InInitPhase) |
Protected Attributes | |
| const FTexture2DArrayResource *const | ProxiedResource = nullptr |
| TArray< FUniqueBuffer, TInlineAllocator< MAX_TEXTURE_MIP_COUNT > > | AllMipsData |
Protected Attributes inherited from FStreamableTextureResource | |
| const FTexturePlatformData * | PlatformData |
| FStreamableRenderResourceState | State |
| TEnumAsByte< ESamplerFilter > | Filter = SF_Point |
| TEnumAsByte< ESamplerAddressMode > | AddressU = AM_Wrap |
| TEnumAsByte< ESamplerAddressMode > | AddressV = AM_Wrap |
| TEnumAsByte< ESamplerAddressMode > | AddressW = AM_Wrap |
| float | MipBias = 0 |
| uint32 | SizeX = 0 |
| uint32 | SizeY = 0 |
| uint32 | SizeZ = 0 |
| FName | TextureName |
| EMipFadeSettings | MipFadeSetting = MipFade_Normal |
| TextureGroup | LODGroup = TEXTUREGROUP_World |
| EPixelFormat | PixelFormat = PF_Unknown |
| ETextureCreateFlags | CreationFlags = TexCreate_None |
| bool | bUsePartiallyResidentMips = false |
| int8 | MaxAniso = 0 |
Protected Attributes inherited from FTextureResource | |
| FTextureReferenceRHIRef | TextureReferenceRHI |
Represents a 2D Texture Array to the renderer.
| FTexture2DArrayResource::FTexture2DArrayResource | ( | UTexture2DArray * | InOwner, |
| const FStreamableRenderResourceState & | InState | ||
| ) |
| FTexture2DArrayResource::FTexture2DArrayResource | ( | UTexture2DArray * | InOwner, |
| const FTexture2DArrayResource * | InProxiedResource | ||
| ) |
Make this Texture2DArrayResource Proxy another one.
| InOwner | UTexture2DArray which this FTexture2DArrayResource represents. |
| InProxiedResource | The resource to proxy. |
|
finaloverrideprotectedvirtual |
Implements FStreamableTextureResource.
|
finaloverrideprotectedvirtual |
Implements FStreamableTextureResource.
|
protected |
Returns the platform mip size for the given mip count.
Implements FStreamableTextureResource.
|
inlinevirtual |
Reimplemented from FTextureResource.
|
inlinevirtual |
Reimplemented from FTextureResource.
|
overridevirtual |
Initializes the RHI resources used by this resource. Called when entering the state where both the resource and the RHI have been initialized. This is only called by the rendering thread.
Reimplemented from FStreamableTextureResource.
Returns true if the resource is proxying another one.
Reimplemented from FTextureResource.
|
protected |
|
protected |
Another resource being proxied by this one.