OpenBF1942-Plus
Refractor 1, rebuilt from scratch
Loading...
Searching...
No Matches
obf::SmMaterial Struct Reference

#include <sm.h>

Public Member Functions

size_t vertex_count () const

Public Attributes

std::string name
uint32_t prim = 4
uint32_t stride = 32
uint32_t alpha = 0
std::vector< float > vertices
std::vector< uint16_t > indices

Member Function Documentation

◆ vertex_count()

size_t obf::SmMaterial::vertex_count ( ) const
inline

Member Data Documentation

◆ alpha

uint32_t obf::SmMaterial::alpha = 0

◆ indices

std::vector<uint16_t> obf::SmMaterial::indices

◆ name

std::string obf::SmMaterial::name

◆ prim

uint32_t obf::SmMaterial::prim = 4

◆ stride

uint32_t obf::SmMaterial::stride = 32

◆ vertices

std::vector<float> obf::SmMaterial::vertices

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