MCPcopy Create free account
hub / github.com/ImageEngine/cortex / sampleEntry

Method sampleEntry

src/IECoreScene/SceneCache.cpp:296–299  ·  view source on GitHub ↗

This function converts an integer to a IndexedIO::EntryID object (InternedString) \todo Remove this when InternedString nativelly supports a constructor with integers.

Source from the content-addressed store, hash-verified

294 // This function converts an integer to a IndexedIO::EntryID object (InternedString)
295 // \todo Remove this when InternedString nativelly supports a constructor with integers.
296 static IndexedIO::EntryID sampleEntry( size_t sample )
297 {
298 return InternedString( sample );
299 }
300
301 static inline Imath::M44d dataToMatrix( const Data *data )
302 {

Callers

nothing calls this directly

Calls 1

InternedStringFunction · 0.85

Tested by

no test coverage detected