Skip to main content

FlxFixedShader

Kindclass
Packagebackend
Full namebackend.FlxFixedShader
Sourcesource/backend/FlxFixedShader.hx
ExtendsOriginalFlxShader

A modded FlxShader that allows using GLSL Es 300 and GLSL 330 @author Mihai Alexandru (M.A. Jigsaw)

Known subclasses: ColorSwapShader, PixelSplashShader, RGBPaletteShader, RainShader, WiggleShader

Public fields​

NameTypeStaticDefaultNotes
customBoolnofalse—
saveBoolnotrue—

Public methods​

new (constructor)​

override function new(?save:Bool)
ParameterTypeDefault
save (optional)Bool—

View source

initGLforce​

function initGLforce()

Only compiled when #if !flash.

View source

initGood​

function initGood(glFragmentSource:String, glVertexSource:String)

Only compiled when #if !flash.

ParameterTypeDefault
glFragmentSourceString—
glVertexSourceString—

View source