Raito 0.1
Loading...
Searching...
No Matches
Raito::Assets Namespace Reference

Namespaces

namespace  MeshGenerator
 

Classes

struct  Mesh
 
class  Model
 
struct  PbrMaterial
 
struct  Texture
 
struct  Vertex
 

Enumerations

enum class  RenderMode { TRIANGLE , TRIANGLE_STRIP , TRIANGLE_FAN }
 
enum  TextureType : u8 {
  DIFFUSE , NORMAL , HEIGHT , EMISSIVE ,
  AMBIENT_OCCLUSION , METAL_ROUGHNESS , HDR
}
 

Functions

u32 ImportModel (const std::filesystem::path &filePath)
 
void ImportTexture (const std::filesystem::path &filePath, TextureType type)
 
const std::unordered_map< std::filesystem::path, Texture * > & GetAllTextures ()
 
TextureGetTexture (const std::filesystem::path &filePath)
 
bool Initialize ()
 
u32 GetDefaultSphere ()
 
const TextureGetChessTexture ()
 
const TextureGetWhiteTexture ()
 
const TextureGetBlackTexture ()
 
u32 GetChessMaterial ()
 

Enumeration Type Documentation

◆ RenderMode

enum class Raito::Assets::RenderMode
strong
Enumerator
TRIANGLE 
TRIANGLE_STRIP 
TRIANGLE_FAN 

◆ TextureType

Enumerator
DIFFUSE 
NORMAL 
HEIGHT 
EMISSIVE 
AMBIENT_OCCLUSION 
METAL_ROUGHNESS 
HDR 

Function Documentation

◆ GetAllTextures()

const std::unordered_map< std::filesystem::path, Texture * > & Raito::Assets::GetAllTextures ( )

◆ GetBlackTexture()

const Texture & Raito::Assets::GetBlackTexture ( )

◆ GetChessMaterial()

u32 Raito::Assets::GetChessMaterial ( )

◆ GetChessTexture()

const Texture & Raito::Assets::GetChessTexture ( )

◆ GetDefaultSphere()

u32 Raito::Assets::GetDefaultSphere ( )

◆ GetTexture()

Texture * Raito::Assets::GetTexture ( const std::filesystem::path & filePath)

◆ GetWhiteTexture()

const Texture & Raito::Assets::GetWhiteTexture ( )

◆ ImportModel()

u32 Raito::Assets::ImportModel ( const std::filesystem::path & filePath)

◆ ImportTexture()

void Raito::Assets::ImportTexture ( const std::filesystem::path & filePath,
TextureType type )

◆ Initialize()

bool Raito::Assets::Initialize ( )