FStreamingTextureBuildInfo

This struct holds the result of TextureStreaming Build for each component texture, as referred by its used materials.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/TextureStreamingTypes.h

Include

#include "Engine/TextureStreamingTypes.h"

Syntax

struct FStreamingTextureBuildInfo

Remarks

This struct holds the result of TextureStreaming Build for each component texture, as referred by its used materials. It is possible that the entry referred by this data is not actually relevant in a given quality / target. It is also possible that some texture are not referred, and will then fall on fallbacks computation. Because each component holds its precomputed data for each texture, this struct is designed to be as compact as possible.

Variables

Name Description

Public variable

uint32

 

PackedRelativeBox

The relative bounding box for this entry.

Public variable

float

 

TexelFactor

The texel factor for this texture.

Public variable

int32

 

TextureLevelIndex

The level scope identifier of the texture.

Constructors

Name Description

Public function

FStreamingTextureBuildInfo()

Functions

Name Description

Public function Const

uint32

 

ComputeHash()

Returns hash of content.

Public function

void

 

PackFrom

(
    ITextureStreamingContainer* Te...,
    const FBoxSphereBounds& RefBounds,
    const FStreamingRenderAssetPrimitiv...
)

Set this struct to match the unpacked params.