MapLibre Native Core
Main Page
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
v
Typedefs
a
c
d
e
f
g
i
l
m
n
o
p
s
t
u
v
Enumerations
a
b
c
e
f
h
i
k
l
m
n
o
r
s
t
v
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
Enumerator
Related Functions
a
b
e
i
m
o
s
t
Files
File List
File Members
All
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
rendering_stats.hpp
Go to the documentation of this file.
1
#pragma once
2
3
namespace
mbgl
{
4
namespace
gfx {
5
6
struct
RenderingStats
{
7
RenderingStats
() =
default
;
8
bool
isZero
()
const
;
9
10
int
numDrawCalls
;
11
int
numActiveTextures
;
12
int
numCreatedTextures
;
13
int
numBuffers
;
14
int
numFrameBuffers
;
15
16
int
memTextures
;
17
int
memIndexBuffers
;
18
int
memVertexBuffers
;
19
20
RenderingStats
&
operator+=
(
const
RenderingStats
& right);
21
};
22
23
inline
RenderingStats
&
RenderingStats::operator+=
(
const
RenderingStats
& r) {
24
numDrawCalls
+= r.
numDrawCalls
;
25
numActiveTextures
+= r.
numActiveTextures
;
26
numCreatedTextures
+= r.
numCreatedTextures
;
27
numBuffers
+= r.
numBuffers
;
28
numFrameBuffers
+= r.
numFrameBuffers
;
29
30
memTextures
+= r.
memTextures
;
31
memIndexBuffers
+= r.
memIndexBuffers
;
32
memVertexBuffers
+= r.
memVertexBuffers
;
33
return
*
this
;
34
}
35
36
}
// namespace gfx
37
}
// namespace mbgl
mbgl
Definition:
actor.hpp:15
mbgl::gfx::RenderingStats
Definition:
rendering_stats.hpp:6
mbgl::gfx::RenderingStats::memTextures
int memTextures
Definition:
rendering_stats.hpp:16
mbgl::gfx::RenderingStats::isZero
bool isZero() const
mbgl::gfx::RenderingStats::numCreatedTextures
int numCreatedTextures
Definition:
rendering_stats.hpp:12
mbgl::gfx::RenderingStats::RenderingStats
RenderingStats()=default
mbgl::gfx::RenderingStats::memVertexBuffers
int memVertexBuffers
Definition:
rendering_stats.hpp:18
mbgl::gfx::RenderingStats::numBuffers
int numBuffers
Definition:
rendering_stats.hpp:13
mbgl::gfx::RenderingStats::operator+=
RenderingStats & operator+=(const RenderingStats &right)
Definition:
rendering_stats.hpp:23
mbgl::gfx::RenderingStats::numFrameBuffers
int numFrameBuffers
Definition:
rendering_stats.hpp:14
mbgl::gfx::RenderingStats::memIndexBuffers
int memIndexBuffers
Definition:
rendering_stats.hpp:17
mbgl::gfx::RenderingStats::numDrawCalls
int numDrawCalls
Definition:
rendering_stats.hpp:10
mbgl::gfx::RenderingStats::numActiveTextures
int numActiveTextures
Definition:
rendering_stats.hpp:11
include
mbgl
gfx
rendering_stats.hpp
MapLibre website
|
GitHub repository