Navigation
API > API/Runtime > API/Runtime/Engine
Information about a streaming texture/mesh that a primitive uses for rendering.
| Name | FStreamingRenderAssetPrimitiveInfo |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/TextureStreamingTypes.h |
| Include Path | #include "Engine/TextureStreamingTypes.h" |
Syntax
USTRUCT ()
struct FStreamingRenderAssetPrimitiveInfo
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Engine/TextureStreamingTypes.h | |||
FStreamingRenderAssetPrimitiveInfo
(
UStreamableRenderAsset* InAsset, |
Engine/TextureStreamingTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bAffectedByComponentScale | uint32 | Mesh texel factors aren't uv density and shouldn't be affected by component scales | Engine/TextureStreamingTypes.h |
|
| bAllowInvalidTexelFactorWhenUnregistered | uint32 | For mesh components, texel factors are their sphere bound diameters that are 0 when unregistered | Engine/TextureStreamingTypes.h |
|
| Bounds | FBoxSphereBounds | The streaming bounds of the texture/mesh, usually the component material bounds. | Engine/TextureStreamingTypes.h | |
| PackedRelativeBox | uint32 | When non zero, this represents the relative box used to compute Bounds, using the component bounds as reference. | Engine/TextureStreamingTypes.h | |
| RenderAsset | TObjectPtr< UStreamableRenderAsset > | Engine/TextureStreamingTypes.h | ||
| TexelFactor | float | Engine/TextureStreamingTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool CanBeStreamedByDistance
(
bool bOwningCompRegistered |
Engine/TextureStreamingTypes.h |