| FDynamicRHI | ||
| IRHICommandContextPSOFallback
|
Module |
|
Header |
/Engine/Source/Runtime/NullDrv/Public/NullRHI.h |
Include |
#include "NullRHI.h" |
class FNullDynamicRHI :
public FDynamicRHI,
public IRHICommandContextPSOFallback
A null implementation of the dynamically bound RHI.
Name | Description | |
---|---|---|
|
FNullDynamicRHI() |
Name | Description | ||
---|---|---|---|
|
const TCHAR ... |
GetName() |
|
|
Init() |
Initializes the RHI; separate from IDynamicRHIModule::CreateRHI so that GDynamicRHI is set when it is called. |
|
|
void * |
LockIndexBuffer_BottomOfPipe ( |
|
|
void * |
LockStructuredBuffer_BottomOfPipe ( |
Buffer Lock/Unlock. |
|
void * |
LockVertexBuffer_BottomOfPipe ( |
|
|
RHIAcquireThreadOwnership() |
FlushType: Flush RHI Thread. |
|
|
RHIAdvanceFrameForGetViewportBackBuffer ( |
Only relevant with an RHI thread, this advances the backbuffer for the purpose of GetViewportBackBuffer FlushType: Thread safe |
|
|
RHIAliasTextureResources ( |
||
|
FTexture2DRH... |
RHIAsyncCreateTexture2D ( |
FlushType: Thread safe. |
|
FTexture2DRH... |
RHIAsyncReallocateTexture2D ( |
Starts an asynchronous texture reallocation. |
|
RHIBindDebugLabelName ( |
FlushType: Thread safe. |
|
|
RHIBlockUntilGPUIdle() |
Blocks the CPU until the GPU catches up and goes idle. FlushType: Flush Immediate (seems wrong) |
|
|
RHICalcTexture2DPlatformSize ( |
FlushType: Thread safe. |
|
|
RHICalcTexture3DPlatformSize ( |
FlushType: Thread safe. |
|
|
RHICalcTextureCubePlatformSize ( |
FlushType: Thread safe. |
|
|
ETextureReal... |
RHICancelAsyncReallocateTexture2D ( |
FlushType: Wait RHI Thread. |
|
RHICheckViewportHDRStatus ( |
Tests the viewport to see if its HDR status has changed. This is usually tested after a window has been moved. |
|
|
RHIComputeMemorySize ( |
FlushType: Thread safe. |
|
|
RHICopySharedMips ( |
FlushType: Flush RHI Thread. |
|
|
RHICopyVertexBuffer ( |
FlushType: Flush Immediate (seems dangerous) |
|
|
FBlendStateR... |
RHICreateBlendState ( |
FlushType: Thread safe. |
|
FBoundShader... |
RHICreateBoundShaderState ( |
FlushType: Thread safe, but varies depending on the RHI. |
|
FComputeShad... |
RHICreateComputeShader ( |
FlushType: Wait RHI Thread. |
|
FDepthStenci... |
RHICreateDepthStencilState ( |
FlushType: Thread safe. |
|
FDomainShade... |
RHICreateDomainShader ( |
FlushType: Wait RHI Thread. |
|
FGeometrySha... |
RHICreateGeometryShader ( |
FlushType: Wait RHI Thread. |
|
FHullShaderR... |
RHICreateHullShader ( |
FlushType: Wait RHI Thread. |
|
FIndexBuffer... |
RHICreateIndexBuffer ( |
FlushType: Wait RHI Thread. |
|
FPixelShader... |
RHICreatePixelShader ( |
FlushType: Wait RHI Thread. |
|
FRasterizerS... |
RHICreateRasterizerState ( |
FlushType: Thread safe. |
|
FRenderQuery... |
RHICreateRenderQuery ( |
FlushType: Wait RHI Thread. |
|
FSamplerStat... |
RHICreateSamplerState ( |
FlushType: Thread safe. |
|
FShaderResou... |
RHICreateShaderResourceView ( |
FlushType: Wait RHI Thread. |
|
FShaderResou... |
RHICreateShaderResourceView ( |
FlushType: Wait RHI Thread. |
|
FShaderResou... |
RHICreateShaderResourceView ( |
FlushType: Wait RHI Thread. |
|
FShaderResou... |
RHICreateShaderResourceView ( |
Creates a shader resource view |
|
FShaderResou... |
RHICreateShaderResourceView ( |
FlushType: Wait RHI Thread. |
|
FStructuredB... |
RHICreateStructuredBuffer ( |
FlushType: Wait RHI Thread. |
|
FTexture2DRH... |
RHICreateTexture2D ( |
FlushType: Wait RHI Thread. |
|
FTexture2DAr... |
RHICreateTexture2DArray ( |
FlushType: Wait RHI Thread. |
|
FTexture3DRH... |
RHICreateTexture3D ( |
FlushType: Wait RHI Thread. |
|
FTextureCube... |
RHICreateTextureCube ( |
FlushType: Wait RHI Thread. |
|
FTextureCube... |
RHICreateTextureCubeArray ( |
FlushType: Wait RHI Thread. |
|
FTextureRefe... |
RHICreateTextureReference ( |
FlushType: Wait RHI Thread. |
|
RHICreateTransition ( |
||
|
FUniformBuff... |
RHICreateUniformBuffer ( |
FlushType: Thread safe, but varies depending on the RHI. |
|
FUnorderedAc... |
RHICreateUnorderedAccessView ( |
FlushType: Wait RHI Thread. |
|
FUnorderedAc... |
RHICreateUnorderedAccessView ( |
FlushType: Wait RHI Thread. |
|
FUnorderedAc... |
RHICreateUnorderedAccessView ( |
FlushType: Wait RHI Thread. |
|
FUnorderedAc... |
RHICreateUnorderedAccessView ( |
FlushType: Wait RHI Thread. |
|
FVertexBuffe... |
RHICreateVertexBuffer ( |
FlushType: Wait RHI Thread. |
|
FVertexDecla... |
RHICreateVertexDeclaration ( |
FlushType: Wait RHI Thread. |
|
FVertexShade... |
RHICreateVertexShader ( |
FlushType: Wait RHI Thread. |
|
FViewportRHI... |
RHICreateViewport ( |
Must be called from the main thread. FlushType: Thread safe |
|
RHIEnqueueDecompress ( |
FlushType: Flush Immediate. |
|
|
RHIExecuteCommandList ( |
FlushType: Wait RHI Thread. |
|
|
ETextureReal... |
RHIFinalizeAsyncReallocateTexture2D ( |
FlushType: Wait RHI Thread. |
|
RHIFlushResources() |
Flush driver resources. |
|
|
RHIGetAvailableResolutions ( |
FlushType: Thread safe. |
|
|
EColorSpaceA... |
RHIGetColorSpace ( |
Return what colour space the viewport is in. Used for HDR displays. |
|
IRHICommandC... |
RHIGetCommandContextContainer |
FlushType: Thread safe. |
|
IRHICommandC... |
RHIGetDefaultContext() |
FlushType: Thread safe. |
|
RHIGetGPUFrameCycles ( |
FlushType: Thread safe. |
|
|
void * |
RHIGetNativeDevice() |
FlushType: Flush RHI Thread. |
|
void * |
RHIGetNativeInstance() |
FlushType: Flush RHI Thread. |
|
RHIGetRenderQueryResult ( |
CAUTION: Even though this is marked as threadsafe, it is only valid to call from the render thread. |
|
|
RHIGetResourceInfo ( |
FlushType: Thread safe. |
|
|
RHIGetSupportedResolution |
FlushType: Thread safe. |
|
|
RHIGetTextureMemoryStats ( |
FlushType: Thread safe. |
|
|
RHIGetTextureMemoryVisualizeData |
FlushType: Flush Immediate. |
|
|
FTexture2DRH... |
RHIGetViewportBackBuffer ( |
With RHI thread, this is the current backbuffer from the perspective of the render thread. |
|
void * |
RHILockTexture2D ( |
FlushType: Flush RHI Thread. |
|
void * |
RHILockTexture2DArray ( |
FlushType: Flush RHI Thread. |
|
void * |
RHILockTextureCubeFace ( |
FlushType: Flush RHI Thread. |
|
RHIMapStagingSurface ( |
FlushType: Flush Immediate (seems wrong) |
|
|
RHIRead3DSurfaceFloatData ( |
FlushType: Flush Immediate (seems wrong) |
|
|
RHIReadSurfaceData ( |
FlushType: Flush Immediate (seems wrong) |
|
|
RHIReadSurfaceFloatData ( |
FlushType: Flush Immediate (seems wrong) |
|
|
RHIReleaseThreadOwnership() |
FlushType: Flush RHI Thread. |
|
|
RHIReleaseTransition ( |
||
|
RHIResizeViewport ( |
Must be called from the main thread. FlushType: Thread safe |
|
|
RHITick ( |
Must be called from the main thread. FlushType: Thread safe |
|
|
RHITransferIndexBufferUnderlyingResource ( |
Transfer metadata and underlying resource from src to dest and release any resource owned by dest. |
|
|
RHITransferVertexBufferUnderlyingResource ( |
Transfer metadata and underlying resource from src to dest and release any resource owned by dest. |
|
|
RHIUnlockTexture2D ( |
FlushType: Flush RHI Thread. |
|
|
RHIUnlockTexture2DArray ( |
FlushType: Flush RHI Thread. |
|
|
RHIUnlockTextureCubeFace ( |
FlushType: Flush RHI Thread. |
|
|
RHIUnmapStagingSurface ( |
FlushType: Flush Immediate (seems wrong) |
|
|
RHIUpdateTexture2D ( |
FlushType: Flush RHI Thread. |
|
|
RHIUpdateTexture3D ( |
FlushType: Flush RHI Thread. |
|
|
RHIUpdateUniformBuffer ( |
||
|
RHIVirtualTextureSetFirstMipInMemory ( |
FlushType: Wait RHI Thread. |
|
|
RHIVirtualTextureSetFirstMipVisible ( |
FlushType: Wait RHI Thread. |
|
|
Shutdown() |
Shutdown the RHI; handle shutdown and resource destruction before the RHI's actual destructor is called (so that all resources of the RHI are still available for shutdown). |
|
|
UnlockIndexBuffer_BottomOfPipe ( |
||
|
UnlockStructuredBuffer_BottomOfPipe ( |
||
|
UnlockVertexBuffer_BottomOfPipe ( |
Name | Description | ||
---|---|---|---|
|
RHIEnableDepthBoundsTest ( |
||
|
RHISetBlendState ( |
||
|
RHISetBoundShaderState ( |
Set bound shader state. This will set the vertex decl/shader, and pixel shader |
|
|
RHISetDepthStencilState ( |
||
|
RHISetRasterizerState ( |
Name | Description | ||
---|---|---|---|
|
RHIBeginDrawingViewport ( |
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. |
|
|
RHIBeginFrame() |
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. |
|
|
RHIBeginRenderPass ( |
||
|
RHIBeginRenderQuery ( |
||
|
RHIBeginScene() |
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. |
|
|
RHICopyTexture ( |
||
|
RHICopyToResolveTarget ( |
Resolves from one texture to another. |
|
|
RHIDrawIndexedIndirect ( |
||
|
RHIDrawIndexedPrimitive |
||
|
RHIDrawIndexedPrimitiveIndirect ( |
||
|
RHIDrawPrimitive |
||
|
RHIDrawPrimitiveIndirect ( |
||
|
RHIEndDrawingViewport ( |
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. |
|
|
RHIEndFrame() |
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. |
|
|
RHIEndRenderPass() |
||
|
RHIEndRenderQuery ( |
||
|
RHIEndScene() |
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. |
|
|
RHISetDepthBounds ( |
Sets Depth Bounds range with the given min/max depth. |
|
|
RHISetMultipleViewports ( |
Useful when used with geometry shader (emit polygons to different viewports), otherwise SetViewPort() is simpler |
|
|
RHISetScissorRect |
||
|
RHISetShaderParameter ( |
||
|
RHISetShaderResourceViewParameter ( |
||
|
RHISetShaderSampler ( |
Sets sampler state. |
|
|
RHISetShaderTexture ( |
Set the shader resource view of a surface. |
|
|
RHISetShaderUniformBuffer ( |
||
|
RHISetShadingRate ( |
||
|
RHISetStreamSource ( |
||
|
RHISetUAVParameter ( |
Sets a pixel shader UAV parameter. |
|
|
RHISetViewport ( |
||
|
RHIUpdateTextureReference ( |
Name | Description | ||
---|---|---|---|
|
RHIBeginTransitions ( |
||
|
RHIClearUAVFloat ( |
Clears a UAV to the multi-channel floating point value provided. |
|
|
RHIClearUAVUint ( |
Clears a UAV to the multi-component unsigned integer value provided. |
|
|
RHIDispatchComputeShader |
||
|
RHIDispatchIndirectComputeShader ( |
||
|
RHIEndTransitions ( |
||
|
RHIPopEvent() |
||
|
RHIPushEvent |
||
|
RHISetComputeShader ( |
Sets the current compute shader. |
|
|
RHISetShaderParameter ( |
||
|
RHISetShaderResourceViewParameter ( |
||
|
RHISetShaderSampler ( |
Sets sampler state. |
|
|
RHISetShaderTexture ( |
Set the shader resource view of a surface. |
|
|
RHISetShaderUniformBuffer ( |
||
|
RHISetUAVParameter ( |
Sets a compute shader UAV parameter. |
|
|
RHISetUAVParameter ( |
Sets a compute shader counted UAV parameter and initial count |
|
|
RHISubmitCommandsHint() |
Submit the current command buffer to the GPU if possible. |
Name | Description | ||
---|---|---|---|
|
RHIGenerateMips ( |
This function is deprecated and will be removed in future releases. Renderer version implemented. |