59 int32 VisualizeLODIndex,
60 const FColor& SkinCacheDebugColor,
61 int32 VisualizeElementIndex,
67 FName ViewModeParamName,
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
EDebugViewShaderMode
Definition DebugViewModeHelpers.h:23
@ DVSM_MAX
Definition DebugViewModeHelpers.h:38
EBlendMode
Definition EngineTypes.h:245
Definition DebugViewModeInterface.h:28
virtual void GetDebugViewModeShaderBindings(const FDebugViewModePS &Shader, const FPrimitiveSceneProxy *PrimitiveSceneProxy, const FMaterialRenderProxy &MaterialRenderProxy, const FMaterial &Material, EDebugViewShaderMode DebugViewMode, const FVector &ViewOrigin, int32 VisualizeLODIndex, const FColor &SkinCacheDebugColor, int32 VisualizeElementIndex, int32 NumVSInstructions, int32 NumPSInstructions, int32 LWCComplexityVS, int32 LWCComplexityPS, int32 ViewModeParam, FName ViewModeParamName, FMeshDrawSingleShaderBindings &ShaderBindings) const
Definition DebugViewModeInterface.h:52
static const FDebugViewModeInterface * GetInterface(EDebugViewShaderMode InDebugViewMode)
Definition DebugViewModeInterface.h:72
virtual void AddShaderTypes(ERHIFeatureLevel::Type InFeatureLevel, const FVertexFactoryType *InVertexFactoryType, FMaterialShaderTypes &OutShaderTypes) const =0
static ENGINE_API bool AllowFallbackToDefaultMaterial(const FMaterial *InMaterial)
virtual ENGINE_API void SetDrawRenderState(EDebugViewShaderMode DebugViewMode, EBlendMode BlendMode, FRenderState &DrawRenderState, bool bHasDepthPrepassForMaskedMaterial) const
static ENGINE_API bool AllowFallbackToDefaultMaterial(bool bHasVertexPositionOffsetConnected, bool bHasPixelDepthOffsetConnected)
virtual ~FDebugViewModeInterface()
Definition DebugViewModeInterface.h:44
FDebugViewModeInterface()
Definition DebugViewModeInterface.h:41
static ENGINE_API void SetInterface(FDebugViewModeInterface *Interface)
Definition MaterialRenderProxy.h:102
Definition MaterialShared.h:2058
Definition MeshDrawShaderBindings.h:104
Definition NameTypes.h:617
Definition PrimitiveSceneProxy.h:296
Definition RHIResources.h:696
Definition RHIResources.h:686
Definition VertexFactory.h:314
Type
Definition RHIFeatureLevel.h:20
Definition DebugViewModeInterface.h:32
FRenderState()
Definition DebugViewModeInterface.h:33
FRHIDepthStencilState * DepthStencilState
Definition DebugViewModeInterface.h:38
FRHIBlendState * BlendState
Definition DebugViewModeInterface.h:37
Definition MaterialShaderType.h:198
Definition MeshPassProcessor.h:2118