コード例 #1
0
ファイル: MixtureRTSettings.cs プロジェクト: IxxyXR/PolyGraph
 get => new MixtureRTSettings()
 {
     widthPercent   = 1.0f,
     heightPercent  = 1.0f,
     depthPercent   = 1.0f,
     width          = 512,
     height         = 512,
     sliceCount     = 1,
     widthMode      = OutputSizeMode.Default,
     heightMode     = OutputSizeMode.Default,
     depthMode      = OutputSizeMode.Default,
     dimension      = OutputDimension.Default,
     targetFormat   = OutputFormat.Default,
     editFlags      = EditFlags.None,
     doubleBuffered = false,
     wrapMode       = TextureWrapMode.Repeat,
     filterMode     = FilterMode.Bilinear,
 };
コード例 #2
0
 get => new MixtureSettings()
 {
     widthScale      = 1.0f,
     heightScale     = 1.0f,
     depthScale      = 1.0f,
     width           = 1024,
     height          = 1024,
     depth           = 1,
     sizeMode        = OutputSizeMode.InheritFromParent,
     dimension       = OutputDimension.InheritFromParent,
     outputChannels  = OutputChannel.InheritFromParent,
     outputPrecision = OutputPrecision.InheritFromParent,
     editFlags       = ~EditFlags.POTSize,
     doubleBuffered  = false,
     wrapMode        = OutputWrapMode.InheritFromParent,
     filterMode      = OutputFilterMode.InheritFromParent,
     refreshMode     = RefreshMode.OnLoad,
 };