Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
opengl
master
OpenGL
Program
Built with Crystal 1.9.2
2023-10-07 15:24:19 UTC
class
OpenGL::Program
OpenGL::Program
Reference
Object
Defined in:
opengl/program.cr
Constructors
.new
Instance Method Summary
#attach
(shader)
#link
#program_id
: UInt32
#set_uniform_matrix_4f
(name, transpose, data)
#use
Constructor Detail
def self.
new
#
[
View source
]
Instance Method Detail
def
attach
(shader)
#
[
View source
]
def
link
#
[
View source
]
def
program_id
: UInt32
#
[
View source
]
def
set_uniform_matrix_4f
(name, transpose, data)
#
[
View source
]
def
use
#
[
View source
]