Rendering Engine 0.2.9
Modular Graphics Rendering Engine | v0.2.9
rendering_engine::MaterialParameterLayoutEntry Struct Reference

Describes the layout of a single packed parameter inside a uniform buffer. More...

#include <material_types.hpp>

Public Types

enum class  Type { Float , Vec2 , Vec3 , Vec4 }
 

Public Attributes

std::string name
 
size_t offset
 
size_t size
 
Type type
 

Detailed Description

Describes the layout of a single packed parameter inside a uniform buffer.

Definition at line 53 of file material_types.hpp.

Member Enumeration Documentation

◆ Type

Enumerator
Float 
Vec2 
Vec3 
Vec4 

Definition at line 58 of file material_types.hpp.

58{ Float, Vec2, Vec3, Vec4 };

Member Data Documentation

◆ name

std::string rendering_engine::MaterialParameterLayoutEntry::name

Definition at line 55 of file material_types.hpp.

◆ offset

size_t rendering_engine::MaterialParameterLayoutEntry::offset

Definition at line 56 of file material_types.hpp.

◆ size

size_t rendering_engine::MaterialParameterLayoutEntry::size

Definition at line 57 of file material_types.hpp.

◆ type

Type rendering_engine::MaterialParameterLayoutEntry::type

Definition at line 59 of file material_types.hpp.


The documentation for this struct was generated from the following file: