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