Navigation
API > API/Runtime > API/Runtime/RenderCore > API/Runtime/RenderCore/FShaderSource
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ShrinkToLen
(
int32 Num, |
Reduces the set size of the stored string length, optionally shrinking the allocation. | ShaderSource.h | |
void ShrinkToLen
(
int32 Num, |
ShaderSource.h |
ShrinkToLen(int32, EAllowShrinking)
Description
Reduces the set size of the stored string length, optionally shrinking the allocation.
| Name | ShrinkToLen |
| Type | function |
| Header File | /Engine/Source/Runtime/RenderCore/Public/ShaderSource.h |
| Include Path | #include "ShaderSource.h" |
void ShrinkToLen
(
int32 Num,
EAllowShrinking AllowShrinking
)
Parameters
| Name | Remarks |
|---|---|
| Num | the desired allocation size (padding bytes will be added on top of this) |
| AllowShrinking | whether to reallocate or keep the existing larger size allocation |
ShrinkToLen(int32, bool)
| Name | ShrinkToLen |
| Type | function |
| Header File | /Engine/Source/Runtime/RenderCore/Public/ShaderSource.h |
| Include Path | #include "ShaderSource.h" |
void ShrinkToLen
(
int32 Num,
bool bShrink
)