aboutsummaryrefslogtreecommitdiff
path: root/demo/d3d11/demoContextD3D11.h
diff options
context:
space:
mode:
authorMiles Macklin <[email protected]>2018-03-19 15:10:24 +1300
committerMiles Macklin <[email protected]>2018-03-19 15:10:24 +1300
commit8ee05c79ae1748ef132a12e4fb0af284899faec6 (patch)
tree82bd5aa1892e28ce7886b6cfeafe66a47ff38e67 /demo/d3d11/demoContextD3D11.h
parentFlex 1.2 (beta 2) (diff)
downloadflex-8ee05c79ae1748ef132a12e4fb0af284899faec6.tar.xz
flex-8ee05c79ae1748ef132a12e4fb0af284899faec6.zip
Flex 1.2.0 release
Diffstat (limited to 'demo/d3d11/demoContextD3D11.h')
-rw-r--r--demo/d3d11/demoContextD3D11.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/demo/d3d11/demoContextD3D11.h b/demo/d3d11/demoContextD3D11.h
index e01dfe2..1183d3d 100644
--- a/demo/d3d11/demoContextD3D11.h
+++ b/demo/d3d11/demoContextD3D11.h
@@ -20,6 +20,7 @@ public:
virtual void startFrame(Vec4 colorIn);
virtual void endFrame();
virtual void presentFrame(bool fullsync);
+ virtual void readFrame(int* backbuffer, int width, int height);
virtual void getViewRay(int x, int y, Vec3& origin, Vec3& dir);
virtual void setView(Matrix44 view, Matrix44 projection);
virtual void renderEllipsoids(FluidRenderer* renderer, FluidRenderBuffers* buffers, int n, int offset, float radius, float screenWidth, float screenAspect, float fov, Vec3 lightPos, Vec3 lightTarget, Matrix44 lightTransform, ::ShadowMap* shadowMap, Vec4 color, float blur, float ior, bool debug);
@@ -85,6 +86,7 @@ protected:
// Target texture resolved/copied to for combination rendering from for water surface
ID3D11Texture2D* m_fluidResolvedTarget;
ID3D11ShaderResourceView* m_fluidResolvedTargetSRV;
+ ID3D11Texture2D* m_fluidResolvedStage;
AppGraphCtx* m_appGraphCtx;
AppGraphCtxD3D11* m_appGraphCtxD3D11;