Files
BlenderSharp/BlendFile/DNA/ImageFormatData.cs
Samuele Lorefice 0674e6b136 - Modified DNAClassAttribute to also support usage on structs
- Added auto generation of DNAClass attributes on file generation
- Regenerated all files
2025-01-23 16:15:50 +01:00

110 lines
4.5 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(615, "ImageFormatData")]
public struct ImageFormatData {
[DNAFieldAttribute(0, "char", "imtype", 1)]
public char imtype;
[DNAFieldAttribute(1, "char", "depth", 1)]
public char depth;
[DNAFieldAttribute(2, "char", "planes", 1)]
public char planes;
[DNAFieldAttribute(3, "char", "flag", 1)]
public char flag;
[DNAFieldAttribute(4, "char", "quality", 1)]
public char quality;
[DNAFieldAttribute(5, "char", "compress", 1)]
public char compress;
[DNAFieldAttribute(6, "char", "exr_codec", 1)]
public char exr_codec;
[DNAFieldAttribute(7, "char", "cineon_flag", 1)]
public char cineon_flag;
[DNAFieldAttribute(8, "short", "cineon_white", 2)]
public short cineon_white;
[DNAFieldAttribute(9, "short", "cineon_black", 2)]
public short cineon_black;
[DNAFieldAttribute(10, "float", "cineon_gamma", 4)]
public float cineon_gamma;
[DNAFieldAttribute(11, "char", "jp2_flag", 1)]
public char jp2_flag;
[DNAFieldAttribute(12, "char", "jp2_codec", 1)]
public char jp2_codec;
[DNAFieldAttribute(13, "char", "tiff_codec", 1)]
public char tiff_codec;
[DNAFieldAttribute(14, "char", "_pad[4]", 1)]
public char[] _pad = new System.Char[4];
[DNAFieldAttribute(15, "char", "views_format", 1)]
public char views_format;
[DNAFieldAttribute(16, "Stereo3dFormat", "stereo3d_format", 8)]
public Stereo3dFormat stereo3d_format;
[DNAFieldAttribute(17, "char", "color_management", 1)]
public char color_management;
[DNAFieldAttribute(18, "char", "_pad1[7]", 1)]
public char[] _pad1 = new System.Char[7];
[DNAFieldAttribute(19, "ColorManagedViewSettings", "view_settings", 168)]
public ColorManagedViewSettings view_settings;
[DNAFieldAttribute(20, "ColorManagedDisplaySettings", "display_settings", 64)]
public ColorManagedDisplaySettings display_settings;
[DNAFieldAttribute(21, "ColorManagedColorspaceSettings", "linear_colorspace_settings", 64)]
public ColorManagedColorspaceSettings linear_colorspace_settings;
public ImageFormatData(
char imtype,
char depth,
char planes,
char flag,
char quality,
char compress,
char exr_codec,
char cineon_flag,
short cineon_white,
short cineon_black,
float cineon_gamma,
char jp2_flag,
char jp2_codec,
char tiff_codec,
char[] _pad,
char views_format,
Stereo3dFormat stereo3d_format,
char color_management,
char[] _pad1,
ColorManagedViewSettings view_settings,
ColorManagedDisplaySettings display_settings,
ColorManagedColorspaceSettings linear_colorspace_settings) {
this.imtype = imtype;
this.depth = depth;
this.planes = planes;
this.flag = flag;
this.quality = quality;
this.compress = compress;
this.exr_codec = exr_codec;
this.cineon_flag = cineon_flag;
this.cineon_white = cineon_white;
this.cineon_black = cineon_black;
this.cineon_gamma = cineon_gamma;
this.jp2_flag = jp2_flag;
this.jp2_codec = jp2_codec;
this.tiff_codec = tiff_codec;
this._pad = _pad;
this.views_format = views_format;
this.stereo3d_format = stereo3d_format;
this.color_management = color_management;
this._pad1 = _pad1;
this.view_settings = view_settings;
this.display_settings = display_settings;
this.linear_colorspace_settings = linear_colorspace_settings;
}
}
}