Navigation
API > API/Runtime > API/Runtime/RHI
Inheritance Hierarchy
- IRHIComputeContext
- IRHICommandContext
- IRHICommandContextPSOFallback
- FNullDynamicRHI
- FOpenGLDynamicRHI
References
| Module | RHI |
| Header | /Engine/Source/Runtime/RHI/Public/RHIContext.h |
| Include | #include "RHIContext.h" |
Syntax
class IRHIComputeContext
Remarks
Context that is capable of doing Compute work. Can be async or compute on the gfx pipe.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FRHIPerCategoryDrawStats * | Stats |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| IRHIComputeContext & | |||
| IRHIComputeContext & | Fast implementations when the RHI validation layer is disabled. | ||
| ERHIPipeline | GetPipeline () |
||
| ERHIAccess | GetTrackedAccess
(
const FRHIViewableResource* Resource |
||
| void | RHIBeginTransitions
(
TArrayView< const FRHITransition* > Transitions |
||
| void | RHIBeginUAVOverlap
(
TConstArrayView< FRHIUnorderedAccessView* > UAVs |
||
| void | |||
| void | RHIBindAccelerationStructureMemory
(
FRHIRayTracingScene* Scene, |
||
| void | RHIBuildAccelerationStructure
(
const FRayTracingSceneBuildParams& SceneBuildParams |
||
| void | RHIBuildAccelerationStructures
(
TConstArrayView< FRayTracingGeometryBuildParams > Params, |
||
| void | RHIClearUAVFloat
(
FRHIUnorderedAccessView* UnorderedAccessViewRHI, |
Clears a UAV to the multi-channel floating point value provided. | |
| void | RHIClearUAVUint
(
FRHIUnorderedAccessView* UnorderedAccessViewRHI, |
Clears a UAV to the multi-component unsigned integer value provided. | |
| void | RHICopyToStagingBuffer
(
FRHIBuffer* SourceBufferRHI, |
Performs a copy of the data in 'SourceBuffer' to 'DestinationStagingBuffer.' This will occur inline on the GPU timeline. | |
| void | RHIDispatchComputeShader
(
uint32 ThreadGroupCountX, |
||
| void | RHIDispatchIndirectComputeShader
(
FRHIBuffer* ArgumentBuffer, |
||
| void | RHIDispatchShaderBundle
(
FRHIShaderBundle* ShaderBundle, |
||
| void | RHIEndTransitions
(
TArrayView< const FRHITransition* > Transitions |
||
| void | RHIEndUAVOverlap
(
TConstArrayView< FRHIUnorderedAccessView* > UAVs |
||
| void | |||
| FRHIGPUMask | |||
| void * | |||
| void | Some RHI implementations (OpenGL) cache render state internally Signal to RHI that cached state is no longer valid | ||
| void | RHIPopEvent () |
||
| void | |||
| void | RHIPushEvent
(
const TCHAR* Name, |
||
| void | RHISetAsyncComputeBudget
(
EAsyncComputeBudget Budget |
||
| void | RHISetBatchedShaderParameters
(
FRHIComputeShader* InShader, |
||
| void | RHISetComputePipelineState
(
FRHIComputePipelineState* ComputePipelineState |
||
| void | RHISetGPUMask
(
FRHIGPUMask GPUMask |
||
| void | RHISetShaderParameters
(
FRHIComputeShader* ComputeShader, |
||
| void | RHISetShaderRootConstants
(
const FUint32Vector4& Constants |
||
| void | RHISetShaderUnbinds
(
FRHIComputeShader* ComputeShader, |
||
| void | RHISetStaticUniformBuffer
(
FUniformBufferStaticSlot Slot, |
||
| void | RHISetStaticUniformBuffers
(
const FUniformBufferStaticBindings& InUniformBuffers |
||
| void | RHISetUniformBufferDynamicOffset
(
FUniformBufferStaticSlot Slot, |
||
| void | Submit the current command buffer to the GPU if possible. | ||
| void | RHIWriteGPUFence
(
FRHIGPUFence* FenceRHI |
Write the fence in the GPU timeline. | |
| void | SetTrackedAccess
(
const FRHITrackedAccessInfo& Info |
||
| void | StatsSetCategory
(
FRHIDrawStats* InStats, |
||
| void | StatsSetCategory
(
FRHIDrawStats* InStats, |