Skip to content

Class robot_dart::gui::magnum:🇬🇸:PhongMultiLight

ClassList > robot_dart > gui > magnum > gs > PhongMultiLight

Inherits the following classes: Magnum::GL::AbstractShaderProgram

Public Types

Type Name
enum Magnum::UnsignedByte Flag
typedef Magnum::Containers::EnumSet< Flag > Flags
typedef Magnum::Shaders::Generic3D::Normal Normal
typedef Magnum::Shaders::Generic3D::Position Position
typedef Magnum::Shaders::Generic3D::TextureCoordinates TextureCoordinates

Public Functions

Type Name
PhongMultiLight (Flags flags={}, Magnum::Int max_lights=10)
PhongMultiLight (Magnum::NoCreateT) noexcept
PhongMultiLight & bind_cube_map_color_texture (Magnum::GL::CubeMapTextureArray & texture)
PhongMultiLight & bind_cube_map_texture (Magnum::GL::CubeMapTextureArray & texture)
PhongMultiLight & bind_shadow_color_texture (Magnum::GL::Texture2DArray & texture)
PhongMultiLight & bind_shadow_texture (Magnum::GL::Texture2DArray & texture)
Flags flags () const
Magnum::Int max_lights () const
PhongMultiLight & set_camera_matrix (const Magnum::Matrix4 & matrix)
PhongMultiLight & set_far_plane (Magnum::Float far_plane)
PhongMultiLight & set_is_shadowed (bool shadows)
PhongMultiLight & set_light (Magnum::Int i, const Light & light)
PhongMultiLight & set_material (Material & material)
PhongMultiLight & set_normal_matrix (const Magnum::Matrix3x3 & matrix)
PhongMultiLight & set_projection_matrix (const Magnum::Matrix4 & matrix)
PhongMultiLight & set_specular_strength (Magnum::Float specular_strength)
PhongMultiLight & set_transformation_matrix (const Magnum::Matrix4 & matrix)
PhongMultiLight & set_transparent_shadows (bool shadows)

Public Types Documentation

enum Flag

enum robot_dart::gui::magnum::gs::PhongMultiLight::Flag {
    AmbientTexture = 1 << 0,
    DiffuseTexture = 1 << 1,
    SpecularTexture = 1 << 2
};

typedef Flags

using robot_dart::gui::magnum::gs::PhongMultiLight::Flags =  Magnum::Containers::EnumSet<Flag>;

typedef Normal

using robot_dart::gui::magnum::gs::PhongMultiLight::Normal =  Magnum::Shaders::Generic3D::Normal;

typedef Position

using robot_dart::gui::magnum::gs::PhongMultiLight::Position =  Magnum::Shaders::Generic3D::Position;

typedef TextureCoordinates

using robot_dart::gui::magnum::gs::PhongMultiLight::TextureCoordinates =  Magnum::Shaders::Generic3D::TextureCoordinates;

Public Functions Documentation

function PhongMultiLight [½]

explicit robot_dart::gui::magnum::gs::PhongMultiLight::PhongMultiLight (
    Flags flags={},
    Magnum::Int max_lights=10
) 

function PhongMultiLight [2/2]

explicit robot_dart::gui::magnum::gs::PhongMultiLight::PhongMultiLight (
    Magnum::NoCreateT
) noexcept

function bind_cube_map_color_texture

PhongMultiLight & robot_dart::gui::magnum::gs::PhongMultiLight::bind_cube_map_color_texture (
    Magnum::GL::CubeMapTextureArray & texture
) 

function bind_cube_map_texture

PhongMultiLight & robot_dart::gui::magnum::gs::PhongMultiLight::bind_cube_map_texture (
    Magnum::GL::CubeMapTextureArray & texture
) 

function bind_shadow_color_texture

PhongMultiLight & robot_dart::gui::magnum::gs::PhongMultiLight::bind_shadow_color_texture (
    Magnum::GL::Texture2DArray & texture
) 

function bind_shadow_texture

PhongMultiLight & robot_dart::gui::magnum::gs::PhongMultiLight::bind_shadow_texture (
    Magnum::GL::Texture2DArray & texture
) 

function flags

Flags robot_dart::gui::magnum::gs::PhongMultiLight::flags () const

function max_lights

Magnum::Int robot_dart::gui::magnum::gs::PhongMultiLight::max_lights () const

function set_camera_matrix

PhongMultiLight & robot_dart::gui::magnum::gs::PhongMultiLight::set_camera_matrix (
    const Magnum::Matrix4 & matrix
) 

function set_far_plane

PhongMultiLight & robot_dart::gui::magnum::gs::PhongMultiLight::set_far_plane (
    Magnum::Float far_plane
) 

function set_is_shadowed

PhongMultiLight & robot_dart::gui::magnum::gs::PhongMultiLight::set_is_shadowed (
    bool shadows
) 

function set_light

PhongMultiLight & robot_dart::gui::magnum::gs::PhongMultiLight::set_light (
    Magnum::Int i,
    const Light & light
) 

function set_material

PhongMultiLight & robot_dart::gui::magnum::gs::PhongMultiLight::set_material (
    Material & material
) 

function set_normal_matrix

PhongMultiLight & robot_dart::gui::magnum::gs::PhongMultiLight::set_normal_matrix (
    const Magnum::Matrix3x3 & matrix
) 

function set_projection_matrix

PhongMultiLight & robot_dart::gui::magnum::gs::PhongMultiLight::set_projection_matrix (
    const Magnum::Matrix4 & matrix
) 

function set_specular_strength

PhongMultiLight & robot_dart::gui::magnum::gs::PhongMultiLight::set_specular_strength (
    Magnum::Float specular_strength
) 

function set_transformation_matrix

PhongMultiLight & robot_dart::gui::magnum::gs::PhongMultiLight::set_transformation_matrix (
    const Magnum::Matrix4 & matrix
) 

function set_transparent_shadows

PhongMultiLight & robot_dart::gui::magnum::gs::PhongMultiLight::set_transparent_shadows (
    bool shadows
) 


The documentation for this class was generated from the following file robot_dart/gui/magnum/gs/phong_multi_light.hpp