| 700 | } |
| 701 | |
| 702 | static void LoadTextureView(cgltf_texture_view* in, TextureView* out, dmHashTable64<void*>* cache) |
| 703 | { |
| 704 | out->m_Texcoord = in->texcoord; |
| 705 | out->m_Scale = in->scale; |
| 706 | |
| 707 | out->m_HasTransform = in->has_transform != 0; |
| 708 | if (in->has_transform) |
| 709 | LoadTransform(&in->transform, &out->m_Transform); |
| 710 | else |
| 711 | IdentityTransform(&out->m_Transform); |
| 712 | |
| 713 | out->m_Texture = GetFromCache<Texture>(cache, in->texture); |
| 714 | } |
| 715 | |
| 716 | // Material properties |
| 717 |
no test coverage detected