Graphite Version 3
An experimental 3D geometry processing program
Loading...
Searching...
No Matches
UniformState Struct Reference

Public Attributes

bool vertex_colors_enabled
 
vec4 front_color
 
vec4 back_color
 
bool draw_mesh_enabled
 
vec4 mesh_color
 
float mesh_width
 
bool lighting_enabled
 
bool normal_mapping_enabled
 
vec3 light_vector
 
vec3 light_half_vector
 
float specular
 
bool texturing_enabled
 
bool indirect_texturing_enabled
 
int texture_mode
 
int texture_type
 
float cells_shrink
 
bool picking_enabled
 
int picking_mode
 
int picking_id
 
int base_picking_id
 
bool clipping_enabled
 
int clipping_mode
 
vec4 clip_plane
 
vec4 world_clip_plane
 
bool alpha_discard_enabled
 
float alpha_threshold
 
mat4 texture_matrix
 
mat4 modelviewprojection_matrix
 
mat4 inverse_modelviewprojection_matrix
 
mat3 normal_matrix
 
vec4 viewport
 
bool vertex_normals_enabled
 
bool primitive_filtering_enabled
 
bool thick_lines_enabled
 

Detailed Description

Definition at line 1 of file fragment_shader_state.h.

Member Data Documentation

◆ alpha_discard_enabled

bool UniformState::alpha_discard_enabled

Definition at line 34 of file fragment_shader_state.h.

◆ alpha_threshold

float UniformState::alpha_threshold

Definition at line 35 of file fragment_shader_state.h.

◆ back_color

vec4 UniformState::back_color

Definition at line 5 of file fragment_shader_state.h.

◆ base_picking_id

int UniformState::base_picking_id

Definition at line 27 of file fragment_shader_state.h.

◆ cells_shrink

float UniformState::cells_shrink

Definition at line 22 of file fragment_shader_state.h.

◆ clip_plane

vec4 UniformState::clip_plane

Definition at line 31 of file fragment_shader_state.h.

◆ clipping_enabled

bool UniformState::clipping_enabled

Definition at line 29 of file fragment_shader_state.h.

◆ clipping_mode

int UniformState::clipping_mode

Definition at line 30 of file fragment_shader_state.h.

◆ draw_mesh_enabled

bool UniformState::draw_mesh_enabled

Definition at line 7 of file fragment_shader_state.h.

◆ front_color

vec4 UniformState::front_color

Definition at line 4 of file fragment_shader_state.h.

◆ indirect_texturing_enabled

bool UniformState::indirect_texturing_enabled

Definition at line 18 of file fragment_shader_state.h.

◆ inverse_modelviewprojection_matrix

mat4 UniformState::inverse_modelviewprojection_matrix

Definition at line 39 of file fragment_shader_state.h.

◆ light_half_vector

vec3 UniformState::light_half_vector

Definition at line 14 of file fragment_shader_state.h.

◆ light_vector

vec3 UniformState::light_vector

Definition at line 13 of file fragment_shader_state.h.

◆ lighting_enabled

bool UniformState::lighting_enabled

Definition at line 11 of file fragment_shader_state.h.

◆ mesh_color

vec4 UniformState::mesh_color

Definition at line 8 of file fragment_shader_state.h.

◆ mesh_width

float UniformState::mesh_width

Definition at line 9 of file fragment_shader_state.h.

◆ modelviewprojection_matrix

mat4 UniformState::modelviewprojection_matrix

Definition at line 38 of file fragment_shader_state.h.

◆ normal_mapping_enabled

bool UniformState::normal_mapping_enabled

Definition at line 12 of file fragment_shader_state.h.

◆ normal_matrix

mat3 UniformState::normal_matrix

Definition at line 40 of file fragment_shader_state.h.

◆ picking_enabled

bool UniformState::picking_enabled

Definition at line 24 of file fragment_shader_state.h.

◆ picking_id

int UniformState::picking_id

Definition at line 26 of file fragment_shader_state.h.

◆ picking_mode

int UniformState::picking_mode

Definition at line 25 of file fragment_shader_state.h.

◆ primitive_filtering_enabled

bool UniformState::primitive_filtering_enabled

Definition at line 45 of file fragment_shader_state.h.

◆ specular

float UniformState::specular

Definition at line 15 of file fragment_shader_state.h.

◆ texture_matrix

mat4 UniformState::texture_matrix

Definition at line 37 of file fragment_shader_state.h.

◆ texture_mode

int UniformState::texture_mode

Definition at line 19 of file fragment_shader_state.h.

◆ texture_type

int UniformState::texture_type

Definition at line 20 of file fragment_shader_state.h.

◆ texturing_enabled

bool UniformState::texturing_enabled

Definition at line 17 of file fragment_shader_state.h.

◆ thick_lines_enabled

bool UniformState::thick_lines_enabled

Definition at line 46 of file fragment_shader_state.h.

◆ vertex_colors_enabled

bool UniformState::vertex_colors_enabled

Definition at line 2 of file fragment_shader_state.h.

◆ vertex_normals_enabled

bool UniformState::vertex_normals_enabled

Definition at line 44 of file fragment_shader_state.h.

◆ viewport

vec4 UniformState::viewport

Definition at line 42 of file fragment_shader_state.h.

◆ world_clip_plane

vec4 UniformState::world_clip_plane

Definition at line 32 of file fragment_shader_state.h.


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