Наследование: IMaterialTexture
        /// <summary>
        /// Deserializes a material texture from binary data.
        /// </summary>
        /// <param name="reader">
        /// The binary reader to read from.
        /// </param>
        /// <returns>
        /// The deserialized material texture.
        /// </returns>
        private IMaterialTexture DeserializeMaterialTexture(BinaryReader reader)
        {
            if (reader.ReadBoolean())
            {
                var texture = new MaterialTexture();
                texture.HintPath = reader.ReadString();
                return(texture);
            }

            return(null);
        }
        /// <summary>
        /// Deserializes a material texture from binary data.
        /// </summary>
        /// <param name="reader">
        /// The binary reader to read from.
        /// </param>
        /// <returns>
        /// The deserialized material texture.
        /// </returns>
        private IMaterialTexture DeserializeMaterialTexture(BinaryReader reader)
        {
            if (reader.ReadBoolean())
            {
                var texture = new MaterialTexture();
                texture.HintPath = reader.ReadString();
                return texture;
            }

            return null;
        }