Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
ItemMesh Struct Reference

#include <wieldmesh.h>

+ Collaboration diagram for ItemMesh:

Public Member Functions

 ItemMesh ()=default
 

Public Attributes

scene::IMesh * mesh = nullptr
 
std::vector< ItemPartColorbuffer_colors
 
bool needs_shading = true
 

Constructor & Destructor Documentation

◆ ItemMesh()

ItemMesh::ItemMesh ( )
default

Member Data Documentation

◆ buffer_colors

std::vector<ItemPartColor> ItemMesh::buffer_colors

Referenced by drawItemStack(), and getItemMesh().

◆ mesh

scene::IMesh* ItemMesh::mesh = nullptr

Referenced by drawItemStack(), and getItemMesh().

◆ needs_shading

bool ItemMesh::needs_shading = true

Referenced by drawItemStack(), and getItemMesh().


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