コード例 #1
0
 public void AddBufferRead(ComputeBufferHandle buffer)
 {
     bufferReadList.Add(buffer);
 }
コード例 #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);
 }
コード例 #3
0
 public void AddBufferWrite(ComputeBufferHandle buffer)
 {
     bufferWriteList.Add(buffer);
     refCount++;
 }
コード例 #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);
 }