vadgl ~master (2026-08-09T23:38:48.9439982)
Dub
Repo
Shader.from_src
vadgl
gl3
Shader
Create OpenGL shader and call
gl_shader_source
to set source in shader object
struct
Shader
nothrow static
GLResult
!
Shader
from_src
(
string
name
,
Type
type
,
string
src
)
Meta
Source
See Implementation
vadgl
gl3
Shader
constructors
this
enums
Type
functions
compile
compile_f
compile_src
set_source
toString
properties
id
is_compiled
is_created
is_source_set
name
type
static functions
create_shader
from_file
from_src
Create OpenGL shader and call gl_shader_source to set source in shader object