예제 #1
0
 /// <summary>
 /// Sets the current sampler pool on the graphics pipeline.
 /// </summary>
 /// <param name="gpuVa">The start GPU virtual address of the sampler pool</param>
 /// <param name="maximumId">The maximum ID of the sampler pool</param>
 /// <param name="samplerIndex">The indexing type of the sampler pool</param>
 public void SetGraphicsSamplerPool(ulong gpuVa, int maximumId, SamplerIndex samplerIndex)
 {
     _gpBindingsManager.SetSamplerPool(gpuVa, maximumId, samplerIndex);
 }
예제 #2
0
 /// <summary>
 /// Sets the current sampler pool on the compute pipeline.
 /// </summary>
 /// <param name="gpuVa">The start GPU virtual address of the sampler pool</param>
 /// <param name="maximumId">The maximum ID of the sampler pool</param>
 /// <param name="samplerIndex">The indexing type of the sampler pool</param>
 public void SetComputeSamplerPool(ulong gpuVa, int maximumId, SamplerIndex samplerIndex)
 {
     _cpBindingsManager.SetSamplerPool(gpuVa, maximumId, samplerIndex);
 }