BRL-CAD
Loading...
Searching...
No Matches
mater_info Struct Reference

#include <mater.h>

Data Fields

float ma_color [3]
 explicit color: 0..1

 
float ma_temperature
 positive ==> degrees Kelvin
 
char ma_color_valid
 non-0 ==> ma_color is non-default
 
char ma_cinherit
 color: DB_INH_LOWER / DB_INH_HIGHER
 
char ma_minherit
 mater: DB_INH_LOWER / DB_INH_HIGHER
 
charma_shader
 shader name & parms
 

Detailed Description

Per-region material and shading information carried on a struct region.

This is separate from the region-ID color table (see struct mater below); it stores per-region shader parameters and color as parsed from object attributes.

Definition at line 65 of file mater.h.

Field Documentation

◆ ma_color

float ma_color[3]

explicit color: 0..1

Definition at line 66 of file mater.h.

◆ ma_temperature

float ma_temperature

positive ==> degrees Kelvin

Definition at line 67 of file mater.h.

◆ ma_color_valid

char ma_color_valid

non-0 ==> ma_color is non-default

Definition at line 68 of file mater.h.

◆ ma_cinherit

char ma_cinherit

color: DB_INH_LOWER / DB_INH_HIGHER

Definition at line 69 of file mater.h.

◆ ma_minherit

char ma_minherit

mater: DB_INH_LOWER / DB_INH_HIGHER

Definition at line 70 of file mater.h.

◆ ma_shader

char* ma_shader

shader name & parms

Definition at line 71 of file mater.h.


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