Choose your operating system:
Windows
macOS
Linux
| FRenderResource
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/Rendering/StreamableTextureResource.h |
Include |
#include "Rendering/StreamableTextureResource.h" |
class FStreamableTextureResource : public FTextureResource
The rendering resource streamable texture.
Name | Description | ||
---|---|---|---|
|
TEnumAsByte< ES... |
AddressU |
|
|
TEnumAsByte< ES... |
AddressV |
|
|
TEnumAsByte< ES... |
AddressW |
|
|
bUsePartiallyResidentMips |
Whether this texture should be updated using the virtual address mapping for each mip. |
|
|
CreationFlags |
Creation flags of the texture |
|
|
TEnumAsByte< ES... |
Filter |
Sample config |
|
LODGroup |
The asset LOD group |
|
|
float |
MipBias |
|
|
MipFadeSetting |
Mip fade settings |
|
|
PixelFormat |
Format of the texture |
|
|
const FTextureP... |
PlatformData |
Platform data should be ref counted eventually to remove any synchronization needed when the asset is rebuild. |
|
SizeX |
The width this resource, when all mips are streamed in. |
|
|
SizeY |
The height when all mips are streamed in. |
|
|
SizeZ |
The 3d depth for volume texture or num slices for 2d array when all mips are streamed in. |
|
|
State |
Different states for streaming synchronization. |
|
|
TextureName |
The FName of the texture asset |
Name | Description | |
---|---|---|
|
FStreamableTextureResource ( |
Name | Description | ||
---|---|---|---|
|
CreatePartiallyResidentTexture() |
||
|
CreateTexture() |
||
|
FinalizeStreaming ( |
||
|
ETextureCrea... |
GetCreationFlags() |
Return the texture creation flags, does not include TexCreate_Virtual as it could change per mip. Use IsTextureRHIPartiallyResident() instead. |
|
GetCurrentFirstMip() |
Get the current first mip index, of this renderthread resource. Non streaming asset always return 0. |
|
|
GetExtData() |
||
|
GetLODGroup() |
||
|
GetPixelFormat() |
||
|
const FTextu... |
GetPlatformMip ( |
Return the platform data mips, zero based on the resource mip count and not to the asset mip count. |
|
GetPlatformMipsSize ( |
Returns the platform mip size for the given mip count. |
|
|
TArrayView< ... |
GetPlatformMipsView() |
Return the platform data mips, zero based on the resource mip count and not to the asset mip count. |
|
FStreamableR... |
GetPostInitState() |
Get the state it will be in after InitRHI() gets called. Used to synchronize UStreamableRenderResource.CacheStreamableResourceState in CreateResource(). |
|
FStreamableR... |
GetState() |
This is only coherent sync on the rendering thread. To get the gamethread coherent value, use UStreamableRenderResource.CacheStreamableResourceState. |
|
const FName ... |
GetTextureName() |
|
|
RefreshSamplerStates() |
Returns the default mip map bias for this texture. |
Name | Description | ||
---|---|---|---|
|
FStreamableT... |
GetStreamableTextureResource() |
Dynamic cast methods. |
|
const FStrea... |
GetStreamableTextureResource() |
Dynamic cast methods (const). |
Name | Description | ||
---|---|---|---|
|
GetSizeX() |
Returns the width of the texture in pixels. |
|
|
GetSizeY() |
Returns the height of the texture in pixels. |
|
|
GetSizeZ() |
Depth for 3D texture or ArraySize for texture 2d arrays. |
Name | Description | ||
---|---|---|---|
|
InitRHI() |
Initializes the RHI resources used by this resource. |
|
|
ReleaseRHI() |
Releases the RHI resources used by this resource. |