UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FRenderAssetInstanceView Class Reference

#include <TextureInstanceView.h>

+ Inheritance diagram for FRenderAssetInstanceView:

Classes

struct  FCompiledElement
 
struct  FElement
 
struct  FRenderAssetDesc
 
class  FRenderAssetIterator
 
class  FRenderAssetLinkConstIterator
 
class  FRenderAssetLinkIterator
 

Public Member Functions

 FRenderAssetInstanceView ()
 
FORCEINLINE int32 NumBounds4 () const
 
FORCEINLINE const FBounds4GetBounds4 (int32 Bounds4Index) const
 
FORCEINLINE TConstArrayView< FBounds4GetBoundsView () const
 
FORCEINLINE FRenderAssetLinkIterator GetElementIterator (const UStreamableRenderAsset *InTexture)
 
FORCEINLINE FRenderAssetLinkConstIterator GetElementIterator (const UStreamableRenderAsset *InTexture) const
 
FORCEINLINE FRenderAssetIterator GetRenderAssetIterator () const
 
bool HasCompiledElements () const
 
const TArray< FCompiledElement > * GetCompiledElements (const UStreamableRenderAsset *Asset) const
 
bool HasComponentWithForcedLOD (const UStreamableRenderAsset *Asset) const
 
bool HasAnyComponentWithForcedLOD () const
 
float GetMaxTexelFactor () const
 
- Public Member Functions inherited from FRefCountedObject
 FRefCountedObject ()
 
virtual ~FRefCountedObject ()
 
 FRefCountedObject (const FRefCountedObject &Rhs)=delete
 
FRefCountedObjectoperator= (const FRefCountedObject &Rhs)=delete
 
FReturnedRefCountValue AddRef () const
 
uint32 Release () const
 
uint32 GetRefCount () const
 

Static Public Member Functions

static TRefCountPtr< const FRenderAssetInstanceViewCreateView (const FRenderAssetInstanceView *RefView)
 
static TRefCountPtr< FRenderAssetInstanceViewCreateViewWithUninitializedBounds (const FRenderAssetInstanceView *RefView)
 
static void SwapData (FRenderAssetInstanceView *Lfs, FRenderAssetInstanceView *Rhs)
 
static float GetMaxDrawDistSqWithLODParent (const FVector &Origin, const FVector &ParentOrigin, float ParentMinDrawDist, float ParentBoundingSphereRadius)
 
static void GetDistanceAndRange (const UPrimitiveComponent *Component, const FBoxSphereBounds &RenderAssetInstanceBounds, float &MinDistanceSq, float &MinRangeSq, float &MaxRangeSq)
 
static void OutputToLog (const FBoxSphereBounds &Bounds, int32 BoundsIndex, const TArray< FBounds4 > &Bounds4, float TexelFactor, bool bForceLoad, float MaxNormalizedSize, float MaxNormalizedSize_VisibleOnly, const TCHAR *Prefix, const UPrimitiveComponent *Component=nullptr)
 

Protected Attributes

TArray< FBounds4Bounds4
 
TChunkedArray< FElementElements
 
TMap< const UStreamableRenderAsset *, FRenderAssetDescRenderAssetMap
 
TMap< const UStreamableRenderAsset *, TArray< FCompiledElement > > CompiledRenderAssetMap
 
TMap< const UStreamableRenderAsset *, int32CompiledNumForcedLODCompMap
 
float MaxTexelFactor
 

Constructor & Destructor Documentation

◆ FRenderAssetInstanceView()

FRenderAssetInstanceView::FRenderAssetInstanceView ( )
inline

Member Function Documentation

◆ CreateView()

TRefCountPtr< const FRenderAssetInstanceView > FRenderAssetInstanceView::CreateView ( const FRenderAssetInstanceView RefView)
static

◆ CreateViewWithUninitializedBounds()

TRefCountPtr< FRenderAssetInstanceView > FRenderAssetInstanceView::CreateViewWithUninitializedBounds ( const FRenderAssetInstanceView RefView)
static

◆ GetBounds4()

FORCEINLINE const FBounds4 & FRenderAssetInstanceView::GetBounds4 ( int32  Bounds4Index) const
inline

◆ GetBoundsView()

FORCEINLINE TConstArrayView< FBounds4 > FRenderAssetInstanceView::GetBoundsView ( ) const
inline

◆ GetCompiledElements()

const TArray< FCompiledElement > * FRenderAssetInstanceView::GetCompiledElements ( const UStreamableRenderAsset Asset) const
inline

◆ GetDistanceAndRange()

void FRenderAssetInstanceView::GetDistanceAndRange ( const UPrimitiveComponent *  Component,
const FBoxSphereBounds RenderAssetInstanceBounds,
float MinDistanceSq,
float MinRangeSq,
float MaxRangeSq 
)
static

◆ GetElementIterator() [1/2]

FORCEINLINE FRenderAssetLinkIterator FRenderAssetInstanceView::GetElementIterator ( const UStreamableRenderAsset InTexture)
inline

◆ GetElementIterator() [2/2]

FORCEINLINE FRenderAssetLinkConstIterator FRenderAssetInstanceView::GetElementIterator ( const UStreamableRenderAsset InTexture) const
inline

◆ GetMaxDrawDistSqWithLODParent()

float FRenderAssetInstanceView::GetMaxDrawDistSqWithLODParent ( const FVector Origin,
const FVector ParentOrigin,
float  ParentMinDrawDist,
float  ParentBoundingSphereRadius 
)
static

◆ GetMaxTexelFactor()

float FRenderAssetInstanceView::GetMaxTexelFactor ( ) const
inline

◆ GetRenderAssetIterator()

FORCEINLINE FRenderAssetIterator FRenderAssetInstanceView::GetRenderAssetIterator ( ) const
inline

◆ HasAnyComponentWithForcedLOD()

bool FRenderAssetInstanceView::HasAnyComponentWithForcedLOD ( ) const
inline

◆ HasCompiledElements()

bool FRenderAssetInstanceView::HasCompiledElements ( ) const
inline

◆ HasComponentWithForcedLOD()

bool FRenderAssetInstanceView::HasComponentWithForcedLOD ( const UStreamableRenderAsset Asset) const
inline

◆ NumBounds4()

FORCEINLINE int32 FRenderAssetInstanceView::NumBounds4 ( ) const
inline

◆ OutputToLog()

void FRenderAssetInstanceView::OutputToLog ( const FBoxSphereBounds Bounds,
int32  BoundsIndex,
const TArray< FBounds4 > &  Bounds4,
float  TexelFactor,
bool  bForceLoad,
float  MaxNormalizedSize,
float  MaxNormalizedSize_VisibleOnly,
const TCHAR Prefix,
const UPrimitiveComponent *  Component = nullptr 
)
static

◆ SwapData()

void FRenderAssetInstanceView::SwapData ( FRenderAssetInstanceView Lfs,
FRenderAssetInstanceView Rhs 
)
static

Member Data Documentation

◆ Bounds4

TArray<FBounds4> FRenderAssetInstanceView::Bounds4
protected

◆ CompiledNumForcedLODCompMap

TMap<const UStreamableRenderAsset*, int32> FRenderAssetInstanceView::CompiledNumForcedLODCompMap
protected

◆ CompiledRenderAssetMap

TMap<const UStreamableRenderAsset*, TArray<FCompiledElement> > FRenderAssetInstanceView::CompiledRenderAssetMap
protected

◆ Elements

TChunkedArray<FElement> FRenderAssetInstanceView::Elements
protected

◆ MaxTexelFactor

float FRenderAssetInstanceView::MaxTexelFactor
protected

Max texel factor across all elements. Used for early culling

◆ RenderAssetMap

TMap<const UStreamableRenderAsset*, FRenderAssetDesc> FRenderAssetInstanceView::RenderAssetMap
protected

The documentation for this class was generated from the following files: