Skip to content

cvedia::rt::TexturePacker

Public Functions

Name
expected< std::pair< cbuffer, std::vector< Rect2f > > > packTextures(std::vector< std::pair< cbuffer, cv::Rect2f > > const & textures, cv::Size atlasSize, int const packingInterpolationMethod) const

Public Functions Documentation

function packTextures

expected< std::pair< cbuffer, std::vector< Rect2f > > > packTextures(
    std::vector< std::pair< cbuffer, cv::Rect2f > > const & textures,
    cv::Size atlasSize,
    int const packingInterpolationMethod
) const