class vtb::graphics::ShipShader
Base classes
  • public AbstractShaderProgram
Types
  • using Force = Magnum::GL::Attribute< 2, Float >
  • using Normal = Magnum::GL::Attribute< 1, Vector3 >
  • using Position = Magnum::GL::Attribute< 0, Vector3 >
Methods
  • setMaxForce(Float rhs) -> void
  • setLightPosition(const Vector3 & light) -> ShipShader &
  • setNormalMatrix(const Magnum::Matrix3 & matrix) -> ShipShader &
  • setTransparency(Float transparency) -> ShipShader &
  • setShininess(Float shininess) -> ShipShader &
  • setSpecularColor(const Color4 & color) -> ShipShader &
  • setDiffuseColor(const Color4 & color) -> ShipShader &
  • setAmbientColor(const Color4 & color) -> ShipShader &
  • setProjectionMatrix(const Magnum::Matrix4 & matrix) -> ShipShader &
  • setTransformationMatrix(const Magnum::Matrix4 & matrix) -> ShipShader &
  • ShipShader()explicit