MinGfx Toolkit  1.0
A minimal library for writing cross-platform (Windows, OSX, linux) graphics programs.
Public Member Functions | Public Attributes | List of all members
mingfx::DefaultShader::LightProperties Class Reference

Detailed Description

Small data structure to hold per-light properties.

Definition at line 88 of file default_shader.h.

#include <default_shader.h>

Public Member Functions

 LightProperties ()
 

Public Attributes

Point3 position
 
Color ambient_intensity
 
Color diffuse_intensity
 
Color specular_intensity
 

Constructor & Destructor Documentation

◆ LightProperties()

mingfx::DefaultShader::LightProperties::LightProperties ( )
inline

Definition at line 96 of file default_shader.h.

Member Data Documentation

◆ ambient_intensity

Color mingfx::DefaultShader::LightProperties::ambient_intensity

Definition at line 91 of file default_shader.h.

◆ diffuse_intensity

Color mingfx::DefaultShader::LightProperties::diffuse_intensity

Definition at line 92 of file default_shader.h.

◆ position

Point3 mingfx::DefaultShader::LightProperties::position

Definition at line 90 of file default_shader.h.

◆ specular_intensity

Color mingfx::DefaultShader::LightProperties::specular_intensity

Definition at line 93 of file default_shader.h.


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