Navigation
API > API/Runtime > API/Runtime/Engine
The rendering resource streamable texture.
| Name | FStreamableTextureResource |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Rendering/StreamableTextureResource.h |
| Include Path | #include "Rendering/StreamableTextureResource.h" |
Syntax
class FStreamableTextureResource : public FTextureResource
Inheritance Hierarchy
- FRenderResource → FTexture → FTextureResource → FStreamableTextureResource
- FTexture → FTextureResource → FStreamableTextureResource
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FStreamableTextureResource
(
UTexture* InOwner, |
Rendering/StreamableTextureResource.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void FinalizeStreaming
(
FRHICommandListBase& RHICmdList, |
Rendering/StreamableTextureResource.h | ||
void FinalizeStreaming
(
FRHITexture* InTextureRHI |
Rendering/StreamableTextureResource.h | ||
ETextureCreateFlags GetCreationFlags() |
Return the texture creation flags, does not include TexCreate_Virtual as it could change per mip. Use IsTextureRHIPartiallyResident() instead. | Rendering/StreamableTextureResource.h | |
int32 GetCurrentFirstMip() |
Get the current first mip index, of this renderthread resource. Non streaming asset always return 0. | Rendering/StreamableTextureResource.h | |
uint32 GetExtData() |
Rendering/StreamableTextureResource.h | ||
TextureGroup GetLODGroup() |
Rendering/StreamableTextureResource.h | ||
EPixelFormat GetPixelFormat() |
Rendering/StreamableTextureResource.h | ||
const FTexture2DMipMap * GetPlatformMip
(
int32 MipIdx |
Rendering/StreamableTextureResource.h | ||
uint64 GetPlatformMipsSize
(
uint32 NumMips |
Returns the platform mip size for the given mip count. | Rendering/StreamableTextureResource.h | |
TArrayView< const FTexture2DMipMap * > GetPlatformMipsView() |
Return the platform data mips, zero based on the resource mip count and not to the asset mip count. | Rendering/StreamableTextureResource.h | |
FStreamableRenderResourceState GetPostInitState() |
Get the state it will be in after InitRHI() gets called. Used to synchronize UStreamableRenderResource.CacheStreamableResourceState in CreateResource(). | Rendering/StreamableTextureResource.h | |
FStreamableRenderResourceState GetState() |
This is only coherent sync on the rendering thread. To get the gamethread coherent value, use UStreamableRenderResource.CacheStreamableResourceState. | Rendering/StreamableTextureResource.h | |
const FName & GetTextureName() |
Rendering/StreamableTextureResource.h | ||
void RefreshSamplerStates() |
Returns the default mip map bias for this texture. | Rendering/StreamableTextureResource.h |
Overridden from FTextureResource
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FStreamableTextureResource * GetStreamableTextureResource () |
Dynamic cast methods. | Rendering/StreamableTextureResource.h | |
virtual const FStreamableTextureResource * GetStreamableTextureResource () |
Dynamic cast methods (const). | Rendering/StreamableTextureResource.h |
Overridden from FTexture
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual uint32 GetSizeX() |
Rendering/StreamableTextureResource.h | ||
virtual uint32 GetSizeY() |
Rendering/StreamableTextureResource.h | ||
virtual uint32 GetSizeZ() |
Depth for 3D texture or ArraySize for texture 2d arrays. | Rendering/StreamableTextureResource.h |
Overridden from FRenderResource
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void InitRHI
(
FRHICommandListBase& RHICmdList |
Rendering/StreamableTextureResource.h | ||
virtual void ReleaseRHI() |
Rendering/StreamableTextureResource.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CreatePartiallyResidentTexture
(
FRHICommandListBase& RHICmdList |
Rendering/StreamableTextureResource.h | ||
void CreateTexture
(
FRHICommandListBase& RHICmdList |
Rendering/StreamableTextureResource.h |