Esempio n. 1
0
 /// <summary>
 /// Creates a new <see cref="OpenCLImageFormat"/>.
 /// </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="OpenCLImage"/>. </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 OpenCLImageFormat(OpenCLImageChannelOrder channelOrder, OpenCLImageChannelType channelType)
 {
     this.channelOrder = channelOrder;
     this.channelType  = channelType;
 }
 /// <summary>
 /// Creates a new <see cref="OpenCLImageFormat"/>.
 /// </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="OpenCLImage"/>. </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 OpenCLImageFormat(OpenCLImageChannelOrder channelOrder, OpenCLImageChannelType channelType)
 {
     this.channelOrder = channelOrder;
     this.channelType = channelType;
 }