Lines Matching refs:resFragmentLightingTable
197 ResFragmentLightingTable resFragmentLightingTable = in GetMemorySizeInternal() local
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()
475 ResFragmentLightingTable resFragmentLightingTable = in CopyResMaterial() local
477 if (resFragmentLightingTable.IsValid()) in CopyResMaterial()
480 this->CopyResFragmentLightingTable(allocator, resFragmentLightingTable); in CopyResMaterial()
543 … ResFragmentLightingTable resFragmentLightingTable = resFragmentShader.GetFragmentLightingTable(); in DestroyResFragmentShader() local
545 if (resFragmentLightingTable.IsValid()) in DestroyResFragmentShader()
547 if (resFragmentLightingTable.GetReflectanceRSampler().IsValid()) in DestroyResFragmentShader()
549 … allocator->Free(resFragmentLightingTable.GetReflectanceRSampler().GetSampler().ptr()); in DestroyResFragmentShader()
550 allocator->Free(resFragmentLightingTable.GetReflectanceRSampler().ptr()); in DestroyResFragmentShader()
553 if (resFragmentLightingTable.GetReflectanceGSampler().IsValid()) in DestroyResFragmentShader()
555 … allocator->Free(resFragmentLightingTable.GetReflectanceGSampler().GetSampler().ptr()); in DestroyResFragmentShader()
556 allocator->Free(resFragmentLightingTable.GetReflectanceGSampler().ptr()); in DestroyResFragmentShader()
559 if (resFragmentLightingTable.GetReflectanceBSampler().IsValid()) in DestroyResFragmentShader()
561 … allocator->Free(resFragmentLightingTable.GetReflectanceBSampler().GetSampler().ptr()); in DestroyResFragmentShader()
562 allocator->Free(resFragmentLightingTable.GetReflectanceBSampler().ptr()); in DestroyResFragmentShader()
565 if (resFragmentLightingTable.GetDistribution0Sampler().IsValid()) in DestroyResFragmentShader()
567 … allocator->Free(resFragmentLightingTable.GetDistribution0Sampler().GetSampler().ptr()); in DestroyResFragmentShader()
568 allocator->Free(resFragmentLightingTable.GetDistribution0Sampler().ptr()); in DestroyResFragmentShader()
571 if (resFragmentLightingTable.GetDistribution1Sampler().IsValid()) in DestroyResFragmentShader()
573 … allocator->Free(resFragmentLightingTable.GetDistribution1Sampler().GetSampler().ptr()); in DestroyResFragmentShader()
574 allocator->Free(resFragmentLightingTable.GetDistribution1Sampler().ptr()); in DestroyResFragmentShader()
577 if (resFragmentLightingTable.GetFresnelSampler().IsValid()) in DestroyResFragmentShader()
579 allocator->Free(resFragmentLightingTable.GetFresnelSampler().GetSampler().ptr()); in DestroyResFragmentShader()
580 allocator->Free(resFragmentLightingTable.GetFresnelSampler().ptr()); in DestroyResFragmentShader()
583 allocator->Free(resFragmentLightingTable.ptr()); in DestroyResFragmentShader()
606 ResFragmentLightingTable resFragmentLightingTable) in CopyResFragmentLightingTable() argument
618 new(tableMemory) ResFragmentLightingTableData(resFragmentLightingTable.ref()); in CopyResFragmentLightingTable()
627 if (resFragmentLightingTable.GetReflectanceRSampler().IsValid() && result.IsSuccess()) in CopyResFragmentLightingTable()
630 … this->CopyResLightingLookupTable(allocator, resFragmentLightingTable.GetReflectanceRSampler()); in CopyResFragmentLightingTable()
637 if (resFragmentLightingTable.GetReflectanceGSampler().IsValid() && result.IsSuccess()) in CopyResFragmentLightingTable()
640 … this->CopyResLightingLookupTable(allocator, resFragmentLightingTable.GetReflectanceGSampler()); in CopyResFragmentLightingTable()
647 if (resFragmentLightingTable.GetReflectanceBSampler().IsValid() && result.IsSuccess()) in CopyResFragmentLightingTable()
650 … this->CopyResLightingLookupTable(allocator, resFragmentLightingTable.GetReflectanceBSampler()); in CopyResFragmentLightingTable()
657 if (resFragmentLightingTable.GetDistribution0Sampler().IsValid() && result.IsSuccess()) in CopyResFragmentLightingTable()
660 … this->CopyResLightingLookupTable(allocator, resFragmentLightingTable.GetDistribution0Sampler()); in CopyResFragmentLightingTable()
667 if (resFragmentLightingTable.GetDistribution1Sampler().IsValid() && result.IsSuccess()) in CopyResFragmentLightingTable()
670 … this->CopyResLightingLookupTable(allocator, resFragmentLightingTable.GetDistribution1Sampler()); in CopyResFragmentLightingTable()
677 if (resFragmentLightingTable.GetFresnelSampler().IsValid() && result.IsSuccess()) in CopyResFragmentLightingTable()
680 … this->CopyResLightingLookupTable(allocator, resFragmentLightingTable.GetFresnelSampler()); in CopyResFragmentLightingTable()