Ejemplo n.º 1
0
 public void AddBufferRead(ComputeBufferHandle buffer)
 {
     bufferReadList.Add(buffer);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Specify a Compute Buffer resource to read from during the pass.
 /// </summary>
 /// <param name="input">The Compute Buffer resource to read from during the pass.</param>
 /// <returns>An updated resource handle to the input resource.</returns>
 public ComputeBufferHandle ReadComputeBuffer(ComputeBufferHandle input)
 {
     m_RenderPass.bufferReadList.Add(input);
     return(input);
 }
Ejemplo n.º 3
0
 public void AddBufferWrite(ComputeBufferHandle buffer)
 {
     bufferWriteList.Add(buffer);
     refCount++;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Specify a Compute Buffer resource to write to during the pass.
 /// </summary>
 /// <param name="input">The Compute Buffer resource to write to during the pass.</param>
 /// <returns>An updated resource handle to the input resource.</returns>
 public ComputeBufferHandle WriteComputeBuffer(ComputeBufferHandle input)
 {
     m_RenderPass.bufferWriteList.Add(input);
     return(input);
 }