Lines Matching refs:result
38 Result result = RESOURCE_RESULT_OK; in Setup() local
43 result |= this->SetupTextures(allocator, *this, graphicsFile); in Setup()
49 result |= this->SetupShader(allocator, this->GetShader(), graphicsFile); in Setup()
58 result |= resultFragmentShader; in Setup()
70 if (result.IsSuccess()) in Setup()
75 return result; in Setup()
112 Result result = RESOURCE_RESULT_OK; in SetupTextures() local
115 result |= SetupTextureCoordinators(resMaterial); in SetupTextures()
133 result |= resTextureMapper.Setup(allocator, graphicsFile); in SetupTextures()
191 if (result.IsSuccess()) in SetupTextures()
197 result |= RESOURCE_RESULT_IRRELEVANT_TEXTURE_MAPPING_METHOD; in SetupTextures()
219 result |= resMaterial.GetProceduralTextureMapper().Setup(allocator, graphicsFile); in SetupTextures()
222 if (result.IsSuccess()) in SetupTextures()
227 return result; in SetupTextures()
232 Result result = RESOURCE_RESULT_OK; in SetupTextureCoordinators() local
326 return result; in SetupTextureCoordinators()
337 Result result = RESOURCE_RESULT_OK; in SetupShader() local
362 result |= Result::MASK_FAIL_BIT; in SetupShader()
363 result |= RESOURCE_RESULT_NOT_FOUND_SHADER; in SetupShader()
375 result |= setupShader.Setup(allocator, graphicsFile); in SetupShader()
379 bool isSetup = resShader.IsValid() && result.IsSuccess(); in SetupShader()
393 return result; in SetupShader()