MCPcopy Create free account
hub / github.com/KhronosGroup/glslang / TObjectReflection

Method TObjectReflection

glslang/MachineIndependent/reflection.cpp:1097–1102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1095//
1096
1097TObjectReflection::TObjectReflection(const std::string &pName, const TType &pType, int pOffset, int pGLDefineType,
1098 int pSize, int pIndex)
1099 : name(pName), offset(pOffset), glDefineType(pGLDefineType), size(pSize), index(pIndex), counterIndex(-1),
1100 numMembers(-1), arrayStride(0), topLevelArrayStride(0), stages(EShLanguageMask(0)), type(pType.clone())
1101{
1102}
1103
1104int TObjectReflection::getBinding() const
1105{

Callers

nothing calls this directly

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected