Navigation
API > API/Runtime > API/Runtime/Renderer
References
| Module | Renderer |
| Header | /Engine/Source/Runtime/Renderer/Public/ShaderPrintParameters.h |
| Include | #include "ShaderPrintParameters.h" |
Syntax
struct FStrings
Remarks
Experimental GPU string
In Cpp: SHADER_PARAMETER_STRUCT(ShaderPrint::FStrings::FShaderPararameters, MyVariable) ShaderPrint::FStrings MyVariable; MyVariable.Add(FString(...), StringId);
In shader: FSTRINGS(MyVariable) void foo() { InitShaderPrintContext Ctx = InitShaderPrintContext(...); PrintMyVariable(Ctx, StringId, FontWhite); }
Variables
| Type | Name | Description | |
|---|---|---|---|
| InfoCount InfoBuffer uint32 | InAvgStringLength |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Add
(
const FString& In |
||
| void | Add
(
const FString& In, |
||
BEGIN_SHADER_PARAMETER_STRUCT
(
FShaderParameters |
|||
| FShaderParameters | GetParameters
(
FRDGBuilder& GraphBuilder |
||
| InfoCount | SHADER_PARAMETER
(
uint32, |
||
| InfoCount InfoBuffer | SHADER_PARAMETER_RDG_BUFFER_SRV
(
Buffer< uint8 >, |