Skip to content

Commit 274d296

Browse files
Added Tutorial03 for DotNet
1 parent 0db14a8 commit 274d296

5 files changed

Lines changed: 11 additions & 3 deletions

File tree

.github/workflows/build-windows.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
cmake_generator: ["Visual Studio 17 2022"]
4848
cmake_args: ["-DDILIGENT_BUILD_TESTS=ON"]
4949
platform: ["Win32"]
50+
build_args: ["-- -restore"]
5051

5152
include:
5253
- name: "Win10-Dev"
@@ -55,13 +56,15 @@ jobs:
5556
build_type: "RelWithDebInfo"
5657
cmake_generator: "Visual Studio 17 2022"
5758
cmake_args: "-DDILIGENT_BUILD_CORE_TESTS=ON -DDILIGENT_BUILD_TOOLS_TESTS=ON -DDILIGENT_DEVELOPMENT=ON"
59+
build_args: "-- -restore"
5860

5961
- name: "Win8.1"
6062
platform: "Win32"
6163
toolset: "x64"
6264
build_type: "Release"
6365
cmake_generator: "Visual Studio 17 2022"
6466
cmake_args: "-DDILIGENT_BUILD_CORE_TESTS=ON -DDILIGENT_BUILD_TOOLS_TESTS=ON -DCMAKE_SYSTEM_VERSION=8.1"
67+
build_args: "-- -restore"
6568

6669
- name: "Win10-Ninja"
6770
platform: "Win32"
@@ -127,6 +130,8 @@ jobs:
127130
id: build
128131
if: success()
129132
uses: DiligentGraphics/github-action/build@v1
133+
with:
134+
build-args: ${{ matrix.build_args }}
130135

131136
# Core tests
132137
- name: DiligentCoreTest

DiligentCore

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ or [gfx-portability](https://github.com/gfx-rs/portability).
4545
* Components are clearly separated logically and physically and can be used as needed
4646
* Only take what you need for your project
4747
* Clear and concise API
48-
* C/C++
48+
* C/C++/C#
4949
* Object-based
5050
* Stateless
5151
* Key graphics features:
@@ -170,6 +170,7 @@ Build prerequisites:
170170
* Windows SDK 10.0.17763.0 or later (10.0.19041.0 is required for mesh shaders)
171171
* C++ build tools
172172
* Visual C++ ATL Support
173+
* .NET SDK
173174

174175
Use either CMake GUI or command line tool to generate build files. For example, to generate
175176
[Visual Studio 2022](https://visualstudio.microsoft.com/) 64-bit solution and project files in *build/Win64* folder,
@@ -851,6 +852,7 @@ descriptions (compile shaders for target platforms, define internal resource lay
851852
| [02 - Cube](https://github.com/DiligentGraphics/DiligentSamples/blob/master/Tutorials/Tutorial02_Cube) | ![](https://github.com/DiligentGraphics/DiligentSamples/blob/master/Tutorials/Tutorial02_Cube/Animation_Small.gif) | This tutorial demonstrates how to render an actual 3D object, a cube. It shows how to load shaders from files, create and use vertex, index and uniform buffers. |
852853
| [03 - Texturing](https://github.com/DiligentGraphics/DiligentSamples/blob/master/Tutorials/Tutorial03_Texturing) | ![](https://github.com/DiligentGraphics/DiligentSamples/blob/master/Tutorials/Tutorial03_Texturing/Animation_Small.gif) | This tutorial demonstrates how to apply a texture to a 3D object. It shows how to load a texture from file, create shader resource binding object and how to sample a texture in the shader. |
853854
| [03 - Texturing-C](https://github.com/DiligentGraphics/DiligentSamples/tree/master/Tutorials/Tutorial03_Texturing-C) | ![](https://github.com/DiligentGraphics/DiligentSamples/blob/master/Tutorials/Tutorial03_Texturing/Animation_Small.gif) | This tutorial is identical to Tutorial03, but is implemented using C API. |
855+
| [03 - Texturing-DotNet](https://github.com/DiligentGraphics/DiligentSamples/tree/master/Tutorials/Tutorial03_Texturing-DotNet) | ![](https://github.com/DiligentGraphics/DiligentSamples/blob/master/Tutorials/Tutorial03_Texturing/Animation_Small.gif) | This tutorial demonstrates how to use the Diligent Engine API in .NET applications. |
854856
| [04 - Instancing](https://github.com/DiligentGraphics/DiligentSamples/blob/master/Tutorials/Tutorial04_Instancing) | ![](https://github.com/DiligentGraphics/DiligentSamples/blob/master/Tutorials/Tutorial04_Instancing/Animation_Small.gif) | This tutorial demonstrates how to use instancing to render multiple copies of one object using unique transformation matrix for every copy. |
855857
| [05 - Texture Array](https://github.com/DiligentGraphics/DiligentSamples/blob/master/Tutorials/Tutorial05_TextureArray) | ![](https://github.com/DiligentGraphics/DiligentSamples/blob/master/Tutorials/Tutorial05_TextureArray/Animation_Small.gif) | This tutorial demonstrates how to combine instancing with texture arrays to use unique texture for every instance. |
856858
| [06 - Multithreading](https://github.com/DiligentGraphics/DiligentSamples/blob/master/Tutorials/Tutorial06_Multithreading) | ![](https://github.com/DiligentGraphics/DiligentSamples/blob/master/Tutorials/Tutorial06_Multithreading/Animation_Small.gif) | This tutorial shows how to generate command lists in parallel from multiple threads. |

appveyor.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ before_build:
4444
- echo %PLATFORM%
4545
- echo.%cmake_args%
4646
- cmake %cmake_args% -S . -B ./build -G "Visual Studio 16 2019" -A %PLATFORM%
47+
- nuget restore C:\projects\diligentengine\build\DiligentEngine.sln
4748

4849
build:
4950
project: '%APPVEYOR_BUILD_FOLDER%\build\DiligentEngine.sln'

0 commit comments

Comments
 (0)