Navigation
API > API/Runtime > API/Runtime/Renderer
Structure containing setup for shader print capturing.
| Name | FShaderPrintSetup |
| Type | struct |
| Header File | /Engine/Source/Runtime/Renderer/Public/ShaderPrintParameters.h |
| Include Path | #include "ShaderPrintParameters.h" |
Syntax
struct FShaderPrintSetup
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Construct with shader print disabled setup. | ShaderPrintParameters.h | ||
FShaderPrintSetup
(
FSceneView const& InView |
Construct with view and system defaults. | ShaderPrintParameters.h | |
FShaderPrintSetup
(
FIntRect InViewRect |
Construct with view rectangle and system defaults. | ShaderPrintParameters.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bEnabled | bool | The shader print system's enabled state. This is set in the constructor and should't be overriden. | ShaderPrintParameters.h | |
| bIsDrawLocked | bool | Whether current draw is locked or not. Useful to stop rendering new stuff on top of the history. */. | ShaderPrintParameters.h | |
| CursorCoord | FIntPoint | Cursor pixel position within viewport. Can be used for isolating a pixel to debug. | ShaderPrintParameters.h | |
| DPIScale | float | DPI scale to take into account when drawing font. | ShaderPrintParameters.h | |
| FontSize | FIntPoint | Font size in pixels. | ShaderPrintParameters.h | |
| FontSpacing | FIntPoint | Font spacing in pixels (not including font size). | ShaderPrintParameters.h | |
| MaxCharacterCount | uint32 | Initial size of character buffer. Will also be increased by RequestSpaceForCharacters(). | ShaderPrintParameters.h | |
| MaxLineCount | uint32 | Initial size of line buffer. Will also be increased by RequestSpaceForLines(). | ShaderPrintParameters.h | |
| MaxStateCount | uint32 | Initial size of widget buffer. | ShaderPrintParameters.h | |
| MaxTriangleCount | uint32 | Initial size of triangle buffer. Will also be increased by RequestSpaceForLines(). | ShaderPrintParameters.h | |
| PreViewTranslation | FVector | PreView translation used for storing line positions in translated world space. | ShaderPrintParameters.h | |
| ViewRect | FIntRect | Expected viewport rectangle. | ShaderPrintParameters.h |