コード例 #1
0
void ofPixels_<PixelType>::allocate(int w, int h, int _channels){
	allocate(w,h,pixelFormatFromNumChannels(_channels));
}
コード例 #2
0
void ofPixels_<PixelType>::setFromExternalPixels(PixelType * newPixels,int w, int h, int channels){
	setFromExternalPixels(newPixels,w,h,pixelFormatFromNumChannels(channels));
}
コード例 #3
0
void ofPixels_<PixelType>::setFromAlignedPixels(const PixelType * newPixels, int width, int height, int channels, int stride){
	setFromAlignedPixels(newPixels,width,height,pixelFormatFromNumChannels(channels),stride);
}
コード例 #4
0
void ofPixels_<PixelType>::allocate(size_t w, size_t h, size_t _channels){
	allocate(w,h,pixelFormatFromNumChannels(_channels));
}