![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ScenePrivate.h>
Inheritance diagram for FReflectionEnvironmentCubemapArray:Protected Member Functions | |
| void | ReleaseCubeArray () |
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 | |
| uint32 | MaxCubemaps |
| int32 | CubemapSize |
| TRefCountPtr< IPooledRenderTarget > | ReflectionEnvs |
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) |
Public Attributes inherited from FRenderResource | |
| ERenderResourceState | ResourceState = ERenderResourceState::Default |
Static Protected Member Functions inherited from FRenderResource | |
| static RENDERCORE_API FRHICommandListBase & | GetImmediateCommandList () |
Rendering resource class that manages a cubemap array for reflections.
|
inline |
|
inline |
|
inline |
|
inline |
|
overridevirtual |
Initializes the RHI resources used by this resource. Called when entering the state where both the resource and the RHI have been initialized. This is only called by the rendering thread.
Reimplemented from FRenderResource.
|
inline |
|
protected |
|
overridevirtual |
Releases the RHI resources used by this resource. Called when leaving the state where both the resource and the RHI have been initialized. This is only called by the rendering thread.
Reimplemented from FRenderResource.
| void FReflectionEnvironmentCubemapArray::Reset | ( | ) |
| void FReflectionEnvironmentCubemapArray::ResizeCubemapArrayGPU | ( | uint32 | InMaxCubemaps, |
| int32 | CubemapSize, | ||
| const TArray< int32 > & | IndexRemapping | ||
| ) |
Updates the maximum number of cubemaps that this array is allocated for. This reallocates the resource and copies over the old contents, preserving indices
| void FReflectionEnvironmentCubemapArray::UpdateMaxCubemaps | ( | uint32 | InMaxCubemaps, |
| int32 | CubemapSize | ||
| ) |
Updates the maximum number of cubemaps that this array is allocated for. This reallocates the resource but does not copy over the old contents.
|
protected |
|
protected |
|
protected |