IShaderFormat::CanStripShaderCode

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

Unreal Engine C++ API Reference > Developer > TargetPlatform > Interfaces > IShaderFormat

References

   
Module TargetPlatform
Header /Engine/Source/Developer/TargetPlatform/Public/Interfaces/IShaderFormat.h
Include #include "Interfaces/IShaderFormat.h"
virtual bool CanStripShaderCode
(
    bool const bNativeFormat
) const

Remarks

Can this shader format strip shader code for packaging in a shader library? True if and only if the format can strip extraneous data from shaders to be included in a shared library, otherwise false.

Parameters

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

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library