Files
BlenderSharp/BlendFile/DNA/Histogram.cs
2025-03-04 18:48:04 +01:00

76 lines
3.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(166, "Histogram", 5160)]
public class Histogram {
[DNAFieldAttribute(4, "int", 0, "channels", "int", false, 0)]
public int channels;
[DNAFieldAttribute(4, "int", 1, "x_resolution", "int", false, 4)]
public int x_resolution;
[DNAFieldAttribute(1024, "float", 2, "data_luma[256]", "System.Single[]", false, 8)]
public float[] data_luma = new System.Single[256];
[DNAFieldAttribute(1024, "float", 3, "data_r[256]", "System.Single[]", false, 1032)]
public float[] data_r = new System.Single[256];
[DNAFieldAttribute(1024, "float", 4, "data_g[256]", "System.Single[]", false, 2056)]
public float[] data_g = new System.Single[256];
[DNAFieldAttribute(1024, "float", 5, "data_b[256]", "System.Single[]", false, 3080)]
public float[] data_b = new System.Single[256];
[DNAFieldAttribute(1024, "float", 6, "data_a[256]", "System.Single[]", false, 4104)]
public float[] data_a = new System.Single[256];
[DNAFieldAttribute(4, "float", 7, "xmax", "float", false, 5128)]
public float xmax;
[DNAFieldAttribute(4, "float", 8, "ymax", "float", false, 5132)]
public float ymax;
[DNAFieldAttribute(2, "short", 9, "mode", "short", false, 5136)]
public short mode;
[DNAFieldAttribute(2, "short", 10, "flag", "short", false, 5138)]
public short flag;
[DNAFieldAttribute(4, "int", 11, "height", "int", false, 5140)]
public int height;
[DNAFieldAttribute(16, "float", 12, "co[2][2]", "System.Single[,]", false, 5144)]
public float[,] co = new System.Single[2,2];
public Histogram() {
this.channels = default;
this.x_resolution = default;
this.data_luma = default;
this.data_r = default;
this.data_g = default;
this.data_b = default;
this.data_a = default;
this.xmax = default;
this.ymax = default;
this.mode = default;
this.flag = default;
this.height = default;
this.co = default;
}
public Histogram(int channels, int x_resolution, float[] data_luma, float[] data_r, float[] data_g, float[] data_b, float[] data_a, float xmax, float ymax, short mode, short flag, int height, float[,] co) {
this.channels = channels;
this.x_resolution = x_resolution;
this.data_luma = data_luma;
this.data_r = data_r;
this.data_g = data_g;
this.data_b = data_b;
this.data_a = data_a;
this.xmax = xmax;
this.ymax = ymax;
this.mode = mode;
this.flag = flag;
this.height = height;
this.co = co;
}
}
}