56 lines
2.2 KiB
C#
56 lines
2.2 KiB
C#
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// This code was generated by a tool.
|
|
//
|
|
// Changes to this file may cause incorrect behavior and will be lost if
|
|
// the code is regenerated.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
using System;
|
|
|
|
|
|
namespace BlendFile.DNA {
|
|
using BlendFile;
|
|
|
|
[DNAClassAttribute(153, "GPUDOFSettings", 32)]
|
|
public struct GPUDOFSettings {
|
|
[DNAFieldAttribute(0, "float", "focus_distance", "float", 4, false, 0)]
|
|
public float focus_distance;
|
|
[DNAFieldAttribute(1, "float", "fstop", "float", 4, false, 4)]
|
|
public float fstop;
|
|
[DNAFieldAttribute(2, "float", "focal_length", "float", 4, false, 8)]
|
|
public float focal_length;
|
|
[DNAFieldAttribute(3, "float", "sensor", "float", 4, false, 12)]
|
|
public float sensor;
|
|
[DNAFieldAttribute(4, "float", "rotation", "float", 4, false, 16)]
|
|
public float rotation;
|
|
[DNAFieldAttribute(5, "float", "ratio", "float", 4, false, 20)]
|
|
public float ratio;
|
|
[DNAFieldAttribute(6, "int", "num_blades", "int", 4, false, 24)]
|
|
public int num_blades;
|
|
[DNAFieldAttribute(7, "int", "high_quality", "int", 4, false, 28)]
|
|
public int high_quality;
|
|
public GPUDOFSettings() {
|
|
this.focus_distance = default;
|
|
this.fstop = default;
|
|
this.focal_length = default;
|
|
this.sensor = default;
|
|
this.rotation = default;
|
|
this.ratio = default;
|
|
this.num_blades = default;
|
|
this.high_quality = default;
|
|
}
|
|
public GPUDOFSettings(float focus_distance, float fstop, float focal_length, float sensor, float rotation, float ratio, int num_blades, int high_quality) {
|
|
this.focus_distance = focus_distance;
|
|
this.fstop = fstop;
|
|
this.focal_length = focal_length;
|
|
this.sensor = sensor;
|
|
this.rotation = rotation;
|
|
this.ratio = ratio;
|
|
this.num_blades = num_blades;
|
|
this.high_quality = high_quality;
|
|
}
|
|
}
|
|
}
|