Navigation
API > API/Runtime > API/Runtime/RenderCore
Inheritance Hierarchy
- IModuleInterface
- IRendererModule
References
| Module | RenderCore |
| Header | /Engine/Source/Runtime/RenderCore/Public/RendererInterface.h |
| Include | #include "RendererInterface.h" |
Syntax
class IRendererModule : public IModuleInterface
Remarks
The public interface of the renderer module.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddMeshBatchToGPUScene
(
FGPUScenePrimitiveCollector* Collector, |
||
| void | AddVirtualTextureProducerDestroyedCallback
(
const FVirtualTextureProducerHandle& Handle, |
||
| IAdaptiveVirtualTexture * | AllocateAdaptiveVirtualTexture
(
FRHICommandListBase& RHICmdList, |
||
| IAdaptiveVirtualTexture * | AllocateAdaptiveVirtualTexture
(
const FAdaptiveVTDescription& AdaptiveVTDesc, |
||
| FSceneInterface * | AllocateScene
(
UWorld* World, |
Allocates a new instance of the private FScene implementation for the given world. | |
| FSceneViewStateInterface * | AllocateViewState
(
ERHIFeatureLevel::Type FeatureLevel |
Allocates a new instance of the private scene manager implementation of FSceneViewStateInterface | |
| FSceneViewStateInterface * | AllocateViewState
(
ERHIFeatureLevel::Type FeatureLevel, |
||
| IAllocatedVirtualTexture * | AllocateVirtualTexture
(
const FAllocatedVTDescription& Desc |
||
| IAllocatedVirtualTexture * | AllocateVirtualTexture
(
FRHICommandListBase& RHICmdList, |
||
| void | BeginRenderingViewFamilies
(
FCanvas* Canvas, |
Experimental: Render multiple view families in a single scene render call. | |
| void | BeginRenderingViewFamily
(
FCanvas* Canvas, |
Call from the game thread to send a message to the rendering thread to being rendering this view family. | |
| IScenePrimitiveRenderingContext * | BeginScenePrimitiveRendering
(
FRDGBuilder& GraphBuilder, |
||
| IScenePrimitiveRenderingContext * | BeginScenePrimitiveRendering
(
FRDGBuilder& GraphBuilder, |
Prepare Scene primitive rendering and return context. | |
| void | CreateAndInitSingleView
(
FRHICommandListImmediate& RHICmdList, |
Call from the render thread to create and initalize a new FViewInfo with the specified options, and add it to the specified view family. | |
| FSceneUniformBuffer * | CreateSinglePrimitiveSceneUniformBuffer
(
FRDGBuilder& GraphBuilder, |
Create a Scene Uniform Buffer containing only the scene representation for a single primitive | |
| TRDGUniformBufferRef< FBatchedPrimitiveParameters > | CreateSinglePrimitiveUniformView
(
FRDGBuilder& GraphBuilder, |
Create a Uniform Buffer containing representation for a single primitive. | |
| void | Renderer gets a chance to log some useful crash data | ||
| void | DestroyAdaptiveVirtualTexture
(
IAdaptiveVirtualTexture* AdaptiveVT |
||
| void | DestroyVirtualTexture
(
IAllocatedVirtualTexture* AllocatedVT |
||
| void | DrawRectangle
(
FRHICommandList& RHICmdList, |
Draws a quad with the given vertex positions and UVs in denormalized pixel/texel coordinates. | |
| void | DrawTileMesh
(
FCanvasRenderContext& RenderContext, |
Draws a tile mesh element with the specified view. | |
| void | ExecVisualizeTextureCmd
(
const FString& Cmd |
||
| void | FlushVirtualTextureCache
(
IAllocatedVirtualTexture* AllocatedVT, |
Evict all data from virtual texture cache for a given allocated virtual texture. | |
| void | Evict all data from virtual texture caches. | ||
| const TSet< FSceneInterface * > & | |||
| const FGlobalDistanceFieldParameterData * | GetGlobalDistanceFieldParameterData
(
const FSceneView& View |
||
| uint64 | GetNaniteRequestRecordBuffer
(
TArray< uint32 >& OutRequestData |
Fetch the page requests recorded since the last call to SetNaniteRequestRecordBuffer. | |
| uint32 | GetNumDynamicLightsAffectingPrimitive
(
const FPrimitiveSceneInfo* PrimitiveSceneInfo, |
||
| const FViewMatrices & | GetPreviousViewMatrices
(
const FSceneView& View |
||
| FOnResolvedSceneColor & | Accessor for post scene color resolve delegates | ||
| uint64 | GetVirtualTextureRequestRecordBuffer
(
TSet< uint64 >& OutPageRequests |
Fetch the virtual texture page requests recorded since the last call to SetVirtualTextureRequestRecordBuffer. | |
| void | GPUBenchmark
(
FSynthBenchmarkResults& InOut, |
||
| void | InitializeSystemTextures
(
FRHICommandListImmediate& RHICmdList |
||
| void | Mark all the current scenes as needing to restart path tracer accumulation | ||
| void | LoadPendingVirtualTextureTiles
(
FRHICommandListImmediate& RHICmdList, |
Ensure that any tiles requested by 'RequestVirtualTextureTiles' are loaded, must be called from render thread | |
| void | OnWorldCleanup
(
UWorld* World, |
||
| void | Performs necessary per-frame cleanup. | ||
| void | |||
| void | PrefetchNaniteResource
(
const Nanite::FResources* Resource, |
Start prefetching streaming data for Nanite resource that will soon be used for rendering. | |
| void | RegisterCustomCullingImpl
(
ICustomCulling* impl |
Register/unregister a custom occlusion culling implementation | |
| FDelegateHandle | RegisterOverlayRenderDelegate
(
const FPostOpaqueRenderDelegate& OverlayRenderDelegate |
||
| void | |||
| FDelegateHandle | RegisterPostOpaqueRenderDelegate
(
const FPostOpaqueRenderDelegate& PostOpaqueRenderDelegate |
||
| FVirtualTextureProducerHandle | RegisterVirtualTextureProducer
(
FRHICommandListBase& RHICmdList, |
||
| FVirtualTextureProducerHandle | RegisterVirtualTextureProducer
(
const FVTProducerDescription& Desc, |
||
| void | |||
| void | ReleaseVirtualTextureProducer
(
const FVirtualTextureProducerHandle& Handle |
||
| uint32 | RemoveAllVirtualTextureProducerDestroyedCallbacks
(
const void* Baton |
||
| void | RemoveOverlayRenderDelegate
(
FDelegateHandle OverlayRenderDelegate |
||
| void | RemovePostOpaqueRenderDelegate
(
FDelegateHandle PostOpaqueRenderDelegate |
||
| void | RemoveScene
(
FSceneInterface* Scene |
||
| void | RequestNanitePages
(
TArrayView< uint32 > InRequestData |
Request Nanite pages that were captured with SetNaniteRequestRecordBuffer. | |
| void | RequestStaticMeshUpdate
(
FPrimitiveSceneInfo* Info |
||
| void | RequestVirtualTextureTiles
(
const FVector2D& InScreenSpaceSize, |
||
| void | RequestVirtualTextureTiles
(
TArray< uint64 >&& InPageRequests |
Request an array of virtual texture page requests that was captured with SetVirtualTextureRequestRecordBuffer. | |
| void | RequestVirtualTextureTiles
(
const FMaterialRenderProxy* InMaterialRenderProxy, |
||
| void | RequestVirtualTextureTiles
(
IAllocatedVirtualTexture* AllocatedVT, |
Helper function to request loading of tiles for a virtual texture that will be displayed in the UI. | |
| void | RequestVirtualTextureTilesForRegion
(
IAllocatedVirtualTexture* AllocatedVT, |
||
| void | Resets the scene texture extent history. | ||
| void | SetNaniteRequestRecordBuffer
(
uint64 Handle |
Allocate a buffer and record all nanite page requests until the next call to either SetNaniteRequestRecordBuffer or GetNaniteRequestRecordBuffer. | |
| void | SetVirtualTextureRequestRecordBuffer
(
uint64 Handle |
Allocate a buffer and record all virtual texture page requests until the next call to either SetVirtualTextureRequestRecordBuffer or GetVirtualTextureRequestRecordBuffer. | |
| void | UnregisterCustomCullingImpl
(
ICustomCulling* impl |
||
| void | UpdateMapNeedsLightingFullyRebuiltState
(
UWorld* World |
||
| void | Updates all static draw lists for each allocated scene. | ||
| void | UpdateStaticDrawListsForMaterials
(
const TArray< const FMaterial* >& Materials |
Updates static draw lists for the given set of materials for each allocated scene. |
Typedefs
| Name | Description |
|---|---|
| FOnResolvedSceneColor | Delegate that is called upon resolving scene color. |