API Documentation
Loading...
Searching...
No Matches
FragUniformObject Struct Reference

Items to send to the OpenGL Fragmentation shader. More...

#include <GLESMaterialManager.h>

Collaboration diagram for FragUniformObject:
[legend]

Public Types

enum  ColorPosition : uint01 {
  e_kd_frag_pos = 8 , e_ka_frag_pos = 9 , e_ks_frag_pos = 10 , e_kr_frag_pos = 11 ,
  e_kd_frag_pos = 8 , e_ka_frag_pos = 9 , e_ks_frag_pos = 10 , e_kr_frag_pos = 11
}
 
enum  ColorPosition : uint01 {
  e_kd_frag_pos = 8 , e_ka_frag_pos = 9 , e_ks_frag_pos = 10 , e_kr_frag_pos = 11 ,
  e_kd_frag_pos = 8 , e_ka_frag_pos = 9 , e_ks_frag_pos = 10 , e_kr_frag_pos = 11
}
 
enum  FloatPosition : uint01 {
  e_min_value_frag_pos = 0 , e_mid_value_frag_pos = 1 , e_max_value_frag_pos = 2 , e_min_value_frag_pos = 0 ,
  e_mid_value_frag_pos = 1 , e_max_value_frag_pos = 2
}
 
enum  FloatPosition : uint01 {
  e_min_value_frag_pos = 0 , e_mid_value_frag_pos = 1 , e_max_value_frag_pos = 2 , e_min_value_frag_pos = 0 ,
  e_mid_value_frag_pos = 1 , e_max_value_frag_pos = 2
}
 

Public Member Functions

 FragUniformObject ()
 
 FragUniformObject ()
 
 FragUniformObject (const Material &m_material)
 
 FragUniformObject (const Material &m_material)
 
void setMode (Material::TextureCoordMode mat_mode)
 
void setMode (Material::TextureCoordMode mat_mode)
 

Public Attributes

fltp04 fade_distance = 99.9f
 
Matrix< fltp04float_values
 
Vector< 16, fltp04float_values
 
uint04 layer_number = Constant<uint04>::Invalid
 
Vector< 4, sint04m_grid_lines = Vector<4, sint04>(-1)
 
Vector< 4, sint04m_grid_lines_desc = Vector<4, sint04>(-1)
 
fltp04 max_distance = 500.0f
 
fltp04 opacity = 1.0f
 
Vector< 12, RGBColorpalette_colors
 
uint04 palette_size = 0
 
uint04 render_mode = 0U
 
fltp04 shininess = 1.0f
 
VulkanBitflagObject tex_flags
 
uint04 texture_coord_mode = 0
 

Detailed Description

Items to send to the OpenGL Fragmentation shader.

Information sent to the Fragmentation shader as a uniform object.



Member Enumeration Documentation

◆ ColorPosition [1/2]

Enumerator
e_kd_frag_pos 
e_ka_frag_pos 
e_ks_frag_pos 
e_kr_frag_pos 
e_kd_frag_pos 
e_ka_frag_pos 
e_ks_frag_pos 
e_kr_frag_pos 

◆ ColorPosition [2/2]

Enumerator
e_kd_frag_pos 
e_ka_frag_pos 
e_ks_frag_pos 
e_kr_frag_pos 
e_kd_frag_pos 
e_ka_frag_pos 
e_ks_frag_pos 
e_kr_frag_pos 

◆ FloatPosition [1/2]

Enumerator
e_min_value_frag_pos 
e_mid_value_frag_pos 
e_max_value_frag_pos 
e_min_value_frag_pos 
e_mid_value_frag_pos 
e_max_value_frag_pos 

◆ FloatPosition [2/2]

Enumerator
e_min_value_frag_pos 
e_mid_value_frag_pos 
e_max_value_frag_pos 
e_min_value_frag_pos 
e_mid_value_frag_pos 
e_max_value_frag_pos 

Constructor & Destructor Documentation

◆ FragUniformObject() [1/4]

FragUniformObject ( )
inline

◆ FragUniformObject() [2/4]

FragUniformObject ( const Material & m_material)

◆ FragUniformObject() [3/4]

FragUniformObject ( )
inline

◆ FragUniformObject() [4/4]

FragUniformObject ( const Material & m_material)

Member Function Documentation

◆ setMode() [1/2]

void setMode ( Material::TextureCoordMode mat_mode)
inline

◆ setMode() [2/2]

void setMode ( Material::TextureCoordMode mat_mode)
inline

Member Data Documentation

◆ fade_distance

fltp04 fade_distance = 99.9f

◆ float_values [1/2]

Matrix<fltp04> float_values

◆ float_values [2/2]

Vector<16, fltp04> float_values

◆ layer_number

uint04 layer_number = Constant<uint04>::Invalid

◆ m_grid_lines

Vector< 4, sint04 > m_grid_lines = Vector<4, sint04>(-1)

◆ m_grid_lines_desc

Vector< 4, sint04 > m_grid_lines_desc = Vector<4, sint04>(-1)

◆ max_distance

fltp04 max_distance = 500.0f

◆ opacity

fltp04 opacity = 1.0f

◆ palette_colors

Vector< 12, RGBColor > palette_colors

◆ palette_size

uint04 palette_size = 0

◆ render_mode

uint04 render_mode = 0U

◆ shininess

fltp04 shininess = 1.0f

◆ tex_flags

◆ texture_coord_mode

uint04 texture_coord_mode = 0

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