protected override void initInstance(NyARIntSize i_size, int i_raster_type, bool i_is_alloc)
{
//バッファの構築
switch (i_raster_type)
{
case NyARBufferType.OBJECT_CS_Unity:
this._buf = i_is_alloc?new Color32[i_size.w*i_size.h]:null;
this._rgb_pixel_driver = new NyARRgbPixelDriver_CsUnity();
this._rgb_pixel_driver.switchRaster(this);
this._is_attached_buffer = i_is_alloc;
break;
default:
base.initInstance(i_size,i_raster_type,i_is_alloc);
return;
}
//readerの構築
return;
}