add 'xray_opacity' NotePreset property

This commit is contained in:
MihailRis
2024-11-15 00:38:41 +03:00
parent 3a1e90f517
commit ef644ca56d
6 changed files with 30 additions and 15 deletions
+4 -3
View File
@@ -21,17 +21,18 @@ class TextsRenderer {
std::unordered_map<u64id_t, std::unique_ptr<TextNote>> notes;
u64id_t nextNote = 1;
void renderText(
void renderNote(
const TextNote& note,
const DrawContext& context,
const Camera& camera,
const EngineSettings& settings,
bool hudVisible
bool hudVisible,
bool frontLayer
);
public:
TextsRenderer(Batch3D& batch, const Assets& assets, const Frustum& frustum);
void renderTexts(
void render(
const DrawContext& context,
const Camera& camera,
const EngineSettings& settings,