From a7a76b1173a2bd2b768e910b72e5ff3a5b61b93f Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Sun, 30 Dec 2018 10:48:39 -0800 Subject: Updated readme --- Graphics/GraphicsEngineD3D11/readme.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Graphics/GraphicsEngineD3D11') diff --git a/Graphics/GraphicsEngineD3D11/readme.md b/Graphics/GraphicsEngineD3D11/readme.md index af98991c..3a9dab60 100644 --- a/Graphics/GraphicsEngineD3D11/readme.md +++ b/Graphics/GraphicsEngineD3D11/readme.md @@ -1,11 +1,11 @@ # GraphicsEngineD3D11 -Implementation of Diligent Engine API using Direct3D11 +Implementation of Direct3D11 back-end # Initialization -The following code snippet shows how to initialize diligent engine in D3D11 mode. +The following code snippet shows how to initialize Diligent Engine in D3D11 mode. ```cpp #include "RenderDeviceFactoryD3D11.h" @@ -57,13 +57,13 @@ Below are some of the methods that provide access to internal D3D11 objects: ## Creating Diligent Engine Objects from D3D11 Resources -* `void IRenderDeviceD3D11::CreateBufferFromD3DResource(ID3D11Buffer *pd3d11Buffer, const BufferDesc& BuffDesc, IBuffer **ppBuffer)` - +* `void IRenderDeviceD3D11::CreateBufferFromD3DResource(ID3D11Buffer *pd3d11Buffer, const BufferDesc& BuffDesc, RESOURCE_STATE InitialState, IBuffer **ppBuffer)` - creates a diligent engine buffer object from the native d3d11 buffer -* `void IRenderDeviceD3D11::CreateTextureFromD3DResource(ID3D11Texture1D *pd3d11Texture, ITexture **ppTexture)` - +* `void IRenderDeviceD3D11::CreateTextureFromD3DResource(ID3D11Texture1D *pd3d11Texture, RESOURCE_STATE InitialState, ITexture **ppTexture)` - create a diligent engine texture object from the native D3D11 1D texture -* `void IRenderDeviceD3D11::CreateTextureFromD3DResource(ID3D11Texture2D *pd3d11Texture, ITexture **ppTexture)` - +* `void IRenderDeviceD3D11::CreateTextureFromD3DResource(ID3D11Texture2D *pd3d11Texture, RESOURCE_STATE InitialState, ITexture **ppTexture)` - create a diligent engine texture object from the native D3D11 2D texture -* `void IRenderDeviceD3D11::CreateTextureFromD3DResource(ID3D11Texture3D *pd3d11Texture, ITexture **ppTexture)` - +* `void IRenderDeviceD3D11::CreateTextureFromD3DResource(ID3D11Texture3D *pd3d11Texture, RESOURCE_STATE InitialState, ITexture **ppTexture)` - create a diligent engine texture object from the native D3D11 3D texture ## Initializing the Engine by Attaching to Existing D3D11 Device and Immediate Context -- cgit v1.2.3