ScummVM API documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
occlusion_query_tgl.h
1
/* ScummVM - Graphic Adventure Engine
2
*
3
* ScummVM is the legal property of its developers, whose names
4
* are too numerous to list here. Please refer to the COPYRIGHT
5
* file distributed with this source distribution.
6
*
7
* This program is free software: you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation, either version 3 of the License, or
10
* (at your option) any later version.
11
*
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with this program. If not, see <http://www.gnu.org/licenses/>.
19
*
20
*/
21
22
#ifndef HPL_OCCLUSION_QUERY_TGL_H
23
#define HPL_OCCLUSION_QUERY_TGL_H
24
25
#include "common/scummsys.h"
26
#include "hpl1/engine/graphics/OcclusionQuery.h"
27
28
#ifdef USE_TINYGL
29
30
namespace
hpl
{
31
32
class
OcclusionQueryTGL :
public
iOcclusionQuery {
33
public
:
34
OcclusionQueryTGL() {}
35
~OcclusionQueryTGL() {}
36
37
void
Begin()
override
{}
38
void
End()
override
{}
39
bool
FetchResults()
override
{
return
true
; }
40
unsigned
int
GetSampleCount()
override
{
return
0; }
41
};
42
43
}
// namespace hpl
44
45
#endif // USE_TINYGL
46
47
#endif // HPL_OCCLUSION_QUERY_TGL_H
hpl
Definition:
AI.h:36
engines
hpl1
engine
impl
occlusion_query_tgl.h
Generated on Sat Apr 12 2025 09:13:35 for ScummVM API documentation by
1.8.13