Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Rendering
Inheritance Hierarchy
- FRenderResource
- FTexture
- FTextureResource
- FStreamableTextureResource
- FTexture2DResource
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Rendering/StreamableTextureResource.h |
| Include | #include "Rendering/StreamableTextureResource.h" |
Syntax
class FStreamableTextureResource : public FTextureResource
Remarks
The rendering resource streamable texture.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TEnumAsByte< ESamplerAddressMode > | AddressU | ||
| TEnumAsByte< ESamplerAddressMode > | AddressV | ||
| TEnumAsByte< ESamplerAddressMode > | AddressW | ||
| bool | bUsePartiallyResidentMips | Whether this texture should be updated using the virtual address mapping for each mip. | |
| ETextureCreateFlags | CreationFlags | Creation flags of the texture | |
| TEnumAsByte< ESamplerFilter > | Filter | Sample config | |
| TextureGroup | LODGroup | The asset LOD group | |
| int8 | MaxAniso | Max anisotropy. if 0, will use r.MaxAnisotropy | |
| float | MipBias | ||
| EMipFadeSettings | MipFadeSetting | Mip fade settings | |
| EPixelFormat | PixelFormat | Format of the texture | |
| const FTexturePlatformData * | PlatformData | Platform data should be ref counted eventually to remove any synchronization needed when the asset is rebuild. | |
| uint32 | SizeX | The width this resource, when all mips are streamed in. | |
| uint32 | SizeY | The height when all mips are streamed in. | |
| uint32 | SizeZ | The 3d depth for volume texture or num slices for 2d array when all mips are streamed in. | |
| FStreamableRenderResourceState | State | Different states for streaming synchronization. | |
| FName | TextureName | The FName of the texture asset |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FStreamableTextureResource
(
UTexture* InOwner, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void | |||
| void | FinalizeStreaming
(
FRHITexture* InTextureRHI |
||
| ETextureCreateFlags | Return the texture creation flags, does not include TexCreate_Virtual as it could change per mip. Use IsTextureRHIPartiallyResident() instead. | ||
| int32 | Get the current first mip index, of this renderthread resource. Non streaming asset always return 0. | ||
| uint32 | GetExtData () |
||
| TextureGroup | GetLODGroup () |
||
| EPixelFormat | |||
| const FTexture2DMipMap * | GetPlatformMip
(
int32 MipIdx |
Return the platform data mips, zero based on the resource mip count and not to the asset mip count. | |
| uint64 | GetPlatformMipsSize
(
uint32 NumMips |
Returns the platform mip size for the given mip count. | |
| TArrayView< const FTexture2DMipMap * > | Return the platform data mips, zero based on the resource mip count and not to the asset mip count. | ||
| FStreamableRenderResourceState | Get the state it will be in after InitRHI() gets called. Used to synchronize UStreamableRenderResource.CacheStreamableResourceState in CreateResource(). | ||
| FStreamableRenderResourceState | GetState () |
This is only coherent sync on the rendering thread. To get the gamethread coherent value, use UStreamableRenderResource.CacheStreamableResourceState. | |
| const FName & | |||
| void | Returns the default mip map bias for this texture. |
Overridden from FTextureResource
| Type | Name | Description | |
|---|---|---|---|
| FStreamableTextureResource * | Dynamic cast methods. | ||
| const FStreamableTextureResource * | Dynamic cast methods (const). |
Overridden from FTexture
| Type | Name | Description | |
|---|---|---|---|
| uint32 | GetSizeX () |
Returns the width of the texture in pixels. | |
| uint32 | GetSizeY () |
Returns the height of the texture in pixels. | |
| uint32 | GetSizeZ () |
Depth for 3D texture or ArraySize for texture 2d arrays. |
Overridden from FRenderResource
| Type | Name | Description | |
|---|---|---|---|
| void | InitRHI
(
FRHICommandListBase& RHICmdList |
Initializes the RHI resources used by this resource. | |
| void | ReleaseRHI () |
Releases the RHI resources used by this resource. |