Blender
V3.3
source
blender
freestyle
intern
stroke
StrokeShader.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-or-later */
2
3
#pragma once
4
10
#include <iostream>
11
#include <vector>
12
13
#ifdef WITH_CXX_GUARDEDALLOC
14
# include "
MEM_guardedalloc.h
"
15
#endif
16
17
using namespace
std
;
18
19
namespace
Freestyle
{
20
21
//
22
// StrokeShader base class
23
//
25
26
class
Stroke;
27
50
class
StrokeShader
{
51
public
:
52
void
*
py_ss
;
53
55
StrokeShader
()
56
{
57
py_ss = 0;
58
}
59
61
virtual
~StrokeShader
()
62
{
63
}
64
66
virtual
string
getName
()
const
67
{
68
return
"StrokeShader"
;
69
}
70
76
virtual
int
shade(
Stroke
&ioStroke)
const
;
77
78
#ifdef WITH_CXX_GUARDEDALLOC
79
MEM_CXX_CLASS_ALLOC_FUNCS(
"Freestyle:StrokeShader"
)
80
#endif
81
};
82
83
}
/* namespace Freestyle */
MEM_guardedalloc.h
Read Guarded memory(de)allocation.
Freestyle::StrokeShader
Definition:
StrokeShader.h:50
Freestyle::StrokeShader::~StrokeShader
virtual ~StrokeShader()
Definition:
StrokeShader.h:61
Freestyle::StrokeShader::py_ss
void * py_ss
Definition:
StrokeShader.h:52
Freestyle::StrokeShader::StrokeShader
StrokeShader()
Definition:
StrokeShader.h:55
Freestyle::StrokeShader::getName
virtual string getName() const
Definition:
StrokeShader.h:66
Freestyle::Stroke
Definition:
Stroke.h:487
Freestyle
inherits from class Rep
Definition:
AppCanvas.cpp:18
std
Definition:
cycles_cubin_cc.cpp:22
Generated on Tue Oct 22 2024 13:18:25 for Blender by
doxygen
1.9.1