Simulant  21.06-50
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
Public Attributes | List of all members
smlt::CoreMaterial Struct Reference

Public Attributes

const Colour diffuse = Colour(1, 1, 1, 1)
 
const Colour ambient = Colour(1, 1, 1, 1)
 
const Colour emission = Colour(0, 0, 0, 1)
 
const Colour specular = Colour(0, 0, 0, 1)
 
const float shininess = 0.0f
 
const float point_size = 1.0f
 
const bool depth_writes_enabled = true
 
const bool depth_test_enabled = true
 
const bool lighting_enabled = true
 
const int32_t textures_enabled = DIFFUSE_MAP_ENABLED | LIGHT_MAP_ENABLED | SPECULAR_MAP_ENABLED | NORMAL_MAP_ENABLED
 
TexturePtr diffuse_map
 
TexturePtr light_map
 
TexturePtr normal_map
 
TexturePtr specular_map
 
const Mat4 diffuse_map_matrix
 
const Mat4 specular_map_matrix
 
const Mat4 light_map_matrix
 
const Mat4 normal_map_matrix
 
const EnumType blend_func = (EnumType) BLEND_NONE
 
const EnumType polygon_mode = (EnumType) POLYGON_MODE_FILL
 
const EnumType shade_model = (EnumType) SHADE_MODEL_SMOOTH
 
const EnumType colour_material = (EnumType) COLOUR_MATERIAL_NONE
 
const EnumType cull_mode = (EnumType) CULL_MODE_NONE
 
const EnumType depth_func = (EnumType) DEPTH_FUNC_LEQUAL
 
const EnumType fog_mode = (EnumType) FOG_MODE_NONE
 
const float fog_density = 1.0f
 
const float fog_start = 100.0f
 
const float fog_end = 1000.0f
 
const Colour fog_colour = smlt::Colour::WHITE
 

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