vsg: vsg::material Struct Reference

vsg 1.1.3 VulkanSceneGraph library

Loading...
Searching...
No Matches
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:
[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:

- include/vsg/state/material.h