Implementa la logica de Texture dentro del subsistema Core.
Más...
#include "stb_image.h"
#include "Texture.h"
#include "Device.h"
#include "DeviceContext.h"
#include <cstdint>
#include <fstream>
Ir al código fuente de este archivo.
|
| HRESULT | anonymous_namespace{Texture.cpp}::CreateTextureFromRGBA (Device &device, int width, int height, const unsigned char *data, ID3D11Texture2D **outTexture, ID3D11ShaderResourceView **outSRV) |
| |
| bool | anonymous_namespace{Texture.cpp}::GetFileWriteTime (const std::string &path, ULONGLONG &outWriteTime) |
| |
| std::string | anonymous_namespace{Texture.cpp}::GetTextureCachePath (const std::string &sourcePath) |
| |
| HRESULT | anonymous_namespace{Texture.cpp}::InitTextureFromImage (Device &device, const std::string &fullPath, Texture &texture) |
| |
| bool | anonymous_namespace{Texture.cpp}::IsTextureCacheUpToDate (const std::string &sourcePath, const std::string &cachePath) |
| |
| bool | anonymous_namespace{Texture.cpp}::LoadTextureCache (const std::string &cachePath, CachedTextureData &outTexture) |
| |
| bool | anonymous_namespace{Texture.cpp}::SaveTextureCache (const std::string &cachePath, int width, int height, const unsigned char *data) |
| |
◆ STB_IMAGE_IMPLEMENTATION
| #define STB_IMAGE_IMPLEMENTATION |