class Boleite::Private::OpenGLShader
- Boleite::Private::OpenGLShader
- Boleite::Shader
- Reference
- Object
Included Modules
- CrystalClear
Defined in:
boleite/backend/graphics/opengl_shader.crConstructors
Class Method Summary
- .translate_blend_factor(factor : ShaderBlendSettings::Factor)
- .translate_blend_func(func : ShaderBlendSettings::Function)
- .translate_depth_func(func : ShaderDepthSettings::Function)
Instance Method Summary
- #activate(use_settings, &)
- #activate(&block)
- #activate(use_settings)
- #activate
- #apply_settings
- #apply_textures
- #compile_objects(parser)
- #contract_ensures_set_projection_transform(return_value, value)
- #contract_ensures_set_view_transform(return_value, value)
- #contract_ensures_set_world_transform(return_value, value)
- #contract_post_set_projection_transform(check_depth, return_value, value)
- #contract_post_set_view_transform(check_depth, return_value, value)
- #contract_post_set_world_transform(check_depth, return_value, value)
- #contract_pre_set_projection_transform(check_depth, value)
- #contract_pre_set_view_transform(check_depth, value)
- #contract_pre_set_world_transform(check_depth, value)
- #contract_requires_set_projection_transform(value)
- #contract_requires_set_view_transform(value)
- #contract_requires_set_world_transform(value)
- #finalize
- #has_projection_transform? : Bool
- #has_view_transform? : Bool
- #has_world_transform? : Bool
- #link_shader
- #projection_transform=(value) : Void
- #set_parameter(name, value : Float32) : Void
- #set_parameter(name, value : Vector2f32) : Void
- #set_parameter(name, value : Vector3f32) : Void
- #set_parameter(name, value : Vector4f32) : Void
- #set_parameter(name, value : Matrix33f32) : Void
- #set_parameter(name, value : Matrix44f32) : Void
- #set_parameter(name, value : Texture) : Void
- #set_projection_transform(value) : Void
- #set_view_transform(value) : Void
- #set_world_transform(value) : Void
- #test_invariant_contracts(method = "")
- #uniform_location_for(name) : LibGL::Int
- #view_transform=(value) : Void
- #world_transform=(value) : Void
Macro Summary
Instance methods inherited from class Boleite::Shader
activate(&)
activate,
has_projection_transform? : Bool
has_projection_transform?,
has_view_transform? : Bool
has_view_transform?,
has_world_transform? : Bool
has_world_transform?,
projection_transform=(value : Matrix44f32) : Void
projection_transform=,
set_parameter(name, value : Float32) : Voidset_parameter(name, value : Vector2f32) : Void
set_parameter(name, value : Vector3f32) : Void
set_parameter(name, value : Vector4f32) : Void
set_parameter(name, value : Matrix33f32) : Void
set_parameter(name, value : Matrix44f32) : Void
set_parameter(name, value : Texture) : Void set_parameter, view_transform=(value : Matrix44f32) : Void view_transform=, world_transform=(value : Matrix44f32) : Void world_transform=