1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 19:57:44 +00:00

LibSoftGPU: Allow binding a fragment shader

This commit is contained in:
Stephan Unverwerth 2022-09-16 18:50:07 +02:00 committed by Andrew Kaster
parent 93ab2db80f
commit 49139d5f4e
3 changed files with 19 additions and 0 deletions

View file

@ -70,6 +70,8 @@ public:
virtual RasterPosition raster_position() const = 0;
virtual void set_raster_position(RasterPosition const& raster_position) = 0;
virtual void set_raster_position(FloatVector4 const& position, FloatMatrix4x4 const& model_view_transform, FloatMatrix4x4 const& projection_transform) = 0;
virtual void bind_fragment_shader(RefPtr<Shader>) = 0;
};
}