class Engine::DefaultShader

Defined in:

engine/shaders.cr

Instance Method Summary

Instance methods inherited from class Engine::Shader

activate activate, to_unsafe to_unsafe

Constructor methods inherited from class Engine::Shader

new(data : Int32) new

Macros inherited from class Engine::Shader

attribute(name, typ, id) attribute, uniform(name, typ, id) uniform, uniform_array(name, count, typ, id) uniform_array

Instance Method Detail

def screen_size : Vec2 #

[View source]
def screen_size=(value : Vec2) #

[View source]
def tex : Sampler2d #

[View source]
def tex=(value : Sprite) #

[View source]