| 516 | /////////////////////////////////////////////////////////////////////////// |
| 517 | |
| 518 | OSPFrameBuffer ISPCDevice::frameBufferCreate( |
| 519 | const vec2i &size, const OSPFrameBufferFormat mode, const uint32 channels) |
| 520 | { |
| 521 | FrameBuffer::ColorBufferFormat colorBufferFormat = mode; |
| 522 | |
| 523 | FrameBuffer *fb = |
| 524 | new LocalFrameBuffer(*this, size, colorBufferFormat, channels); |
| 525 | return (OSPFrameBuffer)fb; |
| 526 | } |
| 527 | |
| 528 | OSPImageOperation ISPCDevice::newImageOp(const char *type) |
| 529 | { |