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

80 lines
3.4 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(356, "LightCache", 128)]
public class LightCache {
[DNAFieldAttribute(4, "int", 0, "flag", "int", false, 0)]
public int flag;
[DNAFieldAttribute(4, "int", 1, "version", "int", false, 4)]
public int version;
[DNAFieldAttribute(4, "int", 2, "type", "int", false, 8)]
public int type;
[DNAFieldAttribute(4, "int", 3, "cube_len", "int", false, 12)]
public int cube_len;
[DNAFieldAttribute(4, "int", 4, "grid_len", "int", false, 16)]
public int grid_len;
[DNAFieldAttribute(4, "int", 5, "mips_len", "int", false, 20)]
public int mips_len;
[DNAFieldAttribute(4, "int", 6, "vis_res", "int", false, 24)]
public int vis_res;
[DNAFieldAttribute(4, "int", 7, "ref_res", "int", false, 28)]
public int ref_res;
[DNAFieldAttribute(8, "char", 8, "_pad[4][2]", "System.Char[,]", false, 32)]
public char[,] _pad = new System.Char[4,2];
[DNAFieldAttribute(32, "LightCacheTexture", 9, "grid_tx", "LightCacheTexture", false, 40)]
public LightCacheTexture grid_tx;
[DNAFieldAttribute(32, "LightCacheTexture", 10, "cube_tx", "LightCacheTexture", false, 72)]
public LightCacheTexture cube_tx;
[DNAFieldAttribute(8, "LightCacheTexture", 11, "*cube_mips", "LightCacheTexture", true, 104)]
public LightCacheTexture cube_mips;
[DNAFieldAttribute(8, "LightProbeCache", 12, "*cube_data", "LightProbeCache", true, 112)]
public LightProbeCache cube_data;
[DNAFieldAttribute(8, "LightGridCache", 13, "*grid_data", "LightGridCache", true, 120)]
public LightGridCache grid_data;
public LightCache() {
this.flag = default;
this.version = default;
this.type = default;
this.cube_len = default;
this.grid_len = default;
this.mips_len = default;
this.vis_res = default;
this.ref_res = default;
this._pad = default;
this.grid_tx = default;
this.cube_tx = default;
this.cube_mips = default;
this.cube_data = default;
this.grid_data = default;
}
public LightCache(int flag, int version, int type, int cube_len, int grid_len, int mips_len, int vis_res, int ref_res, char[,] _pad, LightCacheTexture grid_tx, LightCacheTexture cube_tx, LightCacheTexture cube_mips, LightProbeCache cube_data, LightGridCache grid_data) {
this.flag = flag;
this.version = version;
this.type = type;
this.cube_len = cube_len;
this.grid_len = grid_len;
this.mips_len = mips_len;
this.vis_res = vis_res;
this.ref_res = ref_res;
this._pad = _pad;
this.grid_tx = grid_tx;
this.cube_tx = cube_tx;
this.cube_mips = cube_mips;
this.cube_data = cube_data;
this.grid_data = grid_data;
}
}
}