Exemple #1
0
 internal unsafe void __MarshalTo(ref __Native @ref)
 {
     @ref.RootSignature = MarshallingHelpers.ToCallbackPtr <ID3D12RootSignature>(RootSignature);
     ComputeShader?.__MarshalTo(ref @ref.CS);
     @ref.NodeMask = NodeMask;
     CachedPSO.__MarshalTo(ref @ref.CachedPSO);
     @ref.Flags = Flags;
 }
Exemple #2
0
 internal unsafe void __MarshalTo(ref __Native @ref)
 {
     @ref.RootSignature = RootSignature?.NativePointer ?? IntPtr.Zero;
     ComputeShader?.__MarshalTo(ref @ref.CS);
     @ref.NodeMask = NodeMask;
     CachedPSO.__MarshalTo(ref @ref.CachedPSO);
     @ref.Flags = Flags;
 }