summaryrefslogtreecommitdiff
path: root/src/vk/sprite.cpp
AgeCommit message (Collapse)Author
2024-05-08refa Rename graphical engine to BluCatFrederico Linhares
2023-10-30refa Move texture sampler to texture objectFrederico Linhares
2023-09-29refa Move all descriptor sets to a new classFrederico Linhares
* src/vk/descriptor_set_layout.hpp: Moving all descriptor sets in the same class makes it easier to identify code duplication. * src/vk/graphics_pipeline_2d_solid_layout.cpp, src/vk/graphics_pipeline_2d_wired_layout.cpp, src/vk/graphics_pipeline_3d_layout.cpp: Remove redundant descriptor set layouts.
2023-05-29refa Sprite receives floats instead of Vector4DFrederico Linhares
* lib/menu.rb: Uses the new interface for Sprite. * src/sprite.cpp (Sprite#new, Sprite#draw): By requiring a Vector4D as an argument, sometimes the code calling a Sprite method needs to instantiate a Vector4D and use the stance once. The functions now require four float variables to eliminate this unnecessary instantiation.
2023-01-06refa Use Push constants for sprites and rectanglesFrederico Linhares
2022-12-23refa Merge Rectangle into Vector4DFrederico Linhares
2022-11-09feat create method Rectangle#drawFrederico Linhares
2022-09-08refa Move layouts away from graphics pipelinesFrederico Linhares
2022-08-31feat Add projection to 2D graphics pipelineFrederico Linhares
2022-08-30feat Create 2d graphics pipelineFrederico Linhares