Exemplo n.º 1
0
 public NodeOutStream(INodeOut nodeOut, IConnectionHandler handler)
 {
     FNodeOut = nodeOut;
     if (UsesDynamicAssembly(typeof(T)))
     {
         FNodeOut.SetInterface(new DynamicTypeWrapper(this));
         FNodeOut.SetConnectionHandler(handler, new DynamicTypeWrapper(this));
     }
     else
     {
         FNodeOut.SetInterface(this);
         FNodeOut.SetConnectionHandler(handler, this);
     }
 }
        public DX11ResourceOutputStream(INodeOut nodeOut, bool isSingle)
        {
            FNodeOut = nodeOut;
            FNodeOut.SetInterface(this);

            IConnectionHandler connectionHandler;

            if (isSingle)
            {
                connectionHandler = new DX11SingleResourceConnectionHandler(nodeOut);
            }
            else
            {
                connectionHandler = new DX11ResourceConnectionHandler();
            }
            FNodeOut.SetConnectionHandler(connectionHandler, this);
        }
Exemplo n.º 3
0
 public NodeOutStream(INodeOut nodeOut, IConnectionHandler handler)
 {
     FNodeOut = nodeOut;
     FNodeOut.SetInterface(this);
     FNodeOut.SetConnectionHandler(handler, this);
 }
Exemplo n.º 4
0
 public DX11ResourceOutputStream(INodeOut nodeOut)
 {
     FNodeOut = nodeOut;
     FNodeOut.SetInterface(this);
     FNodeOut.SetConnectionHandler(new DX11ResourceConnectionHandler(), this);
 }