![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MetalRHIRenderQuery.h>
Inheritance diagram for FMetalRHIRenderQuery:Public Member Functions | |
| FMetalRHIRenderQuery (FMetalDevice &MetalDevice, ERenderQueryType InQueryType) | |
| virtual | ~FMetalRHIRenderQuery () |
| void | Begin_TopOfPipe () |
| void | End_TopOfPipe () |
| void | Begin (FMetalRHICommandContext *Context) |
| void | End (FMetalRHICommandContext *Context) |
| void | SampleOcclusionResult () |
| bool | GetResult (uint64 &OutNumPixels, bool bWait, uint32 GPUIndex) |
Public Member Functions inherited from FRHIRenderQuery | |
| FRHIRenderQuery () | |
Public Member Functions inherited from FRHIResource | |
| RHI_API | FRHIResource (ERHIResourceType InResourceType) |
| uint32 | AddRef () const |
| uint32 | Release () const |
| uint32 | GetRefCount () const |
| bool | IsValid () const |
| void | DisableLifetimeExtension () |
| ERHIResourceType | GetType () const |
| FName | GetOwnerName () const |
| void | SetOwnerName (FName InOwnerName) |
Friends | |
| class | FMetalDynamicRHI |
Additional Inherited Members | |
Protected Member Functions inherited from FRHIResource | |
| virtual RHI_API | ~FRHIResource () |
| FMetalRHIRenderQuery::FMetalRHIRenderQuery | ( | FMetalDevice & | MetalDevice, |
| ERenderQueryType | InQueryType | ||
| ) |
|
virtual |
| void FMetalRHIRenderQuery::Begin | ( | FMetalRHICommandContext * | Context | ) |
Kick off an occlusion test
| void FMetalRHIRenderQuery::Begin_TopOfPipe | ( | ) |
| void FMetalRHIRenderQuery::End | ( | FMetalRHICommandContext * | Context | ) |
Finish up an occlusion test
| void FMetalRHIRenderQuery::End_TopOfPipe | ( | ) |
Get the query result
| void FMetalRHIRenderQuery::SampleOcclusionResult | ( | ) |
Samples the occlusion result on the submission thread
|
friend |