mirror of
https://github.com/YACReader/yacreader
synced 2026-03-01 18:33:09 -05:00
Ensure resources dynamically
Content and settings can vary at any moment and we need to be prepared for always have a consistent context
This commit is contained in:
@ -228,6 +228,7 @@ protected:
|
||||
void updateUniformBuffer(QRhiCommandBuffer *cb, const UniformData &data);
|
||||
void prepareMarkInstanceData(const YACReader3DImageRHI &image, QVector<float> &data);
|
||||
void ensureUniformBufferCapacity(int requiredSlots);
|
||||
void ensurePipeline();
|
||||
void prepareDrawData(const YACReader3DImageRHI &image, bool isReflection, bool isMark,
|
||||
const QMatrix4x4 &viewProjectionMatrix, float *outInstanceData,
|
||||
UniformData &outUniformData);
|
||||
|
||||
Reference in New Issue
Block a user