PCG Lib
Library for procedural content generation
Public Attributes | List of all members
skr::pcg::Face Struct Reference

strcut describing a face More...

#include <Definitions.h>

Public Attributes

std::vector< Vertexvertices
 
std::vector< uint32_t > indices
 vertices of face More...
 
Vec3 color
 indices of vertices. If index vertices aren't used, this i empty More...
 
std::string diffuseTexturePath
 color to draw the face in if no texture is specified More...
 
std::string normalTexturePath
 path to diffuse texture. empty if no texture is used More...
 
OpenGLTextureWrapParameter textureWrapParameter
 path to normal texture. empty if no texture is used More...
 

Detailed Description

strcut describing a face

Member Data Documentation

◆ color

Vec3 skr::pcg::Face::color

indices of vertices. If index vertices aren't used, this i empty

◆ diffuseTexturePath

std::string skr::pcg::Face::diffuseTexturePath

color to draw the face in if no texture is specified

◆ indices

std::vector<uint32_t> skr::pcg::Face::indices

vertices of face

◆ normalTexturePath

std::string skr::pcg::Face::normalTexturePath

path to diffuse texture. empty if no texture is used

◆ textureWrapParameter

OpenGLTextureWrapParameter skr::pcg::Face::textureWrapParameter

path to normal texture. empty if no texture is used

◆ vertices

std::vector<Vertex> skr::pcg::Face::vertices

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