Files
BlenderSharp/BlendFile/DNA/RimShaderFxData.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

52 lines
2.0 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(922, "RimShaderFxData")]
public struct RimShaderFxData {
[DNAFieldAttribute(0, "ShaderFxData", "shaderfx", 104)]
public ShaderFxData shaderfx;
[DNAFieldAttribute(1, "int", "offset[2]", 4)]
public int[] offset = new System.Int32[2];
[DNAFieldAttribute(2, "int", "flag", 4)]
public int flag;
[DNAFieldAttribute(3, "float", "rim_rgb[3]", 4)]
public float[] rim_rgb = new System.Single[3];
[DNAFieldAttribute(4, "float", "mask_rgb[3]", 4)]
public float[] mask_rgb = new System.Single[3];
[DNAFieldAttribute(5, "int", "mode", 4)]
public int mode;
[DNAFieldAttribute(6, "int", "blur[2]", 4)]
public int[] blur = new System.Int32[2];
[DNAFieldAttribute(7, "int", "samples", 4)]
public int samples;
[DNAFieldAttribute(8, "char", "_pad[4]", 1)]
public char[] _pad = new System.Char[4];
[DNAFieldAttribute(9, "ShaderFxData_Runtime", "runtime", 40)]
public ShaderFxData_Runtime runtime;
public RimShaderFxData(ShaderFxData shaderfx, int[] offset, int flag, float[] rim_rgb, float[] mask_rgb, int mode, int[] blur, int samples, char[] _pad, ShaderFxData_Runtime runtime) {
this.shaderfx = shaderfx;
this.offset = offset;
this.flag = flag;
this.rim_rgb = rim_rgb;
this.mask_rgb = mask_rgb;
this.mode = mode;
this.blur = blur;
this.samples = samples;
this._pad = _pad;
this.runtime = runtime;
}
}
}