Lines Matching refs:IsValid
58 NW_ASSERT(resShader.IsValid()); in Material()
73 NW_ASSERT(resource.IsValid()); in Create()
168 if (resTextureMapper.IsValid()) in GetMemorySizeInternal()
178 if (resTextureMapper.IsValid()) in GetMemorySizeInternal()
186 if (resMaterial.GetFragmentShader().IsValid()) in GetMemorySizeInternal()
195 if (resFragmentShader.GetFragmentLightingTable().IsValid()) in GetMemorySizeInternal()
201 if (resFragmentLightingTable.GetReflectanceRSampler().IsValid()) in GetMemorySizeInternal()
206 if (resFragmentLightingTable.GetReflectanceGSampler().IsValid()) in GetMemorySizeInternal()
211 if (resFragmentLightingTable.GetReflectanceBSampler().IsValid()) in GetMemorySizeInternal()
216 if (resFragmentLightingTable.GetDistribution0Sampler().IsValid()) in GetMemorySizeInternal()
221 if (resFragmentLightingTable.GetDistribution1Sampler().IsValid()) in GetMemorySizeInternal()
226 if (resFragmentLightingTable.GetFresnelSampler().IsValid()) in GetMemorySizeInternal()
420 if (resTextureMapper.IsValid()) in CopyResMaterial()
424 if (!textureMapper.IsValid()) in CopyResMaterial()
438 if (resTextureMapper.IsValid()) in CopyResMaterial()
442 if (!textureMapper.IsValid()) in CopyResMaterial()
455 if (resFragmentShader.IsValid()) in CopyResMaterial()
477 if (resFragmentLightingTable.IsValid()) in CopyResMaterial()
502 if (resMaterial.IsValid()) in DestroyResMaterial()
508 if (resMaterial.GetProceduralTextureMapper().IsValid()) in DestroyResMaterial()
515 if (resMaterial.GetTextureMappers(i).IsValid()) in DestroyResMaterial()
541 if (resFragmentShader.IsValid()) in DestroyResFragmentShader()
545 if (resFragmentLightingTable.IsValid()) in DestroyResFragmentShader()
547 if (resFragmentLightingTable.GetReflectanceRSampler().IsValid()) in DestroyResFragmentShader()
553 if (resFragmentLightingTable.GetReflectanceGSampler().IsValid()) in DestroyResFragmentShader()
559 if (resFragmentLightingTable.GetReflectanceBSampler().IsValid()) in DestroyResFragmentShader()
565 if (resFragmentLightingTable.GetDistribution0Sampler().IsValid()) in DestroyResFragmentShader()
571 if (resFragmentLightingTable.GetDistribution1Sampler().IsValid()) in DestroyResFragmentShader()
577 if (resFragmentLightingTable.GetFresnelSampler().IsValid()) in DestroyResFragmentShader()
596 if (resShaderParameter.IsValid()) in DestroyResShaderParameter()
627 if (resFragmentLightingTable.GetReflectanceRSampler().IsValid() && result.IsSuccess()) in CopyResFragmentLightingTable()
637 if (resFragmentLightingTable.GetReflectanceGSampler().IsValid() && result.IsSuccess()) in CopyResFragmentLightingTable()
647 if (resFragmentLightingTable.GetReflectanceBSampler().IsValid() && result.IsSuccess()) in CopyResFragmentLightingTable()
657 if (resFragmentLightingTable.GetDistribution0Sampler().IsValid() && result.IsSuccess()) in CopyResFragmentLightingTable()
667 if (resFragmentLightingTable.GetDistribution1Sampler().IsValid() && result.IsSuccess()) in CopyResFragmentLightingTable()
677 if (resFragmentLightingTable.GetFresnelSampler().IsValid() && result.IsSuccess()) in CopyResFragmentLightingTable()