public void AddTexture(string name, WorkingTexture texture)
 {
     m_buffer.AddTexture(name, texture);
 }
 public void SetTexture(string name, WorkingTexture texture)
 {
     m_buffer.SetTexture(name, texture);
 }
        public static WorkingTexture ToWorkingTexture(this Texture2D texture, Allocator allocator)
        {
            var wt = new WorkingTexture(allocator, texture);

            return(wt);
        }