private Apply ( bool updateMipmaps ) : void | ||
updateMipmaps | bool | |
Результат | void |
public void Apply(bool updateMipmaps)
{
bool makeNoLongerReadable = false;
this.Apply(updateMipmaps, makeNoLongerReadable);
}
/// <summary> /// Initializes a new instance of the <see cref="UnityGwenRenderer"/> class. /// </summary> /// <param name="target">Unity render target.</param> public UnityGwenRenderer() { whiteTex = new Texture2D(1, 1); whiteTex.SetPixel(0, 0, UnityEngine.Color.white); whiteTex.Apply(); m_ViewScale = Vector2.one; }