Tachyon (current)  Current Main Branch
Data Fields
rt_material Struct Reference

structure containing Tachyon material properties More...

#include <TachyonOptiXShaders.h>

Data Fields

float opacity
 surface opacity More...
 
float ambient
 constant ambient light factor More...
 
float diffuse
 diffuse reflectance coefficient More...
 
float specular
 specular reflectance coefficient More...
 
float shininess
 specular highlight size (exponential) More...
 
float reflectivity
 mirror reflectance coefficient More...
 
float outline
 outline shading coefficient More...
 
float outlinewidth
 width of outline shading effect More...
 
int transmode
 transparency behavior More...
 
cudaTextureObject_t tex
 texture, non-zero if valid More...
 
int matflags
 alpha/cutout transparency flags More...
 
int userindex
 material user index, positive if valid More...
 

Detailed Description

structure containing Tachyon material properties

Definition at line 246 of file TachyonOptiXShaders.h.

Field Documentation

◆ ambient

float rt_material::ambient

constant ambient light factor

Definition at line 248 of file TachyonOptiXShaders.h.

Referenced by TachyonOptiX::add_material_textured().

◆ diffuse

float rt_material::diffuse

diffuse reflectance coefficient

Definition at line 249 of file TachyonOptiXShaders.h.

Referenced by TachyonOptiX::add_material_textured().

◆ matflags

int rt_material::matflags

alpha/cutout transparency flags

Definition at line 257 of file TachyonOptiXShaders.h.

Referenced by TachyonOptiX::add_material_textured().

◆ opacity

float rt_material::opacity

◆ outline

float rt_material::outline

outline shading coefficient

Definition at line 253 of file TachyonOptiXShaders.h.

◆ outlinewidth

float rt_material::outlinewidth

width of outline shading effect

Definition at line 254 of file TachyonOptiXShaders.h.

◆ reflectivity

float rt_material::reflectivity

mirror reflectance coefficient

Definition at line 252 of file TachyonOptiXShaders.h.

Referenced by TachyonOptiX::add_material_textured().

◆ shininess

float rt_material::shininess

specular highlight size (exponential)

Definition at line 251 of file TachyonOptiXShaders.h.

Referenced by TachyonOptiX::add_material_textured().

◆ specular

float rt_material::specular

specular reflectance coefficient

Definition at line 250 of file TachyonOptiXShaders.h.

Referenced by TachyonOptiX::add_material_textured().

◆ tex

cudaTextureObject_t rt_material::tex

texture, non-zero if valid

Definition at line 256 of file TachyonOptiXShaders.h.

Referenced by TachyonOptiX::add_material_textured().

◆ transmode

int rt_material::transmode

transparency behavior

Definition at line 255 of file TachyonOptiXShaders.h.

Referenced by TachyonOptiX::add_material_textured().

◆ userindex

int rt_material::userindex

material user index, positive if valid

Definition at line 258 of file TachyonOptiXShaders.h.

Referenced by TachyonOptiX::add_material_textured().


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