Files
BlenderSharp/BlendFile/DNA/Histogram.cs

76 lines
2.8 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")]
public struct Histogram {
[DNAFieldAttribute(0, "int", "channels", 4)]
public int channels;
[DNAFieldAttribute(1, "int", "x_resolution", 4)]
public int x_resolution;
[DNAFieldAttribute(2, "float", "data_luma[256]", 4)]
public float[] data_luma = new System.Single[256];
[DNAFieldAttribute(3, "float", "data_r[256]", 4)]
public float[] data_r = new System.Single[256];
[DNAFieldAttribute(4, "float", "data_g[256]", 4)]
public float[] data_g = new System.Single[256];
[DNAFieldAttribute(5, "float", "data_b[256]", 4)]
public float[] data_b = new System.Single[256];
[DNAFieldAttribute(6, "float", "data_a[256]", 4)]
public float[] data_a = new System.Single[256];
[DNAFieldAttribute(7, "float", "xmax", 4)]
public float xmax;
[DNAFieldAttribute(8, "float", "ymax", 4)]
public float ymax;
[DNAFieldAttribute(9, "short", "mode", 2)]
public short mode;
[DNAFieldAttribute(10, "short", "flag", 2)]
public short flag;
[DNAFieldAttribute(11, "int", "height", 4)]
public int height;
[DNAFieldAttribute(12, "float", "co[2][2]", 4)]
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;
}
}
}