(&self)
| 281 | |
| 282 | impl TextureOwner { |
| 283 | pub fn texture(&self) -> &Texture2D { |
| 284 | match self { |
| 285 | TextureOwner::Standalone(tex) => tex, |
| 286 | TextureOwner::RenderTarget(rt) => &rt.texture, |
| 287 | } |
| 288 | } |
| 289 | } |
| 290 | |
| 291 | impl From<Texture2D> for TextureOwner { |
no outgoing calls
no test coverage detected