Navigation
API > API/Runtime > API/Runtime/RenderCore > API/Runtime/RenderCore/FShaderSource
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Construct an empty shader source object; will still contain padding | ShaderSource.h | ||
FShaderSource
(
FViewType InSrc, |
Given a string view construct a shader source object containing the contents of that string. | ShaderSource.h |
FShaderSource()
Description
Construct an empty shader source object; will still contain padding
| Name | FShaderSource |
| Type | function |
| Header File | /Engine/Source/Runtime/RenderCore/Public/ShaderSource.h |
| Include Path | #include "ShaderSource.h" |
FShaderSource()
FShaderSource(FViewType, int32)
Description
Given a string view construct a shader source object containing the contents of that string. Note that this will incur a memcpy of the string contents.
| Name | FShaderSource |
| Type | function |
| Header File | /Engine/Source/Runtime/RenderCore/Public/ShaderSource.h |
| Include Path | #include "ShaderSource.h" |
| Source | /Engine/Source/Runtime/RenderCore/Private/ShaderSource.cpp |
FShaderSource
(
FViewType InSrc,
int32 AdditionalSlack
)
Parameters
| Name | Remarks |
|---|---|
| InSrc | The source string to be copied |
| AdditionalSlack | optional additional space to allocate; this is on top of the automatic padding. |