OgreD3D11RenderToVertexBuffer.h
Go to the documentation of this file.
1 /*
2 -----------------------------------------------------------------------------
3 This source file is part of OGRE
4 (Object-oriented Graphics Rendering Engine)
5 For the latest info, see http://www.ogre3d.org/
6 
7 Copyright (c) 2000-2013 Torus Knot Software Ltd
8 
9 Permission is hereby granted, free of charge, to any person obtaining a copy
10 of this software and associated documentation files (the "Software"), to deal
11 in the Software without restriction, including without limitation the rights
12 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
13 copies of the Software, and to permit persons to whom the Software is
14 furnished to do so, subject to the following conditions:
15 
16 The above copyright notice and this permission notice shall be included in
17 all copies or substantial portions of the Software.
18 
19 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
24 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
25 THE SOFTWARE.
26 -----------------------------------------------------------------------------
27 */
28 #ifndef __D3D11RenderToVertexBuffer_H__
29 #define __D3D11RenderToVertexBuffer_H__
30 
32 #include "OgreD3D11Prerequisites.h"
33 
34 namespace Ogre {
46  {
47  public:
49  virtual ~D3D11RenderToVertexBuffer(void);
50 
54  virtual void getRenderOperation(RenderOperation& op);
55 
59  virtual void update(SceneManager* sceneMgr);
60  void reallocateBuffer(size_t index);
61  protected:
63 
64  ID3D11GeometryShader* mpGeometryShader;
69  };
70 }
71 #endif
Ogre::D3D11RenderToVertexBuffer::~D3D11RenderToVertexBuffer
virtual ~D3D11RenderToVertexBuffer(void)
Ogre
Definition: OgreAndroidLogListener.h:34
Ogre::D3D11RenderToVertexBuffer::getRenderOperation
virtual void getRenderOperation(RenderOperation &op)
Get the render operation for this buffer.
Ogre::D3D11RenderToVertexBuffer::mFrontBufferIndex
size_t mFrontBufferIndex
Definition: OgreD3D11RenderToVertexBuffer.h:67
Ogre::Pass
Class defining a single pass of a Technique (of a Material), i.e.
Definition: OgrePass.h:80
OgreRenderToVertexBuffer.h
Ogre::D3D11Device
Definition: OgreD3D11Device.h:36
Ogre::D3D11RenderToVertexBuffer::update
virtual void update(SceneManager *sceneMgr)
Update the contents of this vertex buffer by rendering.
OgreD3D11Prerequisites.h
Ogre::SceneManager
Manages the organisation and rendering of a 'scene' i.e.
Definition: OgreSceneManager.h:143
Ogre::D3D11RenderToVertexBuffer::setupGeometryShaderLinkageToStreamOut
void setupGeometryShaderLinkageToStreamOut(Pass *pass)
Ogre::HardwareVertexBufferSharedPtr
Shared pointer implementation used to share vertex buffers.
Definition: OgreHardwareVertexBuffer.h:86
Ogre::D3D11RenderToVertexBuffer::mpGeometryShader
ID3D11GeometryShader * mpGeometryShader
Definition: OgreD3D11RenderToVertexBuffer.h:64
Ogre::D3D11RenderToVertexBuffer
An object which renders geometry to a vertex.
Definition: OgreD3D11RenderToVertexBuffer.h:44
Ogre::D3D11RenderToVertexBuffer::mBufManager
D3D11HardwareBufferManagerBase * mBufManager
Definition: OgreD3D11RenderToVertexBuffer.h:68
Ogre::D3D11RenderToVertexBuffer::mVertexBuffers
HardwareVertexBufferSharedPtr mVertexBuffers[2]
Definition: OgreD3D11RenderToVertexBuffer.h:66
Ogre::D3D11RenderToVertexBuffer::reallocateBuffer
void reallocateBuffer(size_t index)
Ogre::D3D11RenderToVertexBuffer::D3D11RenderToVertexBuffer
D3D11RenderToVertexBuffer(D3D11Device &device, D3D11HardwareBufferManagerBase *bufManager)
Ogre::RenderOperation
'New' rendering operation using vertex buffers.
Definition: OgreRenderOperation.h:45
Ogre::RenderToVertexBuffer
Definition: OgreRenderToVertexBuffer.h:51
Ogre::D3D11HardwareBufferManagerBase
Implementation of HardwareBufferManager for D3D11.
Definition: OgreD3D11HardwareBufferManager.h:37
Ogre::D3D11RenderToVertexBuffer::mDevice
D3D11Device & mDevice
Definition: OgreD3D11RenderToVertexBuffer.h:65

Copyright © 2012 Torus Knot Software Ltd
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Tue Apr 13 2021 08:53:15