UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FMetalRHIRenderQuery Class Reference

#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 ()
 

Constructor & Destructor Documentation

◆ FMetalRHIRenderQuery()

FMetalRHIRenderQuery::FMetalRHIRenderQuery ( FMetalDevice MetalDevice,
ERenderQueryType  InQueryType 
)

◆ ~FMetalRHIRenderQuery()

FMetalRHIRenderQuery::~FMetalRHIRenderQuery ( )
virtual

Member Function Documentation

◆ Begin()

void FMetalRHIRenderQuery::Begin ( FMetalRHICommandContext Context)

Kick off an occlusion test

◆ Begin_TopOfPipe()

void FMetalRHIRenderQuery::Begin_TopOfPipe ( )

◆ End()

void FMetalRHIRenderQuery::End ( FMetalRHICommandContext Context)

Finish up an occlusion test

◆ End_TopOfPipe()

void FMetalRHIRenderQuery::End_TopOfPipe ( )

◆ GetResult()

bool FMetalRHIRenderQuery::GetResult ( uint64 OutNumPixels,
bool  bWait,
uint32  GPUIndex 
)

Get the query result

◆ SampleOcclusionResult()

void FMetalRHIRenderQuery::SampleOcclusionResult ( )

Samples the occlusion result on the submission thread

Friends And Related Symbol Documentation

◆ FMetalDynamicRHI

friend class FMetalDynamicRHI
friend

The documentation for this class was generated from the following files: