Optix Code/Optix7.3.0LightFIeldViewer/SDK/lib/DemandLoading/Textures/DemandTextureImpl.cpp
// Tiles can be filled concurrently.
Tiles can be filled concurrently.
Tiles can be filled concurrently .
void DemandTextureImpl::fillTile( unsigned int                 deviceIndex,
                                  CUstream                     stream,
                                  unsigned int                 mipLevel,
                                  unsigned int                 tileX,
                                  unsigned int                 tileY,
                                  const char*                  tileData,
                                  size_t                       tileSize,
                                  CUmemGenericAllocationHandle handle,
                                  size_t                       offset ) const
{
    DEMAND_ASSERT( deviceIndex < m_textures.size() );
    DEMAND_ASSERT( mipLevel < m_info.numMipLevels );
    DEMAND_ASSERT( tileSize <= sizeof( TileBuffer ) );
    m_textures[deviceIndex].fillTile( stream, mipLevel, tileX, tileY, tileData, tileSize, handle, offset );
}
void DemandTextureImpl :: fillTile ( unsigned int deviceIndex , CUstream stream , unsigned int mipLevel , unsigned int tileX , unsigned int tileY , const char * tileData , size_t tileSize , CUmemGenericAllocationHandle handle , size_t offset ) const { DEMAND_ASSERT ( deviceIndex < m_textures . size ( ) ) ; DEMAND_ASSERT ( mipLevel < m_info . numMipLevels ) ; DEMAND_ASSERT ( tileSize <= sizeof ( TileBuffer ) ) ; m_textures [ deviceIndex ] . fillTile ( stream , mipLevel , tileX , tileY , tileData , tileSize , handle , offset ) ; }
Tiles can be filled concurrently.
Tiles can be filled concurrently .