@@ -11,20 +11,16 @@ namespace mbgl {
|
||||
namespace uniforms {
|
||||
MBGL_DEFINE_UNIFORM_SCALAR(float, overlay_scale);
|
||||
}
|
||||
class DebugProgram final : public Program<
|
||||
DebugProgram,
|
||||
shaders::BuiltIn::DebugProgram,
|
||||
gfx::PrimitiveType::Line,
|
||||
TypeList<attributes::pos>,
|
||||
TypeList<uniforms::matrix, uniforms::color, uniforms::overlay_scale>,
|
||||
TypeList<textures::overlay>,
|
||||
style::Properties<>>
|
||||
{
|
||||
class DebugProgram final : public Program<DebugProgram,
|
||||
shaders::BuiltIn::DebugProgram,
|
||||
gfx::PrimitiveType::Line,
|
||||
TypeList<attributes::pos>,
|
||||
TypeList<uniforms::matrix, uniforms::color, uniforms::overlay_scale>,
|
||||
TypeList<textures::overlay>,
|
||||
style::Properties<>> {
|
||||
public:
|
||||
static constexpr std::string_view Name{"DebugProgram"};
|
||||
const std::string_view typeName() const noexcept override {
|
||||
return Name;
|
||||
}
|
||||
const std::string_view typeName() const noexcept override { return Name; }
|
||||
|
||||
using Program::Program;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user