MCPcopy Create free account
hub / github.com/RenderKit/embree / rtcGetGeometryBufferData

Function rtcGetGeometryBufferData

kernels/common/rtcore.cpp:1986–1995  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1984 }
1985
1986 RTC_API void* rtcGetGeometryBufferData(RTCGeometry hgeometry, RTCBufferType type, unsigned int slot)
1987 {
1988 Geometry* geometry = (Geometry*) hgeometry;
1989 RTC_CATCH_BEGIN;
1990 RTC_TRACE(rtcGetGeometryBufferData);
1991 RTC_VERIFY_HANDLE(hgeometry);
1992 return geometry->getBufferData(type, slot, BufferDataPointerType::HOST);
1993 RTC_CATCH_END2(geometry);
1994 return nullptr;
1995 }
1996
1997 RTC_API void* rtcGetGeometryBufferDataDevice(RTCGeometry hgeometry, RTCBufferType type, unsigned int slot)
1998 {

Callers 6

move_meshMethod · 0.85
animateSphereFunction · 0.85
setQuadSubdivCubeLevelsFunction · 0.85
animateSphereFunction · 0.85

Calls 1

getBufferDataMethod · 0.45

Tested by

no test coverage detected