예제 #1
0
 public static void Init([NativeTypeName("D3D12_ROOT_SIGNATURE_DESC1 &")] out D3D12_ROOT_SIGNATURE_DESC1 desc, uint numParameters, [NativeTypeName("const D3D12_ROOT_PARAMETER1 *")] D3D12_ROOT_PARAMETER1 *_pParameters, uint numStaticSamplers = 0, [NativeTypeName("const D3D12_STATIC_SAMPLER_DESC *")] D3D12_STATIC_SAMPLER_DESC *_pStaticSamplers = null, D3D12_ROOT_SIGNATURE_FLAGS flags = D3D12_ROOT_SIGNATURE_FLAG_NONE)
 {
     desc.NumParameters     = numParameters;
     desc.pParameters       = _pParameters;
     desc.NumStaticSamplers = numStaticSamplers;
     desc.pStaticSamplers   = _pStaticSamplers;
     desc.Flags             = flags;
 }
예제 #2
0
 public void Init(uint numParameters, [NativeTypeName("const D3D12_ROOT_PARAMETER1 *")] D3D12_ROOT_PARAMETER1 *_pParameters, uint numStaticSamplers = 0, [NativeTypeName("const D3D12_STATIC_SAMPLER_DESC *")] D3D12_STATIC_SAMPLER_DESC *_pStaticSamplers = null, D3D12_ROOT_SIGNATURE_FLAGS flags = D3D12_ROOT_SIGNATURE_FLAG_NONE)
 {
     Init(out this, numParameters, _pParameters, numStaticSamplers, _pStaticSamplers, flags);
 }