| 783 | } |
| 784 | |
| 785 | static Volume* LoadVolume(cgltf_volume* in, Volume* out, dmHashTable64<void*>* cache) |
| 786 | { |
| 787 | LoadTextureView(&in->thickness_texture, &out->m_ThicknessTexture, cache); |
| 788 | |
| 789 | CopyArray(in->attenuation_color, out->m_AttenuationColor); |
| 790 | |
| 791 | out->m_ThicknessFactor = in->thickness_factor; |
| 792 | out->m_AttenuationDistance = in->attenuation_distance; |
| 793 | return out; |
| 794 | } |
| 795 | |
| 796 | static Sheen* LoadSheen(cgltf_sheen* in, Sheen* out, dmHashTable64<void*>* cache) |
| 797 | { |
nothing calls this directly
no test coverage detected