![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ShaderPrintParameters.h>
Public Member Functions | |
| FShaderPrintSetup ()=default | |
| RENDERER_API | FShaderPrintSetup (FSceneView const &InView) |
| RENDERER_API | FShaderPrintSetup (FIntRect InViewRect) |
Public Attributes | |
| bool | bEnabled = false |
| FIntRect | ViewRect = FIntRect(0, 0, 1, 1) |
| FIntPoint | CursorCoord = FIntPoint(-1, -1) |
| FVector | PreViewTranslation = FVector::ZeroVector |
| float | DPIScale = 1.f |
| FIntPoint | FontSize = 1 |
| FIntPoint | FontSpacing = 1 |
| uint32 | MaxCharacterCount = 0 |
| uint32 | MaxStateCount = 0 |
| uint32 | MaxLineCount = 0 |
| uint32 | MaxTriangleCount = 0 |
| bool | bIsDrawLocked = false |
Structure containing setup for shader print capturing.
|
default |
Construct with shader print disabled setup.
| ShaderPrint::FShaderPrintSetup::FShaderPrintSetup | ( | FSceneView const & | InView | ) |
Construct with view and system defaults.
| ShaderPrint::FShaderPrintSetup::FShaderPrintSetup | ( | FIntRect | InViewRect | ) |
Construct with view rectangle and system defaults.
The shader print system's enabled state. This is set in the constructor and should't be overriden.
Cursor pixel position within viewport. Can be used for isolating a pixel to debug.
| float ShaderPrint::FShaderPrintSetup::DPIScale = 1.f |
DPI scale to take into account when drawing font.
| FIntPoint ShaderPrint::FShaderPrintSetup::FontSize = 1 |
Font size in pixels.
| FIntPoint ShaderPrint::FShaderPrintSetup::FontSpacing = 1 |
Font spacing in pixels (not including font size).
| uint32 ShaderPrint::FShaderPrintSetup::MaxCharacterCount = 0 |
Initial size of character buffer. Will also be increased by RequestSpaceForCharacters().
| uint32 ShaderPrint::FShaderPrintSetup::MaxLineCount = 0 |
Initial size of line buffer. Will also be increased by RequestSpaceForLines().
| uint32 ShaderPrint::FShaderPrintSetup::MaxStateCount = 0 |
Initial size of widget buffer.
| uint32 ShaderPrint::FShaderPrintSetup::MaxTriangleCount = 0 |
Initial size of triangle buffer. Will also be increased by RequestSpaceForLines().
| FVector ShaderPrint::FShaderPrintSetup::PreViewTranslation = FVector::ZeroVector |
PreView translation used for storing line positions in translated world space.
Expected viewport rectangle.