Files
BlenderSharp/BlendFile/DNA/LightCache.cs

80 lines
3.1 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")]
public class LightCache {
[DNAFieldAttribute(0, "int", "flag", 4)]
public int flag;
[DNAFieldAttribute(1, "int", "version", 4)]
public int version;
[DNAFieldAttribute(2, "int", "type", 4)]
public int type;
[DNAFieldAttribute(3, "int", "cube_len", 4)]
public int cube_len;
[DNAFieldAttribute(4, "int", "grid_len", 4)]
public int grid_len;
[DNAFieldAttribute(5, "int", "mips_len", 4)]
public int mips_len;
[DNAFieldAttribute(6, "int", "vis_res", 4)]
public int vis_res;
[DNAFieldAttribute(7, "int", "ref_res", 4)]
public int ref_res;
[DNAFieldAttribute(8, "char", "_pad[4][2]", 1)]
public char[,] _pad = new System.Char[4,2];
[DNAFieldAttribute(9, "LightCacheTexture", "grid_tx", 32)]
public LightCacheTexture grid_tx;
[DNAFieldAttribute(10, "LightCacheTexture", "cube_tx", 32)]
public LightCacheTexture cube_tx;
[DNAFieldAttribute(11, "LightCacheTexture", "*cube_mips", 32)]
public LightCacheTexture ptr_cube_mips;
[DNAFieldAttribute(12, "LightProbeCache", "*cube_data", 160)]
public LightProbeCache ptr_cube_data;
[DNAFieldAttribute(13, "LightGridCache", "*grid_data", 160)]
public LightGridCache ptr_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.ptr_cube_mips = default;
this.ptr_cube_data = default;
this.ptr_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 ptr_cube_mips, LightProbeCache ptr_cube_data, LightGridCache ptr_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.ptr_cube_mips = ptr_cube_mips;
this.ptr_cube_data = ptr_cube_data;
this.ptr_grid_data = ptr_grid_data;
}
}
}