/// <summary>
 /// Creates a new <see cref="ComputeImageFormat"/>.
 /// </summary>
 /// <param name="channelOrder"> The number of channels and the channel layout i.e. the memory layout in which channels are stored in the <see cref="ComputeImage"/>. </param>
 /// <param name="channelType"> The type of the channel data. The number of bits per element determined by the <paramref name="channelType"/> and <paramref name="channelOrder"/> must be a power of two. </param>
 public ComputeImageFormat(ComputeImageChannelOrder channelOrder, ComputeImageChannelType channelType)
 {
     this.channelOrder = channelOrder;
     this.channelType  = channelType;
 }
Beispiel #2
0
 /// <summary>
 /// Creates a new <see cref="ComputeImageFormat"/>.
 /// </summary>
 /// <param name="channelOrder"> The number of channels and the channel layout i.e. the memory layout in which channels are stored in the <see cref="ComputeImage"/>. </param>
 /// <param name="channelType"> The type of the channel data. The number of bits per element determined by the <paramref name="channelType"/> and <paramref name="channelOrder"/> must be a power of two. </param>
 public ComputeImageFormat(ComputeImageChannelOrder channelOrder, ComputeImageChannelType channelType)
 {
     this.channelOrder = channelOrder;
     this.channelType = channelType;
 }