MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/PhysX / checksumCheck

Method checksumCheck

physx/samples/samplebase/SampleInputMappingAsset.cpp:102–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102bool SampleInputMappingAsset::checksumCheck()
103{
104 PxU32 userInputCS = 0;
105 if(!mSettingsBlock->getBlockU32("UserInputCS",&userInputCS))
106 {
107 return false;
108 }
109
110 PxU32 inputEventCS = 0;
111 if(!mSettingsBlock->getBlockU32("InputEventCS",&inputEventCS))
112 {
113 return false;
114 }
115
116 if(mUserInputCS != userInputCS)
117 {
118 return false;
119 }
120
121 if(mInputEventCS != inputEventCS)
122 {
123 return false;
124 }
125
126 return true;
127}
128
129SampleInputMappingAsset::~SampleInputMappingAsset()
130{

Callers

nothing calls this directly

Calls 1

getBlockU32Method · 0.80

Tested by

no test coverage detected