C# Class NewTOAPIA.GL.Imaging.AverageProcessor

Inheritance: BinaryTextureProcessor
Datei anzeigen Open project: Wiladams/NewTOAPIA Class Usage Examples

Public Properties

Property Type Description
Average_Frag string

Public Methods

Method Description
AverageProcessor ( GraphicsInterface gi, int width, int height ) : System

Protected Methods

Method Description
SetUniformVariables ( ) : void

Method Details

AverageProcessor() public method

public AverageProcessor ( GraphicsInterface gi, int width, int height ) : System
gi NewTOAPIA.GL.GraphicsInterface
width int
height int
return System

SetUniformVariables() protected method

protected SetUniformVariables ( ) : void
return void

Property Details

Average_Frag public_oe static_oe property

This fragment shader will separate an incoming texture, as specified in the tex0 uniform variable, into a Y, Cr, and Cb channel. Its operation is dependent on the grahics driver support of the GL_ARB_draw_buffers extension. This will not operate on all machines.
public static string Average_Frag
return string