docs
Toggle table of contents
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
docs
graphics
/
dev.mtctx.foresst.graphics.gl
/
GLShader
GLShader
class
GLShader
(
modules
:
List
<
GLShader.ShaderModule
>
)
:
Renderable
(
source
)
Members
Constructors
GLShader
Link copied to clipboard
constructor
(
modules
:
List
<
GLShader.ShaderModule
>
)
Types
Context
Link copied to clipboard
class
Context
Shader
Module
Link copied to clipboard
data
class
ShaderModule
(
val
res
:
Resource
,
val
shaderType
:
GLShaderType
,
val
name
:
String
?
=
null
)
Functions
bind
Link copied to clipboard
fun
bind
(
)
close
Link copied to clipboard
open
override
fun
close
(
)
delete
Link copied to clipboard
fun
delete
(
)
render
Link copied to clipboard
open
override
fun
render
(
)
unbind
Link copied to clipboard
fun
unbind
(
)
use
Link copied to clipboard
fun
use
(
block
:
GLShader.Context
.
(
)
->
Unit
)