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