Updated GLI version used in GLM tests
This commit is contained in:
27
test/external/gli/load_dds.hpp
vendored
Normal file
27
test/external/gli/load_dds.hpp
vendored
Normal file
@@ -0,0 +1,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"
|
||||
Reference in New Issue
Block a user