diff options
Diffstat (limited to 'indra/newview/lldrawpoolpbropaque.h')
-rw-r--r-- | indra/newview/lldrawpoolpbropaque.h | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/indra/newview/lldrawpoolpbropaque.h b/indra/newview/lldrawpoolpbropaque.h index c355b10b12..3d80a0657e 100644 --- a/indra/newview/lldrawpoolpbropaque.h +++ b/indra/newview/lldrawpoolpbropaque.h @@ -29,7 +29,7 @@ #include "lldrawpool.h" -class LLDrawPoolPBROpaque : public LLRenderPass +class LLDrawPoolGLTFPBR final : public LLRenderPass { public: enum @@ -44,20 +44,17 @@ public: | LLVertexBuffer::MAP_TANGENT | LLVertexBuffer::MAP_COLOR }; - virtual U32 getVertexDataMask() { return VERTEX_DATA_MASK; } + U32 getVertexDataMask() override { return VERTEX_DATA_MASK; } - LLDrawPoolPBROpaque(); + LLDrawPoolGLTFPBR(); - /*virtual*/ S32 getNumDeferredPasses() { return 1; } - /*virtual*/ void renderDeferred(S32 pass); + S32 getNumDeferredPasses() override { return 1; } + void renderDeferred(S32 pass) override; - // Non ALM isn't supported - /*virtual*/ void beginRenderPass(S32 pass); - /*virtual*/ void endRenderPass(S32 pass); - /*virtual*/ S32 getNumPasses() { return 0; } - /*virtual*/ void render(S32 pass = 0); - /*virtual*/ void prerender(); + S32 getNumShadowPasses() override { return 1; } + void renderShadow(S32 pass) override; + }; #endif // LL_LLDRAWPOOLPBROPAQUE_H |