| 826 | } |
| 827 | |
| 828 | SamplerID Device::CreateSampler() { |
| 829 | ResourceInfo& resource = resources.emplace_back(); |
| 830 | resource.type = ResourceType::SamplerState; |
| 831 | return SamplerID(ResourceID(static_cast<uint32_t>(resources.size()) - 1)); |
| 832 | } |
| 833 | |
| 834 | Device::HeapInfo &Device::GetHeapForType(ResourceType type) { |
| 835 | switch (type) { |
no test coverage detected