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

            return(wt);
        }