MCPcopy Create free account
hub / github.com/alecazam/kram / IsNumericType

Function IsNumericType

hlslparser/src/HLSLParser.cpp:243–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241}
242
243bool IsNumericType(HLSLBaseType baseType)
244{
245 return IsVectorType(baseType) || IsScalarType(baseType) || IsMatrixType(baseType);
246}
247
248HLSLBufferType ConvertTokenToBufferType(HLSLToken token)
249{

Callers 5

GetTypeNameMethod · 0.85
GetTypeNameMethod · 0.85
GetScalarTypeFunction · 0.85
GetNumericTypeNameFunction · 0.85
GetBinaryOpResultTypeFunction · 0.85

Calls 3

IsVectorTypeFunction · 0.85
IsScalarTypeFunction · 0.85
IsMatrixTypeFunction · 0.85

Tested by

no test coverage detected