| 8 | } |
| 9 | |
| 10 | unsigned int MixedTextureMaterial::GetHashCode() { |
| 11 | auto hash = static_cast<unsigned int>(m_interpolate_factor) ^ m_second_texture->GetIdentifier(); |
| 12 | |
| 13 | return hash ^ ShaderMaterial::GetHashCode(); |
| 14 | } |
| 15 | |
| 16 | void MixedTextureMaterial::SetSecondTexture(Ref<Textures::Texture>& texture) { |
| 17 | m_second_texture = texture; |
nothing calls this directly
no test coverage detected