aboutsummaryrefslogtreecommitdiff
path: root/sp/src/utils/vrad/vismat.h
blob: 927314a6935050dee2133181f4ba3a8c4f89f1ee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
//========= 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