module GameOfLife::OpenGL

Extended Modules

Defined in:

game_of_life/opengl.cr

Instance Method Summary

Instance Method Detail

def set_float(shader_program, location, float) #

[View source]
def set_int(shader_program, location, int) #

[View source]
def set_matrix(shader_program, location, matrix) #

[View source]
def set_vec2(shader_program, location, vec2) #

[View source]
def set_vec3(shader_program, location, vec3) #

[View source]
def set_vec4(shader_program, location, vec4) #

[View source]
def shader(source : Pointer(UInt8), type : LibGL::ShaderType) : UInt32 #

[View source]
def shader_program(vertex_shader : UInt32, fragment_shader : UInt32) : UInt32 #

[View source]
def texture(texture : StumpyPNG::Canvas) #

[View source]