summaryrefslogtreecommitdiffstats
path: root/src/runtimerender/resourcemanager/Qt3DSRenderLoadedTexture.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtimerender/resourcemanager/Qt3DSRenderLoadedTexture.h')
-rw-r--r--src/runtimerender/resourcemanager/Qt3DSRenderLoadedTexture.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/runtimerender/resourcemanager/Qt3DSRenderLoadedTexture.h b/src/runtimerender/resourcemanager/Qt3DSRenderLoadedTexture.h
index 10200ad..cb0b2b6 100644
--- a/src/runtimerender/resourcemanager/Qt3DSRenderLoadedTexture.h
+++ b/src/runtimerender/resourcemanager/Qt3DSRenderLoadedTexture.h
@@ -155,7 +155,9 @@ namespace render {
static SLoadedTexture *Load(const QString &inPath, NVFoundationBase &inAllocator,
IInputStreamFactory &inFactory, bool inFlipY = true,
NVRenderContextType renderContextType
- = NVRenderContextValues::NullContext, bool preferKTX = false);
+ = NVRenderContextValues::NullContext,
+ bool preferKTX = false,
+ IBufferManager *bufferManager = nullptr);
static SLoadedTexture *LoadDDS(IInStream &inStream, QT3DSI32 flipVertical,
NVFoundationBase &fnd,
NVRenderContextType renderContextType);
@@ -173,7 +175,8 @@ namespace render {
static SLoadedTexture *LoadQImage(const QString &inPath, QT3DSI32 flipVertical,
NVFoundationBase &fnd,
- NVRenderContextType renderContextType);
+ NVRenderContextType renderContextType,
+ IBufferManager *bufferManager = nullptr);
private:
// Implemented in the bmp loader.