private RootSignatureDescription(int parameterCount, IntPtr nativeParameters, int samplerCount, IntPtr nativeSamplers, RootSignatureFlags flags)
 {
     Parameters = new RootParameterArray(parameterCount, nativeParameters);
     StaticSamplers = new StaticSamplerArray(samplerCount, nativeSamplers);
     Flags = flags;
 }
Пример #2
0
 private RootSignatureDescription(int parameterCount, IntPtr nativeParameters, int samplerCount, IntPtr nativeSamplers, RootSignatureFlags flags)
 {
     Parameters     = new RootParameterArray(parameterCount, nativeParameters);
     StaticSamplers = new StaticSamplerArray(samplerCount, nativeSamplers);
     Flags          = flags;
 }
 public RootSignatureDescription(RootSignatureFlags flags, RootParameter[] parameters = null, StaticSamplerDescription[] samplers = null)
 {
     Parameters = new RootParameterArray(parameters);
     StaticSamplers = new StaticSamplerArray(samplers);
     Flags = flags;
 }
Пример #4
0
 public RootSignatureDescription(RootSignatureFlags flags, RootParameter[] parameters = null, StaticSampler[] samplers = null)
 {
     Parameters     = new RootParameterArray(parameters);
     StaticSamplers = new StaticSamplerArray(samplers);
     Flags          = flags;
 }