Home > @gglib/graphics > ShaderProgramOptions

ShaderProgramOptions interface

Constructor options for ShaderProgram

Signature:

export interface ShaderProgramOptions 

Properties

Property Type Description
fragmentShader? string | ShaderOptions | Shader (Optional) The fragment shader to be used within the program
vertexShader? string | ShaderOptions | Shader (Optional) The vertex shader to be used within the program