Lugdunum  0.1.0
Namespaces | Classes | Functions | Variables
lug::Graphics Namespace Reference

Namespaces

 Builder
 
 Render
 
 Scene
 
 Vulkan
 

Classes

class  GltfLoader
 Class for loading glTF files. More...
 
class  Graphics
 Class for graphics. More...
 
class  Loader
 Class for loading a type of file. More...
 
struct  Module
 
class  Node
 
class  Renderer
 
class  Resource
 Class for resource. More...
 
class  ResourceManager
 Class for resource manager. The ResourceManager allows the user to load resources and store them. There should be at most one resource manager at any time, it is usually created by the Graphics instance, and retrievable by #Graphics::getResourceManager() More...
 

Functions

std::ostream & operator<< (std::ostream &ss, const Module &module)
 
std::ostream & operator<< (std::ostream &ss, const Module::Type &type)
 
static void * getBufferViewData (const gltf2::Asset &asset, const gltf2::Accessor &accessor)
 
static uint32_t getAttributeSize (const gltf2::Accessor &accessor)
 
static void * generateNormals (float *positions, uint32_t accessorCount)
 

Variables

const std::unordered_map< Module::Type, Modulemodules
 

Function Documentation

◆ operator<<() [1/2]

std::ostream& lug::Graphics::operator<< ( std::ostream &  ss,
const Module module 
)

◆ operator<<() [2/2]

std::ostream& lug::Graphics::operator<< ( std::ostream &  ss,
const Module::Type type 
)

◆ getBufferViewData()

static void* lug::Graphics::getBufferViewData ( const gltf2::Asset &  asset,
const gltf2::Accessor &  accessor 
)
static

Definition at line 24 of file GltfLoader.cpp.

◆ getAttributeSize()

static uint32_t lug::Graphics::getAttributeSize ( const gltf2::Accessor &  accessor)
static

Definition at line 37 of file GltfLoader.cpp.

◆ generateNormals()

static void* lug::Graphics::generateNormals ( float *  positions,
uint32_t  accessorCount 
)
static

Definition at line 264 of file GltfLoader.cpp.

Variable Documentation

◆ modules

const std::unordered_map< Module::Type, Module > lug::Graphics::modules
Initial value:
= {
#define LUG_INIT_GRAPHICS_MODULES(name)
}

Definition at line 6 of file Module.cpp.