![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <VectorField.h>
Inheritance diagram for FVectorFieldResource:Public Attributes | |
| FTextureRHIRef | VolumeTextureRHI |
| int32 | SizeX |
| int32 | SizeY |
| int32 | SizeZ |
| float | Intensity |
| FBox | LocalBounds |
Public Attributes inherited from FRenderResource | |
| ERenderResourceState | ResourceState = ERenderResourceState::Default |
Protected Member Functions | |
| virtual | ~FVectorFieldResource () |
Protected Member Functions inherited from FRenderResource | |
| void | SetFeatureLevel (const FStaticFeatureLevel InFeatureLevel) |
| const FStaticFeatureLevel | GetFeatureLevel () const |
| bool | HasValidFeatureLevel () const |
| template<typename T > | |
| FBufferRHIRef | CreateRHIBuffer (FRHICommandListBase &RHICmdList, T &InOutResourceObject, uint32 ResourceCount, EBufferUsageFlags InBufferUsageFlags, const TCHAR *InDebugName) |
| void | SetInitPhase (EInitPhase InInitPhase) |
Protected Attributes | |
| FThreadSafeCounter | NumRefs |
Additional Inherited Members | |
Public Types inherited from FRenderResource | |
| enum class | EInitPhase : uint8 { Pre , Default , MAX } |
Static Public Member Functions inherited from FRenderResource | |
| static RENDERCORE_API void | ReleaseRHIForAllResources () |
| static RENDERCORE_API void | InitPreRHIResources () |
| static RENDERCORE_API void | ChangeFeatureLevel (ERHIFeatureLevel::Type NewFeatureLevel) |
| static RENDERCORE_API FName | SetScopeName (FName Name) |
Static Protected Member Functions inherited from FRenderResource | |
| static RENDERCORE_API FRHICommandListBase & | GetImmediateCommandList () |
Vector field resource.
| FVectorFieldResource::FVectorFieldResource | ( | ) |
Default constructor.
|
protectedvirtual |
|
inline |
Ref couting
|
inline |
|
overridevirtual |
Release RHI resources.
Reimplemented from FRenderResource.
Reimplemented in FVectorFieldAnimatedResource.
Resets the vector field simulation.
Reimplemented in FVectorFieldAnimatedResource.
|
inlinevirtual |
Updates the vector field.
| DeltaSeconds | - Elapsed time since the last update. |
Reimplemented in FVectorFieldAnimatedResource.
| float FVectorFieldResource::Intensity |
The amount by which to scale vectors in the field.
| FBox FVectorFieldResource::LocalBounds |
Local space bounds of the vector field.
|
mutableprotected |
Ref couting. Required becauce of how resources are shared between FVectorFieldInstance and UVectorField...
| int32 FVectorFieldResource::SizeX |
Size of the vector field (X).
| int32 FVectorFieldResource::SizeY |
Size of the vector field (Y).
| int32 FVectorFieldResource::SizeZ |
Size of the vector field (Z).
| FTextureRHIRef FVectorFieldResource::VolumeTextureRHI |
The volume texture containing the vector field.