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

            return(wt);
        }