mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-23 06:36:54 +00:00
35 lines
683 B
C
35 lines
683 B
C
|
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||
|
//
|
||
|
// Purpose:
|
||
|
//
|
||
|
// $NoKeywords: $
|
||
|
//=============================================================================//
|
||
|
|
||
|
#ifndef VISMAT_H
|
||
|
#define VISMAT_H
|
||
|
#ifdef _WIN32
|
||
|
#pragma once
|
||
|
#endif
|
||
|
|
||
|
|
||
|
|
||
|
void BuildVisLeafs( int threadnum );
|
||
|
|
||
|
|
||
|
// MPI uses these.
|
||
|
struct transfer_t;
|
||
|
transfer_t* BuildVisLeafs_Start();
|
||
|
|
||
|
// If PatchCB is non-null, it is called after each row is generated (used by MPI).
|
||
|
void BuildVisLeafs_Cluster(
|
||
|
int threadnum,
|
||
|
transfer_t *transfers,
|
||
|
int iCluster,
|
||
|
void (*PatchCB)(int iThread, int patchnum, CPatch *patch) );
|
||
|
|
||
|
void BuildVisLeafs_End( transfer_t *transfers );
|
||
|
|
||
|
|
||
|
|
||
|
#endif // VISMAT_H
|