UnityEngine.Texture.GetNativeTextureID C# (CSharp) Method

GetNativeTextureID() private method

private GetNativeTextureID ( ) : int
return int
        public extern int GetNativeTextureID();
        /// <summary>

Usage Example

 public static void WriteOnTexture(Texture textureToWrite, string text, string fontName, DFTAlignment alignment, int fontSize, int width, int height)
 {
     if(width==0||height==0||fontSize==0)
     {
         Debug.Log("Please check arguments.");
     }
     else
     {
         _writeOnGLTexture(textureToWrite.GetNativeTextureID(),text,fontName,(int)alignment,fontSize,width,height);
     }
 }
All Usage Examples Of UnityEngine.Texture::GetNativeTextureID