stride/sources
Virgile Bello 541ba72e82 [Build] Bumped MSBuild.Sdk.Extras to 2.0.87 2020-05-28 11:43:27 +02:00
..
assets [Build] Bumped MSBuild.Sdk.Extras to 2.0.87 2020-05-28 11:43:27 +02:00
buildengine [Build] Bumped MSBuild.Sdk.Extras to 2.0.87 2020-05-28 11:43:27 +02:00
core [Build] Bumped MSBuild.Sdk.Extras to 2.0.87 2020-05-28 11:43:27 +02:00
data [Stride] Renaming: README.md 2020-04-19 13:18:45 +02:00
editor [Build] Bumped MSBuild.Sdk.Extras to 2.0.87 2020-05-28 11:43:27 +02:00
engine [Build] Bumped MSBuild.Sdk.Extras to 2.0.87 2020-05-28 11:43:27 +02:00
launcher [Build] Removed most <Reference> (usually convert to <PackageReference> if still needed or removed if not needed) 2020-05-17 22:56:06 +02:00
localization [Stride] Renaming: file contents 2020-04-14 16:37:41 +02:00
metrics [Build] Removed most <Reference> (usually convert to <PackageReference> if still needed or removed if not needed) 2020-05-17 22:56:06 +02:00
native [Stride] Renaming: file contents 2020-04-14 16:37:41 +02:00
prerequisites [Stride] Renaming: file contents 2020-04-14 16:37:41 +02:00
presentation [Build] Bumped MSBuild.Sdk.Extras to 2.0.87 2020-05-28 11:43:27 +02:00
shaders [Build] Bumped MSBuild.Sdk.Extras to 2.0.87 2020-05-28 11:43:27 +02:00
shared [Editor] Don't pack System.ValueTuple (not needed by NuGet anymore) 2020-05-11 02:47:36 +02:00
targets [Build] Bumped MSBuild.Sdk.Extras to 2.0.87 2020-05-28 11:43:27 +02:00
tests [Build] Bumped MSBuild.Sdk.Extras to 2.0.87 2020-05-28 11:43:27 +02:00
tools [Build] Bumped MSBuild.Sdk.Extras to 2.0.87 2020-05-28 11:43:27 +02:00
README.md [Stride] Renaming: file contents 2020-04-14 16:37:41 +02:00
Settings.StyleCop Initial commit 2018-06-19 18:07:32 +09:00

README.md

Stride Sources

Folders and projects layout

core

  • Stride.Core: Reference counting, dependency property system (PropertyContainer/PropertyKey), low-level serialization, low-level memory operations (Utilities and NativeStream).
  • Stride.Core.Mathematics: Mathematics library (despite its name, no dependencies on Stride.Core).
  • Stride.Core.IO: Virtual File System.
  • Stride.Core.Serialization: High-level serialization and git-like CAS storage system.
  • Stride.Core.MicroThreading: Micro-threading library based on C# 5.0 async (a.k.a. stackless programming)
  • Stride.Core.AssemblyProcessor: Internal tool used to patch assemblies to add various features, such as Serialization auto-generation, various memory/pinning operations, module initializers, etc...

presentation

  • Stride.Core.Presentation: WPF UI library (themes, controls such as propertygrid, behaviors, etc...)
  • Stride.Core.SampleApp: Simple property grid example.
  • Stride.Core.Quantum: Advanced ViewModel library that gives ability to synchronize view-models over network (w/ diff), and at requested time intervals. That way, view models can be defined within engine without any UI dependencies.

buildengine

  • Stride.Core.BuildEngine.Common: Common parts of the build engine. It can be reused to add new build steps, build commands, and also to build a new custom build engine client.
  • Stride.Core.BuildEngine: Default implementation of build engine tool (executable)
  • Stride.Core.BuildEngine.Monitor: WPF Display live results of build engine (similar to IncrediBuild)
  • Stride.Core.BuildEngine.Editor: WPF Build engine rules editor and used by most projects.

shader

  • Irony: Parsing library, used by Stride.Core.Shaders. Should later be replaced by ANTLR4.
  • Stride.Core.Shaders: Shader parsing, type analysis and conversion library (used by HLSL->GLSL and Stride Shader Language)

targets

  • MSBuild target files to create easily cross-platform solutions (Android, iOS, WinRT, WinPhone, etc...), and define behaviors and targets globally. Extensible.

Use in your project

Source repository

There is two options to integrate this repository in your own repository:

Basic use

Simply add the projects you want to use directly in your Visual Studio solution.

Optional: Activate assembly processor

If you want to use auto-generated Serialization code, some of Utilities functions or ModuleInitializer, you need to use Stride.Core.AssemblyProcessor.

Steps:

  • Include both Stride.Core.AssemblyProcessor and Stride.Core.AssemblyProcessor.Common in your solution.
  • Add either a Stride.Core.PostSettings.Local.targets or a YourSolutionName.PostSettings.Local.targets in your solution folder, with this content:
<!-- Build file pre-included automatically by all projects in the solution -->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <!-- Enable assembly processor -->
    <StrideAssemblyProcessorGlobal>true</StrideAssemblyProcessorGlobal>
  </PropertyGroup>
</Project>