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

Function ospNewTexture

ospray/api/API.cpp:465–472  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

463OSPRAY_CATCH_END(nullptr)
464
465extern "C" OSPTexture ospNewTexture(const char *_type) OSPRAY_CATCH_BEGIN
466{
467 THROW_IF_NULL_STRING(_type);
468
469 ASSERT_DEVICE();
470 OSPTexture texture = currentDevice().newTexture(_type);
471 return texture;
472}
473OSPRAY_CATCH_END(nullptr)
474
475///////////////////////////////////////////////////////////////////////////////

Callers 2

newTextureFunction · 0.85
TextureMethod · 0.85

Calls 1

newTextureMethod · 0.45

Tested by

no test coverage detected