| 862 | } |
| 863 | |
| 864 | ref<Texture> Device::createTexture2DMS( |
| 865 | uint32_t width, |
| 866 | uint32_t height, |
| 867 | ResourceFormat format, |
| 868 | uint32_t sampleCount, |
| 869 | uint32_t arraySize, |
| 870 | ResourceBindFlags bindFlags |
| 871 | ) |
| 872 | { |
| 873 | return make_ref<Texture>( |
| 874 | ref<Device>(this), Resource::Type::Texture2DMultisample, format, width, height, 1, arraySize, 1, sampleCount, bindFlags, nullptr |
| 875 | ); |
| 876 | } |
| 877 | |
| 878 | ref<Texture> Device::createTextureFromResource( |
| 879 | gfx::ITextureResource* pResource, |
no outgoing calls
no test coverage detected