mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-29 06:28:25 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
260
brutal.gltf/Brutal.Gltf/GltfApi/GeneratedSchema/Sampler.gen.cs
Normal file
260
brutal.gltf/Brutal.Gltf/GltfApi/GeneratedSchema/Sampler.gen.cs
Normal file
|
|
@ -0,0 +1,260 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Brutal.GltfApi {
|
||||
using System.Linq;
|
||||
using System.Runtime.Serialization;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Object part of the GLTF file schema
|
||||
/// Texture sampler properties for filtering and wrapping modes.
|
||||
/// </summary>
|
||||
public partial class Sampler {
|
||||
|
||||
/// <summary>
|
||||
/// Backing field for MagFilter.
|
||||
/// </summary>
|
||||
private System.Nullable<MagFilterEnum> m_magFilter;
|
||||
|
||||
/// <summary>
|
||||
/// Backing field for MinFilter.
|
||||
/// </summary>
|
||||
private System.Nullable<MinFilterEnum> m_minFilter;
|
||||
|
||||
/// <summary>
|
||||
/// Backing field for WrapS.
|
||||
/// </summary>
|
||||
private WrapSEnum m_wrapS = WrapSEnum.Repeat;
|
||||
|
||||
/// <summary>
|
||||
/// Backing field for WrapT.
|
||||
/// </summary>
|
||||
private WrapTEnum m_wrapT = WrapTEnum.Repeat;
|
||||
|
||||
/// <summary>
|
||||
/// Backing field for Name.
|
||||
/// </summary>
|
||||
private string m_name;
|
||||
|
||||
/// <summary>
|
||||
/// Backing field for Extensions.
|
||||
/// </summary>
|
||||
private System.Collections.Generic.Dictionary<string, object> m_extensions;
|
||||
|
||||
/// <summary>
|
||||
/// Backing field for Extras.
|
||||
/// </summary>
|
||||
private Extras m_extras;
|
||||
|
||||
/// <summary>
|
||||
/// Magnification filter.
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("magFilter")]
|
||||
public System.Nullable<MagFilterEnum> MagFilter {
|
||||
get {
|
||||
return this.m_magFilter;
|
||||
}
|
||||
set {
|
||||
this.m_magFilter = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Minification filter.
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("minFilter")]
|
||||
public System.Nullable<MinFilterEnum> MinFilter {
|
||||
get {
|
||||
return this.m_minFilter;
|
||||
}
|
||||
set {
|
||||
this.m_minFilter = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// S (U) wrapping mode.
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("wrapS")]
|
||||
public WrapSEnum WrapS {
|
||||
get {
|
||||
return this.m_wrapS;
|
||||
}
|
||||
set {
|
||||
this.m_wrapS = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// T (V) wrapping mode.
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("wrapT")]
|
||||
public WrapTEnum WrapT {
|
||||
get {
|
||||
return this.m_wrapT;
|
||||
}
|
||||
set {
|
||||
this.m_wrapT = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The user-defined name of this object.
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("name")]
|
||||
public string Name {
|
||||
get {
|
||||
return this.m_name;
|
||||
}
|
||||
set {
|
||||
this.m_name = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// JSON object with extension-specific objects.
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("extensions")]
|
||||
public System.Collections.Generic.Dictionary<string, object> Extensions {
|
||||
get {
|
||||
return this.m_extensions;
|
||||
}
|
||||
set {
|
||||
this.m_extensions = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Application-specific data.
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("extras")]
|
||||
public Extras Extras {
|
||||
get {
|
||||
return this.m_extras;
|
||||
}
|
||||
set {
|
||||
this.m_extras = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// This method is used to determine if the MagFilter property should be serialized.
|
||||
/// </summary>
|
||||
public bool ShouldSerializeMagFilter() {
|
||||
return ((m_magFilter == null)
|
||||
== false);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// This method is used to determine if the MinFilter property should be serialized.
|
||||
/// </summary>
|
||||
public bool ShouldSerializeMinFilter() {
|
||||
return ((m_minFilter == null)
|
||||
== false);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// This method is used to determine if the WrapS property should be serialized.
|
||||
/// </summary>
|
||||
public bool ShouldSerializeWrapS() {
|
||||
return ((m_wrapS == WrapSEnum.Repeat)
|
||||
== false);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// This method is used to determine if the WrapT property should be serialized.
|
||||
/// </summary>
|
||||
public bool ShouldSerializeWrapT() {
|
||||
return ((m_wrapT == WrapTEnum.Repeat)
|
||||
== false);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// This method is used to determine if the Name property should be serialized.
|
||||
/// </summary>
|
||||
public bool ShouldSerializeName() {
|
||||
return ((m_name == null)
|
||||
== false);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// This method is used to determine if the Extensions property should be serialized.
|
||||
/// </summary>
|
||||
public bool ShouldSerializeExtensions() {
|
||||
return ((m_extensions == null)
|
||||
== false);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// This method is used to determine if the Extras property should be serialized.
|
||||
/// </summary>
|
||||
public bool ShouldSerializeExtras() {
|
||||
return ((m_extras == null)
|
||||
== false);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Enum part of the GLTF file schema
|
||||
/// Magnification filter.
|
||||
/// </summary>
|
||||
public enum MagFilterEnum {
|
||||
|
||||
Nearest = 9728,
|
||||
|
||||
Linear = 9729,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Enum part of the GLTF file schema
|
||||
/// Minification filter.
|
||||
/// </summary>
|
||||
public enum MinFilterEnum {
|
||||
|
||||
Nearest = 9728,
|
||||
|
||||
Linear = 9729,
|
||||
|
||||
NearestMipmapNearest = 9984,
|
||||
|
||||
LinearMipmapNearest = 9985,
|
||||
|
||||
NearestMipmapLinear = 9986,
|
||||
|
||||
LinearMipmapLinear = 9987,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Enum part of the GLTF file schema
|
||||
/// S (U) wrapping mode.
|
||||
/// </summary>
|
||||
public enum WrapSEnum {
|
||||
|
||||
ClampToEdge = 33071,
|
||||
|
||||
MirroredRepeat = 33648,
|
||||
|
||||
Repeat = 10497,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Enum part of the GLTF file schema
|
||||
/// T (V) wrapping mode.
|
||||
/// </summary>
|
||||
public enum WrapTEnum {
|
||||
|
||||
ClampToEdge = 33071,
|
||||
|
||||
MirroredRepeat = 33648,
|
||||
|
||||
Repeat = 10497,
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue