| 2582 | } |
| 2583 | |
| 2584 | const TextureRef Textures::GetBlankTextureRef() { |
| 2585 | if (!blank_texture_ref.valid()) { |
| 2586 | blank_texture_ref = Engine::Instance()->GetAssetManager()->LoadSync<TextureAsset>("Data/Textures/diffuse.tga", PX_SRGB, 0x0); |
| 2587 | } |
| 2588 | return blank_texture_ref->GetTextureRef(); |
| 2589 | } |
| 2590 | |
| 2591 | const TextureAssetRef Textures::GetBlankTextureAssetRef() { |
| 2592 | if (!blank_texture_ref.valid()) { |
no test coverage detected