Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DescriptorRange"/> struct.
 /// </summary>
 /// <param name="rangeType"></param>
 /// <param name="descriptorCount"></param>
 /// <param name="baseShaderRegister"></param>
 /// <param name="registerSpace"></param>
 /// <param name="offsetInDescriptorsFromTableStart"></param>
 public DescriptorRange(DescriptorRangeType rangeType, int descriptorCount, int baseShaderRegister, int registerSpace = 0, int offsetInDescriptorsFromTableStart = 0)
 {
     RangeType = rangeType;
     DescriptorCount = descriptorCount;
     BaseShaderRegister = baseShaderRegister;
     RegisterSpace = registerSpace;
     OffsetInDescriptorsFromTableStart = offsetInDescriptorsFromTableStart;
 }