Texture2D ApplyPadding(Texture2D texture)
        {
            texture = texture.Clone();
            texture.ApplyPadding(PaddingMode, TrimIterations, MaxPaddingIterations);

            return(texture);
        }