Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
683 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef VISMAT_H
  8. #define VISMAT_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. void BuildVisLeafs( int threadnum );
  13. // MPI uses these.
  14. struct transfer_t;
  15. transfer_t* BuildVisLeafs_Start();
  16. // If PatchCB is non-null, it is called after each row is generated (used by MPI).
  17. void BuildVisLeafs_Cluster(
  18. int threadnum,
  19. transfer_t *transfers,
  20. int iCluster,
  21. void (*PatchCB)(int iThread, int patchnum, CPatch *patch) );
  22. void BuildVisLeafs_End( transfer_t *transfers );
  23. #endif // VISMAT_H