Exemple #1
0
        /// <summary>
        /// Sets the serialized data version of this <see cref="Texture" />.
        /// </summary>
        /// <param name="texture">The texture.</param>
        /// <param name="data">The data.</param>
        public static void SetSerializationData(this Texture texture, TextureSerializationData data)
        {
            var attachedReference = AttachedReferenceManager.GetOrCreateAttachedReference(texture);

            attachedReference.Data = data;
        }