Raito 0.1
Loading...
Searching...
No Matches
AssetImport.cpp File Reference
#include "pch.h"
#include "AssetImport.h"
#include "Model.h"
#include "Mesh.h"
#include <assimp/Importer.hpp>
#include <assimp/scene.h>
#include <assimp/postprocess.h>
#include <assimp/material.h>
#include <assimp/GltfMaterial.h>
#include "Time/ScopedTimer.h"
#include "Assets.h"
#include "Texture.h"
#include "Renderer/Renderer.h"
#include "stb/stb_image.h"
Include dependency graph for AssetImport.cpp:

Namespaces

namespace  Raito
 
namespace  Raito::Assets
 

Macros

#define STB_IMAGE_IMPLEMENTATION
 

Functions

u32 Raito::Assets::ImportModel (const std::filesystem::path &filePath)
 
void Raito::Assets::ImportTexture (const std::filesystem::path &filePath, TextureType type)
 
const std::unordered_map< std::filesystem::path, Texture * > & Raito::Assets::GetAllTextures ()
 
TextureRaito::Assets::GetTexture (const std::filesystem::path &filePath)
 

Macro Definition Documentation

◆ STB_IMAGE_IMPLEMENTATION

#define STB_IMAGE_IMPLEMENTATION