vsg  1.1.0
VulkanSceneGraph library
Public Member Functions | Public Attributes | List of all members
vsg::material Struct Reference

simple material struct for passing material settings as uniform value to fragment shader More...

#include <material.h>

Collaboration diagram for vsg::material:
Collaboration graph
[legend]

Public Member Functions

void read (vsg::Input &input)
 
void write (vsg::Output &output) const
 

Public Attributes

vec4 ambientColor
 
vec4 diffuseColor
 
vec4 specularColor
 
float shininess {100.0f}
 

Detailed Description

simple material struct for passing material settings as uniform value to fragment shader


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