UnityEngine.Texture2D.Apply C# (CSharp) 메소드

Apply() 개인적인 메소드

private Apply ( [ updateMipmaps, [ makeNoLongerReadable ) : void
updateMipmaps [
makeNoLongerReadable [
리턴 void
        public extern void Apply([DefaultValue("true")] bool updateMipmaps, [DefaultValue("false")] bool makeNoLongerReadable);
        /// <summary>

Same methods

Texture2D::Apply ( ) : void
Texture2D::Apply ( bool updateMipmaps ) : void

Usage Example

예제 #1
1
 /// <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;
 }
All Usage Examples Of UnityEngine.Texture2D::Apply