/usr/include/gli/load_dds.hpp is in libgli-dev 0.8.2.0+ds1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | /// @brief Include to load DDS textures from files or memory.
/// @file gli/load_dds.hpp
#pragma once
#include "texture.hpp"
namespace gli
{
/// Loads a texture storage_linear from DDS file. Returns an empty storage_linear in case of failure.
///
/// @param Path Path of the file to open including filaname and filename extension
texture load_dds(char const* Path);
/// Loads a texture storage_linear from DDS file. Returns an empty storage_linear in case of failure.
///
/// @param Path Path of the file to open including filaname and filename extension
texture load_dds(std::string const& Path);
/// Loads a texture storage_linear from DDS memory. Returns an empty storage_linear in case of failure.
///
/// @param Data Pointer to the beginning of the texture container data to read
/// @param Size Size of texture container Data to read
texture load_dds(char const* Data, std::size_t Size);
}//namespace gli
#include "./core/load_dds.inl"
|