MCPcopy Create free account
hub / github.com/RenderKit/ospray / frameBufferCreate

Method frameBufferCreate

modules/cpu/ISPCDevice.cpp:518–526  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

516///////////////////////////////////////////////////////////////////////////
517
518OSPFrameBuffer 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
528OSPImageOperation ISPCDevice::newImageOp(const char *type)
529{

Callers 1

ospNewFrameBufferFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected