abstract class Boleite::Shader

Direct Known Subclasses

Defined in:

boleite/graphics/shader.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(parser : ShaderParser) #

[View source]

Class Method Detail

def self.load_file(path, graphics) #

[View source]
def self.load_string(source, graphics) #

[View source]

Instance Method Detail

abstract def activate(&) #

[View source]
abstract def has_projection_transform? : Bool #

[View source]
abstract def has_view_transform? : Bool #

[View source]
abstract def has_world_transform? : Bool #

[View source]
abstract def projection_transform=(value : Matrix44f32) : Void #

[View source]
abstract def set_parameter(name, value : Float32) : Void #

[View source]
abstract def set_parameter(name, value : Vector2f32) : Void #

[View source]
abstract def set_parameter(name, value : Vector3f32) : Void #

[View source]
abstract def set_parameter(name, value : Vector4f32) : Void #

[View source]
abstract def set_parameter(name, value : Matrix33f32) : Void #

[View source]
abstract def set_parameter(name, value : Matrix44f32) : Void #

[View source]
abstract def set_parameter(name, value : Texture) : Void #

[View source]
abstract def view_transform=(value : Matrix44f32) : Void #

[View source]
abstract def world_transform=(value : Matrix44f32) : Void #

[View source]