Rendu
A lightweight rendering engine for experimentations
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
GPUShaders::Frag::Debug_texture_display Class Reference

Debug texture display fragment shader. More...

Public Member Functions

void main ()
 

Public Attributes

in vec2 uv
 UV coordinates.
 
uniform uniform ivec4 channels
 Channels to display.
 
uniform vec2 range
 Value range.
 
uniform int level
 Texture level to display.
 
uniform int layer
 Texture layer to display.
 
uniform int shape
 Type of texture to display.
 
uniform bool gamma
 Apply gamma correction.
 
out vec4 fragColor
 Color.
 

Detailed Description

Debug texture display fragment shader.

See also
GPUShaders::Common::Constants, GPUShaders::Common::Utils, GPUShaders::Common::Samplers

Member Function Documentation

◆ main()

void GPUShaders::Frag::Debug_texture_display::main ( )
inline

Display the current layer and level of the right texture, adjusting values and channels..


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