Revamp texture target class structure. Not yet finished.