Blender
V2.93
source
blender
makesdna
DNA_gpu_types.h
Go to the documentation of this file.
1
/*
2
* This program is free software; you can redistribute it and/or
3
* modify it under the terms of the GNU General Public License
4
* as published by the Free Software Foundation; either version 2
5
* of the License, or (at your option) any later version.
6
*
7
* This program is distributed in the hope that it will be useful,
8
* but WITHOUT ANY WARRANTY; without even the implied warranty of
9
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
* GNU General Public License for more details.
11
*
12
* You should have received a copy of the GNU General Public License
13
* along with this program; if not, write to the Free Software Foundation,
14
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15
*
16
* The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
17
* All rights reserved.
18
*/
19
24
#pragma once
25
26
#ifdef __cplusplus
27
extern
"C"
{
28
#endif
29
30
/* Keep for 'Camera' versioning. */
32
typedef
struct
GPUDOFSettings
{
34
float
focus_distance
;
35
float
fstop
;
36
float
focal_length
;
37
float
sensor
;
38
float
rotation
;
39
float
ratio
;
40
int
num_blades
;
41
int
high_quality
;
42
}
GPUDOFSettings
;
43
44
#ifdef __cplusplus
45
}
46
#endif
GPUDOFSettings
struct GPUDOFSettings GPUDOFSettings
GPUDOFSettings
Definition:
DNA_gpu_types.h:32
GPUDOFSettings::num_blades
int num_blades
Definition:
DNA_gpu_types.h:40
GPUDOFSettings::sensor
float sensor
Definition:
DNA_gpu_types.h:37
GPUDOFSettings::rotation
float rotation
Definition:
DNA_gpu_types.h:38
GPUDOFSettings::ratio
float ratio
Definition:
DNA_gpu_types.h:39
GPUDOFSettings::fstop
float fstop
Definition:
DNA_gpu_types.h:35
GPUDOFSettings::focal_length
float focal_length
Definition:
DNA_gpu_types.h:36
GPUDOFSettings::high_quality
int high_quality
Definition:
DNA_gpu_types.h:41
GPUDOFSettings::focus_distance
float focus_distance
Definition:
DNA_gpu_types.h:34
Generated on Tue Jan 31 2023 14:37:24 for Blender by
doxygen
1.9.1