Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine > UTexture
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Engine/Texture.h |
Include | #include "Engine/Texture.h" |
Source | /Engine/Source/Runtime/Engine/Private/Texture.cpp |
FStreamableRenderResourceState GetResourcePostInitState
(
const FTexturePlatformData * PlatformData,
bool bAllowStreaming,
int32 MinRequestMipCount,
int32 MaxMipCount,
bool bSkipCanBeLoaded
) const
Remarks
Calculates the render resource initial state, expected to be used in InitResource() for derived classes implementing streaming. The state to be passed to FStreamableTextureResource.
Parameters
Name | Description |
---|---|
PlatformData | the asset platform data. |
bAllowStreaming | where streaming is allowed, might still be disabled based on asset settings. |
MaxMipCount | optional limitation on the max mip count. |