MCPcopy Create free account
hub / github.com/carbonengine/trinity / GetViewData

Method GetViewData

trinity/Resources/Tr2CmfContent.cpp:79–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79const void* Tr2CmfContents::GetViewData( const cmf::BufferView& view )
80{
81 const auto* base = static_cast<const uint8_t*>( GetSection( view.index ) );
82 return base ? base + view.offset : nullptr;
83}
84
85void Tr2CmfContents::UnloadGpuBuffers()
86{

Callers 5

DoLoadMethod · 0.80
CreateLodFromCMFMeshMethod · 0.80
BakeBlendshapeMethod · 0.80
GetCMFViewDataMethod · 0.80
RayIntersectionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected