| FDeferredCleanupInterface
|
Module |
|
Header |
/Engine/Source/Runtime/Renderer/Public/PrimitiveSceneInfo.h |
Include |
#include "PrimitiveSceneInfo.h" |
class FPrimitiveSceneInfo : public FDeferredCleanupInterface
The renderer's internal state for a single UPrimitiveComponent. This has a one to one mapping with FPrimitiveSceneProxy, which is in the engine module.
Name | Description | ||
---|---|---|---|
|
uint32: 1 |
bNeedsCachedReflectionCaptureUpdate |
Whether the primitive is newly registered or moved and CachedReflectionCaptureProxy needs to be updated on the next render. |
|
bool: 1 |
bShouldRenderInMainPass |
Set to true for the primitive to be rendered in the main pass to be visible in a view. |
|
bool: 1 |
bVisibleInRealTimeSkyCapture |
Set to true for the primitive to be rendered into the real-time sky light reflection capture. |
|
const FPlanarRe... |
CachedPlanarReflectionProxy |
Planar reflection that was closest to this primitive, used for forward reflections. |
|
const FReflecti... |
CachedReflectionCaptureProxies |
|
|
const FReflecti... |
CachedReflectionCaptureProxy |
Reflection capture proxy that was closest to this primitive, used for the forward shading rendering path. |
|
DefaultDynamicHitProxy |
The hit proxy which is used to represent the primitive's dynamic elements. |
|
|
DefaultDynamicHitProxyId |
The ID of the hit proxy which is used to represent the primitive's dynamic elements. |
|
|
DistanceFieldInstanceIndices |
Mapping from instance index in this primitive to index in the global distance field object buffers. |
|
|
HitProxies |
The hit proxies used by the primitive. |
|
|
const FIndirect... |
IndirectLightingCacheAllocation |
Caches the primitive's indirect lighting cache allocation. |
|
IndirectLightingCacheUniformBuffer |
The uniform buffer holding precomputed lighting parameters for the indirect lighting cache allocation. |
|
|
float |
LastRenderTime |
Last render time in seconds since level started play. |
|
LightingAttachmentRoot |
The root attachment component id for use with lighting, if valid. |
|
|
FLightPrimitive... |
LightList |
The list of lights affecting this primitive. |
|
LODParentComponentId |
The component id of the LOD parent if valid. |
|
|
NumMobileMovablePointLights |
The number of movable point lights for mobile |
|
|
OctreeId |
The identifier for the primitive in Scene->PrimitiveOctree. |
|
|
float * |
OwnerLastRenderTime |
Pointer to the last render time variable on the primitive's owning actor (if owned), which is written to by the RT and read by the GT. |
|
PrimitiveComponentId |
Id for the component this primitive belongs to. |
|
|
Proxy |
The render proxy for the primitive. |
|
|
FScene * |
Scene |
The scene the primitive is in. |
|
StaticMeshCommandInfos |
The primitive's cached mesh draw commands infos for all static meshes. |
|
|
TArray< class F... |
StaticMeshes |
The primitive's static meshes. |
|
TArray< class F... |
StaticMeshRelevances |
The primitive's static mesh relevances. |
Name | Description | |
---|---|---|
|
FPrimitiveSceneInfo ( |
Initialization constructor. |
Name | Description | |
---|---|---|
|
~FPrimitiveSceneInfo() |
Destructor. |
Name | Description | ||
---|---|---|---|
|
AddStaticMeshes ( |
Adds the primitive's static meshes to the scene. |
|
|
AddToScene ( |
Adds the primitive to the scene. |
|
|
ApplyWorldOffset ( |
Shifts primitive position and all relevant data by an arbitrary delta. |
|
|
BeginDeferredUpdateStaticMeshes() |
Sets a flag to update the primitive's static meshes before it is next rendered. |
|
|
BeginDeferredUpdateStaticMeshesWithoutVisibilityCheck() |
Will update static meshes during next InitViews, even if it's not visible. |
|
|
CacheReflectionCaptures() |
Cache per-primitive reflection captures used for mobile/forward rendering. |
|
|
ConditionalUpdateUniformBuffer ( |
Updates the primitive's uniform buffer. |
|
|
FlushRuntimeVirtualTexture() |
Mark the runtime virtual textures covered by this primitive as dirty. |
|
|
GatherLightingAttachmentGroupPrimitives ( |
Builds an array of all primitive scene info's in this primitive's attachment group. |
|
|
GatherLightingAttachmentGroupPrimitives ( |
Builds an array of all primitive scene info's in this primitive's attachment group. |
|
|
FBoxSphereBo... |
GetAttachmentGroupBounds() |
Builds a cumulative bounding box of this primitive and all the primitives in the same attachment group. |
|
GetIndex() |
Retrieves the index of the primitive in the scene's primitives array. |
|
|
const int32 ... |
GetIndexAddress() |
Retrieves the address of the primitives index into in the scene's primitives array. |
|
GetLightmapDataOffset() |
||
|
GetMemoryFootprint() |
Size this class uses in bytes |
|
|
const FMeshB... |
GetMeshBatch ( |
Will output the FMeshBatch associated with the specified LODIndex. |
|
GetNumLightmapDataEntries() |
||
|
FPrimitiveVi... |
GetRuntimeVirtualTextureFlags() |
Get the cached runtime virtual texture flags for this primitive. |
|
GetStaticMeshesLODRange |
Will output the LOD ranges of the static meshes used with this primitive. |
|
|
IsIndexValid() |
Simple comparison against the invalid values used before/after scene add/remove. |
|
|
LinkAttachmentGroup() |
Adds the primitive to the scene's attachment groups. |
|
|
LinkLODParentComponent() |
Set LOD Parent primitive information to the scene. |
|
|
MarkIndirectLightingCacheBufferDirty() |
||
|
NeedsIndirectLightingCacheBufferUpdate() |
Return true if we need to call LazyUpdateForRendering |
|
|
NeedsReflectionCaptureUpdate() |
Returns whether the primitive needs to call CacheReflectionCaptures. |
|
|
NeedsUniformBufferUpdate() |
Return true if we need to call LazyUpdateForRendering |
|
|
NeedsUpdateStaticMeshes() |
Return true if we need to call ConditionalUpdateStaticMeshes |
|
|
RemoveCachedReflectionCaptures() |
Nulls out the cached per-primitive reflection captures. |
|
|
RemoveFromScene ( |
Removes the primitive from the scene. |
|
|
RemoveStaticMeshes() |
Removes the primitive's static meshes from the scene. |
|
|
SetNeedsUniformBufferUpdate ( |
||
|
UnlinkAttachmentGroup() |
Removes the primitive from the scene's attachment groups. |
|
|
UnlinkLODParentComponent() |
Clear LOD parent primitive information from the scene. |
|
|
UpdateComponentLastRenderTime ( |
Helper function for writing out to the last render times to the game thread |
|
|
UpdateIndirectLightingCacheBuffer() |
||
|
UpdateRuntimeVirtualTextureFlags() |
Update the cached runtime virtual texture flags for this primitive. |
|
|
UpdateStaticLightingBuffer() |
Updates static lighting uniform buffer, returns the number of entries needed for GPUScene |
|
|
UpdateStaticMeshes ( |
Updates the primitive's static meshes in the scene. |
|
|
UpdateUniformBuffer ( |
Updates the primitive's uniform buffer. |
Name |
Description |
---|---|
MaxCachedReflectionCaptureProxies |