toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge
/
korlibs.graphics.shader
/
Shader
Shader
data
class
Shader
(
val
type
:
ShaderType
,
val
stm
:
Program.Stm
,
val
functions
:
List
<
FuncDecl
>
,
val
name
:
String
?
=
null
)
Members
Members & Extensions
Constructors
Shader
Link copied to clipboard
constructor
(
type
:
ShaderType
,
stm
:
Program.Stm
,
functions
:
List
<
FuncDecl
>
,
name
:
String
?
=
null
)
Properties
attributes
Link copied to clipboard
val
attributes
:
LinkedHashSet
<
Attribute
>
functions
Link copied to clipboard
val
functions
:
List
<
FuncDecl
>
globals
Link copied to clipboard
val
globals
:
GlobalsProgramVisitor
is
Raw
Link copied to clipboard
val
isRaw
:
Boolean
name
Link copied to clipboard
val
name
:
String
?
=
null
samplers
Link copied to clipboard
val
samplers
:
LinkedHashSet
<
Sampler
>
stm
Link copied to clipboard
val
stm
:
Program.Stm
type
Link copied to clipboard
val
type
:
ShaderType
typed
Uniforms
Link copied to clipboard
val
typedUniforms
:
LinkedHashSet
<
TypedUniform
<
*
>
>
uniforms
Link copied to clipboard
val
uniforms
:
LinkedHashSet
<
Uniform
>
Functions
appending
Link copied to clipboard
inline
fun
Shader
.
appending
(
block
:
Program.Builder
.
(
)
->
Unit
)
:
FragmentShader
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int
to
New
Glsl
String
Link copied to clipboard
fun
Shader
.
toNewGlslString
(
config
:
GlslConfig
)
:
String
to
New
Glsl
String
Result
Link copied to clipboard
fun
Shader
.
toNewGlslStringResult
(
config
:
GlslConfig
)
:
GlslGenerator.Result