Navigation
API > API/Runtime > API/Runtime/RHI
Inheritance Hierarchy
- IRHIComputeContext
- IRHICommandContext
- IRHICommandContextPSOFallback
- FNullDynamicRHI
References
| Module | RHI |
| Header | /Engine/Source/Runtime/RHI/Public/RHIContext.h |
| Include | #include "RHIContext.h" |
Syntax
class IRHICommandContext : public IRHIComputeContext
Remarks
The interface RHI command context. Sometimes the RHI handles these. On platforms that can processes command lists in parallel, it is a separate object.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FRHIRenderPassInfo | RenderPassInfo |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | RHIBeginDrawingViewport
(
FRHIViewport* Viewport, |
This method is queued with an RHIThread, otherwise it will flush after it is queued; without an RHI thread there is no benefit to queuing this frame advance commands. | |
| void | RHIBeginRenderPass
(
const FRHIRenderPassInfo& InInfo, |
||
| void | RHIBeginRenderQuery
(
FRHIRenderQuery* RenderQuery |
||
| void | RHICalibrateTimers
(
FRHITimestampCalibrationQuery* CalibrationQuery |
||
| void | RHIClearRayTracingBindings
(
FRHIRayTracingScene* Scene |
||
| void | |||
| void | RHICommitRayTracingBindings
(
FRHIRayTracingScene* Scene |
||
| void | |||
| void | RHICopyBufferRegion
(
FRHIBuffer* DestBuffer, |
||
| void | RHICopyTexture
(
FRHITexture* SourceTexture, |
||
| void | RHIDiscardRenderTargets
(
bool Depth, |
Not all RHIs need this (Mobile specific) | |
| void | RHIDispatchIndirectMeshShader
(
FRHIBuffer* ArgumentBuffer, |
||
| void | RHIDispatchMeshShader
(
uint32 ThreadGroupCountX, |
||
| void | RHIDrawIndexedIndirect
(
FRHIBuffer* IndexBufferRHI, |
||
| void | RHIDrawIndexedPrimitive
(
FRHIBuffer* IndexBuffer, |
||
| void | RHIDrawIndexedPrimitiveIndirect
(
FRHIBuffer* IndexBuffer, |
||
| void | RHIDrawPrimitive
(
uint32 BaseVertexIndex, |
||
| void | RHIDrawPrimitiveIndirect
(
FRHIBuffer* ArgumentBuffer, |
||
| void | RHIEndDrawingViewport
(
FRHIViewport* Viewport, |
This method is queued with an RHIThread, otherwise it will flush after it is queued; without an RHI thread there is no benefit to queuing this frame advance commands. | |
| void | |||
| void | RHIEndRenderQuery
(
FRHIRenderQuery* RenderQuery |
||
| void | RHIMultiDrawIndexedPrimitiveIndirect
(
FRHIBuffer* IndexBuffer, |
Similar to RHIDrawIndexedPrimitiveIndirect, but allows many draw arguments to be provided at once. | |
| void | |||
| void | RHIRayTraceDispatch
(
FRHIRayTracingPipelineState* RayTracingPipelineState, |
||
| void | RHIRayTraceDispatch
(
FRHIRayTracingPipelineState* RayTracingPipelineState, |
||
| void | RHIRayTraceDispatchIndirect
(
FRHIRayTracingPipelineState* RayTracingPipelineState, |
||
| void | RHIRayTraceDispatchIndirect
(
FRHIRayTracingPipelineState* RayTracingPipelineState, |
||
| void | RHIResummarizeHTile
(
FRHITexture* DepthTexture |
Rebuilds the depth target HTILE meta data (on supported platforms). | |
| void | RHISetBatchedShaderParameters
(
FRHIComputeShader* InShader, |
||
| void | RHISetBatchedShaderParameters
(
FRHIGraphicsShader* InShader, |
||
| void | RHISetBindingsOnShaderBindingTable
(
FRHIShaderBindingTable* SBT, |
||
| void | RHISetBlendFactor
(
const FLinearColor& BlendFactor |
||
| void | RHISetDepthBounds
(
float MinDepth, |
Sets Depth Bounds range with the given min/max depth. | |
| void | RHISetGraphicsPipelineState
(
FRHIGraphicsPipelineState* GraphicsState, |
||
| void | RHISetMultipleViewports
(
uint32 Count, |
Useful when used with geometry shader (emit polygons to different viewports), otherwise SetViewPort() is simpler | |
| void | RHISetRayTracingBindings
(
FRHIRayTracingScene* Scene, |
||
| void | RHISetScissorRect
(
bool bEnable, |
||
| void | RHISetShaderParameters
(
FRHIGraphicsShader* Shader, |
||
| void | RHISetShaderUnbinds
(
FRHIGraphicsShader* Shader, |
||
| void | RHISetShadingRate
(
EVRSShadingRate ShadingRate, |
||
| void | RHISetStencilRef
(
uint32 StencilRef |
||
| void | RHISetStereoViewport
(
float LeftMinX, |
||
| void | RHISetStreamSource
(
uint32 StreamIndex, |
||
| void | RHISetViewport
(
float MinX, |
Overridden from IRHIComputeContext
| Type | Name | Description | |
|---|---|---|---|
| ERHIPipeline | GetPipeline () |
||
| void | RHIDispatchComputeShader
(
uint32 ThreadGroupCountX, |
||
| void | RHIDispatchIndirectComputeShader
(
FRHIBuffer* ArgumentBuffer, |
||
| void | RHISetShaderParameters
(
FRHIComputeShader* ComputeShader, |
Inherit the parent context's RHISet functions that take FRHIComputeShader arguments Required to avoid warning C4263 : 'function' : member function does not override any base class virtual member function | |
| void | RHISetShaderUnbinds
(
FRHIComputeShader* ComputeShader, |