Support Forum       G3D Web Page     
Public Member Functions | Public Attributes | List of all members
glsl::Draw_sphereSection_pix Class Reference

Shader program. More...

Public Member Functions

void main ()
 
void writePixel (vec3 premultipliedReflectionAndEmission, float coverage, vec3 transmissionCoefficient, float collimation, float etaRatio, vec3 csPosition, vec3 csNormal)
 

Public Attributes

out vec4 _result
 
uniform vec4 color
 
in vec3 csNormal
 
in vec3 csPosition
 
out vec4 result
 

Detailed Description

Shader program.

Member Function Documentation

◆ main()

void glsl::Draw_sphereSection_pix::main ( void  )
inline

◆ writePixel()

void glsl::Draw_sphereSection_pix::writePixel ( vec3  premultipliedReflectionAndEmission,
float  coverage,
vec3  transmissionCoefficient,
float  collimation,
float  etaRatio,
vec3  csPosition,
vec3  csNormal 
)
inline

Member Data Documentation

◆ _result

out vec4 glsl::Draw_sphereSection_pix::_result

◆ color

uniform vec4 glsl::Draw_sphereSection_pix::color

◆ csNormal

in vec3 glsl::Draw_sphereSection_pix::csNormal

◆ csPosition

in vec3 glsl::Draw_sphereSection_pix::csPosition

◆ result

out vec4 glsl::Draw_sphereSection_pix::result

documentation generated on Wed Nov 24 2021 08:02:03 using doxygen 1.8.15