IShaderFormat::CanStripShaderCode

Can this shader format strip shader code for packaging in a shader library?

Windows
MacOS
Linux

References

Module

TargetPlatform

Header

/Engine/Source/Developer/TargetPlatform/Public/Interfaces/IShaderFormat.h

Include

#include "Interfaces/IShaderFormat.h"

Syntax

virtual bool CanStripShaderCode
(
    bool const bNativeFormat
) const

Remarks

Can this shader format strip shader code for packaging in a shader library?

Returns

True if and only if the format can strip extraneous data from shaders to be included in a shared library, otherwise false.

Parameters

Parameter

Description

bNative

Whether the final shader library uses a native format which may determine if the shader is stripped.

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