MCPcopy Create free account
hub / github.com/csyonghe/Spire / IsStruct

Method IsStruct

Source/SpireCore/Syntax.cpp:745–751  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

743 return false;
744 }
745 bool ExpressionType::IsStruct() const
746 {
747 auto basicType = AsBasicType();
748 if (basicType)
749 return basicType->structDecl != nullptr;
750 return false;
751 }
752 bool ExpressionType::IsShader() const
753 {
754 auto basicType = AsBasicType();

Callers 2

VisitMemberExpressionMethod · 0.80
VisitMemberExpressionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected