Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/Texture.h |
Include |
#include "Engine/Texture.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Texture.cpp |
FStreamableRenderResourceState GetResourcePostInitState
(
FTexturePlatformData * PlatformData,
bool bAllowStreaming,
int32 MinRequestMipCount,
int32 MaxMipCount
) const
Calculates the render resource initial state, expected to be used in InitResource() for derived classes implementing streaming.
The state to be passed to FStreamableTextureResource.
Parameter |
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. |