public override void load(MImage image, uint idx) { uint w = 512; uint h = 512; // Create a floating point image and fill it with // a pretty rainbow test image. // image.create( w, h, 3, MImage.MPixelType.kFloat); unsafe { float* pixels = image.floatPixels(); populateTestImage(pixels, w, h); } return; }
public override void load(MImage image, uint idx) { uint w = 512; uint h = 512; // Create a floating point image and fill it with // a pretty rainbow test image. // image.create(w, h, 3, MImage.MPixelType.kFloat); unsafe { float *pixels = image.floatPixels(); populateTestImage(pixels, w, h); } return; }