Exemplo n.º 1
0
 public void AddTexture(string name, WorkingTexture texture)
 {
     m_buffer.AddTexture(name, texture);
 }
Exemplo n.º 2
0
 public void SetTexture(string name, WorkingTexture texture)
 {
     m_buffer.SetTexture(name, texture);
 }
Exemplo n.º 3
0
        public static WorkingTexture ToWorkingTexture(this Texture2D texture, Allocator allocator)
        {
            var wt = new WorkingTexture(allocator, texture);

            return(wt);
        }