engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FViewport::FHitProxyMap类 参考

A map from 2D coordinates to cached hit proxies. 更多...

#include <UnrealClient.h>

+ 类 FViewport::FHitProxyMap 继承关系图:

Public 成员函数

virtual void AddHitProxy (HHitProxy *HitProxy) override
 Called when a new hit proxy is rendered. 更多...
 
virtual void AddReferencedObjects (FReferenceCollector &Collector) override
 FGCObject interface
 
 FHitProxyMap ()
 Constructor
 
virtual FString GetReferencerName () const override
 Use this method to report a name for your referencer.
 
void Init (uint32 NewSizeX, uint32 NewSizeY)
 Initializes the hit proxy map with the given dimensions.
 
void Invalidate ()
 Invalidates the cached hit proxy map.
 
void Release ()
 Releases the hit proxy resources.
 
virtual ENGINE_API ~FHitProxyMap ()
 Destructor
 
virtual void AddHitProxy (HHitProxy *HitProxy)=0
 Called when a new hit proxy is rendered. 更多...
 
- Public 成员函数 继承自 FRenderTarget
virtual ENGINE_API float GetDisplayGamma () const
 
virtual ENGINE_API FRHIGPUMask GetGPUMask (FRHICommandListImmediate &RHICmdList) const
 Returns the GPU nodes on which to render this rendertarget.
 
virtual ENGINE_API const FTexture2DRHIRef & GetRenderTargetTexture () const
 Accessor for the surface RHI when setting this render target 更多...
 
virtual bool HasToggleFreezeCommand ()
 Returns if there is a command to toggle freezerendering
 
virtual void ProcessToggleFreezeCommand ()
 Handles freezing/unfreezing of rendering
 
ENGINE_API bool ReadFloat16Pixels (TArray< FFloat16Color > &OutputBuffer, ECubeFace CubeFace=CubeFace_PosX)
 Reads the viewport's displayed pixels into the given color buffer. 更多...
 
ENGINE_API bool ReadLinearColorPixels (TArray< FLinearColor > &OutputBuffer, FReadSurfaceDataFlags InFlags=FReadSurfaceDataFlags(RCM_MinMax, CubeFace_MAX), FIntRect InRect=FIntRect(0, 0, 0, 0))
 Reads the viewport's displayed pixels into the given color buffer. 更多...
 
ENGINE_API bool ReadPixels (TArray< FColor > &OutImageData, FReadSurfaceDataFlags InFlags=FReadSurfaceDataFlags(RCM_UNorm, CubeFace_MAX), FIntRect InRect=FIntRect(0, 0, 0, 0))
 Reads the viewport's displayed pixels into a preallocated color buffer. 更多...
 
ENGINE_API bool ReadPixelsPtr (FColor *OutImageBytes, FReadSurfaceDataFlags InFlags=FReadSurfaceDataFlags(RCM_UNorm, CubeFace_MAX), FIntRect InSrcRect=FIntRect(0, 0, 0, 0))
 Reads the viewport's displayed pixels into a preallocated color buffer. 更多...
 
- Public 成员函数 继承自 FGCObject
virtual void AddReferencedObjects (FReferenceCollector &Collector)=0
 Pure virtual that must be overloaded by the inheriting class. 更多...
 
 FGCObject (FGCObject &&)
 Move constructor
 
 FGCObject (FGCObject const &)
 Copy constructor
 
 FGCObject (void)
 Tells the global object that forwards AddReferencedObjects calls on to objects that a new object is requiring AddReferencedObjects call.
 
virtual FString GetReferencerName () const
 Use this method to report a name for your referencer.
 
virtual bool GetReferencerPropertyName (UObject *Object, FString &OutPropertyName) const
 Use this method to report how the specified object is referenced, if necessary
 
virtual ~FGCObject (void)
 Removes this instance from the global referencer's list
 

额外继承的成员函数

- 静态 Public 成员函数 继承自 FGCObject
static void StaticInit (void)
 Initializes the global object referencer and adds it to the root set.
 
- 静态 Public 属性 继承自 FGCObject
static UGCObjectReferencer * GGCObjectReferencer
 The static object referencer object that is shared across all garbage collectible non-UObject objects.
 
- Protected 成员函数 继承自 FRenderTarget
bool ReadFloat16Pixels (FFloat16Color *OutImageBytes, ECubeFace CubeFace=CubeFace_PosX)
 Reads the viewport's displayed pixels into a preallocated color buffer. 更多...
 

详细描述

A map from 2D coordinates to cached hit proxies.

成员函数说明

◆ AddHitProxy()

virtual void FViewport::FHitProxyMap::AddHitProxy ( HHitProxy *  HitProxy)
overridevirtual

Called when a new hit proxy is rendered.

The hit proxy consumer should keep a TRefCountPtr to the HitProxy to prevent it from being deleted before the rendered hit proxy map.

实现了 FHitProxyConsumer.


该类的文档由以下文件生成: