Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UPrimitiveComponent
Description
Setup the parameter struct used to precache the PSOs used by this component. Precaching uses certain component attributes to derive the shader or state used to render the component such as static lighting, cast shadows, ...
| Name | SetupPrecachePSOParams |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h |
| Include Path | #include "Components/PrimitiveComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/PrimitiveComponent.cpp |
virtual void SetupPrecachePSOParams
(
FPSOPrecacheParams & Params
)