FShaderConductorContext::GetSourceLength

Returns a length of the internal loaded sources (excluding the null terminator).

Windows
MacOS
Linux

References

Module

ShaderCompilerCommon

Header

/Engine/Source/Developer/ShaderCompilerCommon/Public/ShaderCompilerCommon.h

Include

#include "ShaderCompilerCommon.h"

Source

/Engine/Source/Developer/ShaderCompilerCommon/Private/ShaderCompilerCommon.cpp

Syntax

int32 GetSourceLength() const

Remarks

Returns a length of the internal loaded sources (excluding the null terminator). This is automatically updated when RewriteHlsl() is called.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss