class OpenGL::Shader

Defined in:

opengl/shader.cr

Constant Summary

TYPES = {vertex: LibGL::VERTEX_SHADER, fragment: LibGL::FRAGMENT_SHADER, geometry: LibGL::GEOMETRY_SHADER, compute: LibGL::COMPUTE_SHADER, tess_evaluation: LibGL::TESS_EVALUATION_SHADER, tess_control: LibGL::TESS_CONTROL_SHADER}

Constructors

Instance Method Summary

Constructor Detail

def self.new(type) #

[View source]

Instance Method Detail

def compile #

[View source]
def delete #

[View source]
def finalize #

[View source]
def source=(source : String) #

[View source]
def source=(source : File) #

[View source]
def to_unsafe : UInt32 #

[View source]