31 lines
535 B
C
31 lines
535 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later
|
|
* Copyright 2001-2002 NaN Holding BV. All rights reserved. */
|
|
|
|
/** \file
|
|
* \ingroup DNA
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* Keep for 'Camera' versioning. */
|
|
/** Properties for DOF effect. */
|
|
typedef struct GPUDOFSettings {
|
|
/** Focal distance for depth of field. */
|
|
float focus_distance;
|
|
float fstop;
|
|
float focal_length;
|
|
float sensor;
|
|
float rotation;
|
|
float ratio;
|
|
int num_blades;
|
|
int high_quality;
|
|
} GPUDOFSettings;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|