FRHIBufferTests::VerifyBufferContents

Copies data in the specified vertex buffer back to the CPU, and passes a pointer to that data to the provided verification lambda.

Windows
MacOS
Linux

References

Module

RHITests

Header

/Engine/Plugins/Tests/RHITests/Source/RHITests/Public/RHIBufferTests.h

Include

#include "RHIBufferTests.h"

Source

/Engine/Plugins/Tests/RHITests/Source/RHITests/Private/RHIBufferTests.cpp

Syntax

static bool VerifyBufferContents
(
    const TCHAR * TestName,
    FRHICommandListImmediate & RHICmdList,
    FRHIStructuredBuffer * Buffer,
    TFunctionRef< bool *Ptr, uint32 NumBytes)> VerifyCallback
)

Remarks

Copies data in the specified vertex buffer back to the CPU, and passes a pointer to that data to the provided verification lambda.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss