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

Function IsSwizzle

hlslparser/src/HLSLParser.cpp:4569–4573  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4567}
4568
4569inline bool IsSwizzle(char c)
4570{
4571 return c == 'x' || c == 'y' || c == 'z' || c == 'w' ||
4572 c == 'r' || c == 'g' || c == 'b' || c == 'a';
4573}
4574
4575bool HLSLParser::GetMemberType(const HLSLType& objectType, HLSLMemberAccess* memberAccess)
4576{

Callers 1

GetMemberTypeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected