Navigation
API > API/Runtime > API/Runtime/RHI
The interface RHI command context. Sometimes the RHI handles these. On platforms that can processes command lists in parallel, it is a separate object.
| Name | IRHICommandContext |
| Type | class |
| Header File | /Engine/Source/Runtime/RHI/Public/RHIContext.h |
| Include Path | #include "RHIContext.h" |
Syntax
class IRHICommandContext : public IRHIComputeContext
Implements Interfaces
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IRHICommandContext() |
RHIContext.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void RHIBeginParallelRenderPass
(
TSharedPtr< FRHIParallelRenderPassInfo > InInfo, |
RHIContext.h | ||
void RHIBeginRenderPass
(
const FRHIRenderPassInfo& InInfo, |
RHIContext.h | ||
void RHIBeginRenderQuery
(
FRHIRenderQuery* RenderQuery |
RHIContext.h | ||
virtual void RHIClearShaderBindingTable
(
FRHIShaderBindingTable* SBT |
RHIContext.h | ||
virtual void RHICommitShaderBindingTable
(
FRHIShaderBindingTable* SBT, |
RHIContext.h | ||
void RHICopyBufferRegion
(
FRHIBuffer* DestBuffer, |
RHIContext.h | ||
void RHICopyTexture
(
FRHITexture* SourceTexture, |
RHIContext.h | ||
virtual void RHIDispatchIndirectMeshShader
(
FRHIBuffer* ArgumentBuffer, |
RHIContext.h | ||
virtual void RHIDispatchMeshShader
(
uint32 ThreadGroupCountX, |
RHIContext.h | ||
void RHIDrawIndexedIndirect
(
FRHIBuffer* IndexBufferRHI, |
RHIContext.h | ||
void RHIDrawIndexedPrimitive
(
FRHIBuffer* IndexBuffer, |
RHIContext.h | ||
void RHIDrawIndexedPrimitiveIndirect
(
FRHIBuffer* IndexBuffer, |
RHIContext.h | ||
void RHIDrawPrimitive
(
uint32 BaseVertexIndex, |
RHIContext.h | ||
void RHIDrawPrimitiveIndirect
(
FRHIBuffer* ArgumentBuffer, |
RHIContext.h | ||
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. | RHIContext.h | |
virtual void RHIEndParallelRenderPass() |
RHIContext.h | ||
void RHIEndRenderPass() |
RHIContext.h | ||
void RHIEndRenderQuery
(
FRHIRenderQuery* RenderQuery |
RHIContext.h | ||
virtual void RHIGpuHangCommandListCorruption() |
RHIContext.h | ||
virtual void RHIMultiDrawIndexedPrimitiveIndirect
(
FRHIBuffer* IndexBuffer, |
Similar to RHIDrawIndexedPrimitiveIndirect, but allows many draw arguments to be provided at once. | RHIContext.h | |
virtual void RHINextSubpass() |
RHIContext.h | ||
virtual void RHIResummarizeHTile
(
FRHITexture* DepthTexture |
Rebuilds the depth target HTILE meta data (on supported platforms). | RHIContext.h | |
void RHISetBatchedShaderParameters
(
FRHIComputeShader* InShader, |
RHIContext.h | ||
void RHISetBatchedShaderParameters
(
FRHIGraphicsShader* InShader, |
RHIContext.h | ||
virtual void RHISetBindingsOnShaderBindingTable
(
FRHIShaderBindingTable* SBT, |
RHIContext.h | ||
virtual void RHISetBlendFactor
(
const FLinearColor& BlendFactor |
RHIContext.h | ||
void RHISetDepthBounds
(
float MinDepth, |
Sets Depth Bounds range with the given min/max depth. | RHIContext.h | |
void RHISetGraphicsPipelineState
(
FRHIGraphicsPipelineState* GraphicsState, |
RHIContext.h | ||
void RHISetMultipleViewports
(
uint32 Count, |
Useful when used with geometry shader (emit polygons to different viewports), otherwise SetViewPort() is simpler | RHIContext.h | |
void RHISetScissorRect
(
bool bEnable, |
RHIContext.h | ||
void RHISetShaderParameters
(
FRHIGraphicsShader* Shader, |
RHIContext.h | ||
virtual void RHISetShaderUnbinds
(
FRHIGraphicsShader* Shader, |
RHIContext.h | ||
virtual void RHISetShadingRate
(
EVRSShadingRate ShadingRate, |
RHIContext.h | ||
virtual void RHISetStencilRef
(
uint32 StencilRef |
RHIContext.h | ||
virtual void RHISetStereoViewport
(
float LeftMinX, |
RHIContext.h | ||
void RHISetStreamSource
(
uint32 StreamIndex, |
RHIContext.h | ||
void RHISetViewport
(
float MinX, |
RHIContext.h |
Overridden from IRHIComputeContext
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ERHIPipeline GetPipeline() |
RHIContext.h | ||
void RHIDispatchComputeShader
(
uint32 ThreadGroupCountX, |
RHIContext.h | ||
void RHIDispatchIndirectComputeShader
(
FRHIBuffer* ArgumentBuffer, |
RHIContext.h | ||
virtual 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 | RHIContext.h | |
virtual void RHISetShaderUnbinds
(
FRHIComputeShader* ComputeShader, |
RHIContext.h |