コード例 #1
0
ファイル: Function.cs プロジェクト: gleblebedev/Toe.SPIRV
 public Function(SpirvTypeBase resultType, Spv.FunctionControl functionControl, SpirvTypeBase functionType, string debugName = null)
 {
     this.ResultType      = resultType;
     this.FunctionControl = functionControl;
     this.FunctionType    = functionType;
     DebugName            = debugName;
 }
コード例 #2
0
ファイル: Partials.cs プロジェクト: gleblebedev/Toe.SPIRV
 public Function(Spv.FunctionControl functionControl, TypeFunction functionType, string debugName = null)
     : this(functionType.ReturnType, functionControl, functionType, debugName)
 {
 }