Navigation
API > API/Runtime > API/Runtime/RHI
References
| Module | RHI |
| Header | /Engine/Source/Runtime/RHI/Public/RHIContext.h |
| Include | #include "RHIContext.h" |
Syntax
struct FRayTracingSceneBuildParams
Variables
| Type | Name | Description | |
|---|---|---|---|
| FRHIBuffer * | InstanceBuffer | Buffer of native ray tracing instance descriptors. Must be in SRV state. | |
| uint32 | InstanceBufferOffset | ||
| FRHIBuffer * | ResultBuffer | Acceleration structure will be written to this buffer. The buffer must be in BVHWrite state. | |
| uint32 | ResultBufferOffset | ||
| FRHIRayTracingScene * | Scene | Scene to be built. May be null if explicit instance buffer is provided. | |
| FRHIBuffer * | ScratchBuffer | Scratch buffer used to build Acceleration structure. Must be in UAV state. | |
| uint32 | ScratchBufferOffset |