| 133 | } |
| 134 | |
| 135 | ref_ptr<Texture::ResourceInfo> StaticTexture::FindResource(Texture::Key const & key, bool & newResource) |
| 136 | { |
| 137 | newResource = false; |
| 138 | if (key.GetType() != Texture::ResourceType::Static) |
| 139 | return nullptr; |
| 140 | return make_ref(m_info); |
| 141 | } |
| 142 | |
| 143 | void StaticTexture::Create(ref_ptr<dp::GraphicsContext> context, Params const & params) |
| 144 | { |
no test coverage detected