MCPcopy Create free account
hub / github.com/carbonengine/trinity / FromSymbol

Method FromSymbol

shadercompiler/Type.cpp:63–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63bool Type::FromSymbol( const Symbol* asymbol )
64{
65 if( !asymbol->isTypeName )
66 {
67 return false;
68 }
69 symbol = asymbol;
70 builtInType = 0;
71 width = 1;
72 height = 1;
73 templateParameter = nullptr;
74 modifier = 0;
75 storageClass = 0;
76 arrayDimensions = 0;
77 metalTextureAccess = 0;
78 templateSamples = -1;
79 isDepthTexture = false;
80 return true;
81}
82
83bool Type::IsScalar() const
84{

Callers 3

TypeFromSymbolFunction · 0.80
PatchGlobalsInFunctionsFunction · 0.80
CreateGlobalInputsStructFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected