Blender
V3.3
source
blender
compositor
intern
COM_ChunkOrder.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-or-later
2
* Copyright 2011 Blender Foundation. */
3
4
#pragma once
5
6
#ifdef WITH_CXX_GUARDEDALLOC
7
# include "
MEM_guardedalloc.h
"
8
#endif
9
10
#include "
COM_ChunkOrderHotspot.h
"
11
12
namespace
blender::compositor
{
13
15
struct
ChunkOrder
{
16
unsigned
int
index
= 0;
17
int
x
= 0;
18
int
y
= 0;
19
double
distance
= 0.0;
20
21
friend
bool
operator<
(
const
ChunkOrder
&
a
,
const
ChunkOrder
&
b
);
22
23
void
update_distance
(
ChunkOrderHotspot
*hotspots,
unsigned
int
len_hotspots);
24
25
#ifdef WITH_CXX_GUARDEDALLOC
26
MEM_CXX_CLASS_ALLOC_FUNCS(
"COM:ChunkOrderHotspot"
)
27
#endif
28
};
29
30
}
// namespace blender::compositor
COM_ChunkOrderHotspot.h
MEM_guardedalloc.h
Read Guarded memory(de)allocation.
Freestyle::a
static unsigned a[3]
Definition:
RandGen.cpp:78
blender::compositor
Definition:
COM_defines.h:10
usdtokens::b
static const pxr::TfToken b("b", pxr::TfToken::Immortal)
blender::compositor::ChunkOrderHotspot
Definition:
COM_ChunkOrderHotspot.h:12
blender::compositor::ChunkOrder
Definition:
COM_ChunkOrder.h:15
blender::compositor::ChunkOrder::x
int x
Definition:
COM_ChunkOrder.h:17
blender::compositor::ChunkOrder::operator<
friend bool operator<(const ChunkOrder &a, const ChunkOrder &b)
Definition:
COM_ChunkOrder.cc:22
blender::compositor::ChunkOrder::index
unsigned int index
Definition:
COM_ChunkOrder.h:16
blender::compositor::ChunkOrder::distance
double distance
Definition:
COM_ChunkOrder.h:19
blender::compositor::ChunkOrder::y
int y
Definition:
COM_ChunkOrder.h:18
blender::compositor::ChunkOrder::update_distance
void update_distance(ChunkOrderHotspot *hotspots, unsigned int len_hotspots)
Definition:
COM_ChunkOrder.cc:10
Generated on Tue Oct 22 2024 13:18:25 for Blender by
doxygen
1.9.1