toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge
/
korlibs.graphics.shader
/
FragmentShader
Fragment
Shader
fun
FragmentShader
(
stm
:
Program.Stm
,
funcs
:
List
<
FuncDecl
>
=
listOf()
)
:
Shader
fun
FragmentShader
(
info
:
Pair
<
Program.Stm
,
List
<
FuncDecl
>
>
)
:
Shader
fun
FragmentShader
(
rawStrings
:
Map
<
String
,
String
>
,
stm
:
Program.Stm
?
=
null
)
:
Shader
inline
fun
FragmentShader
(
callback
:
ProgramBuilderDefault
.
(
)
->
Unit
)
:
FragmentShader
fun
FragmentShader
(
stm
:
Program.Stm
,
glsl
:
String
)
:
Shader
Deprecated
Use FragmentShaderRawGlSl instead