class GUI::Shader

Overview

A generic shader for the GUI

Defined in:

shader.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def color=(value : Prism::Maths::Vector3f) #

Sets the value of the "color" uniform.


[View source]
def transformation_matrix=(value : Prism::Maths::Matrix4f) #

Sets the value of the "transformationMatrix" uniform.


[View source]