| 825 | } |
| 826 | |
| 827 | ref<Sampler> SceneCache::readSampler(InputStream& stream, ref<Device> pDevice) |
| 828 | { |
| 829 | bool valid = stream.read<bool>(); |
| 830 | if (valid) |
| 831 | { |
| 832 | auto desc = stream.read<Sampler::Desc>(); |
| 833 | return pDevice->createSampler(desc); |
| 834 | } |
| 835 | return nullptr; |
| 836 | } |
| 837 | |
| 838 | // GridVolume |
| 839 |
nothing calls this directly
no test coverage detected