stride/sources
Mehar 025e30d709
[Editor] Fix exception with the Privacy Policy link in the Crash Reporter (#1878)
2023-10-03 02:30:06 +02:00
..
assets [Core] Fix StringComparison across the project (#1846) 2023-09-30 12:29:56 +02:00
buildengine [Core] Fix StringComparison across the project (#1846) 2023-09-30 12:29:56 +02:00
core Fix VSPackage build 2023-10-02 20:25:30 +09:00
data [Readme] Update logo for dark and light theme (#1587) 2023-09-20 02:00:46 +02:00
editor [Editor] Fix exception with the Privacy Policy link in the Crash Reporter (#1878) 2023-10-03 02:30:06 +02:00
engine [Physics] Add ray test flags (#1850) 2023-09-30 14:32:55 +02:00
launcher Cleanup Silverlight refs 2023-04-13 13:17:00 +02:00
localization
metrics
native
prerequisites Cleanup Silverlight refs 2023-04-13 13:17:00 +02:00
presentation [Core] Fix StringComparison across the project (#1846) 2023-09-30 12:29:56 +02:00
shaders [Core] Fix StringComparison across the project (#1846) 2023-09-30 12:29:56 +02:00
shared [Core] Fix StringComparison across the project (#1846) 2023-09-30 12:29:56 +02:00
targets [Roslyn] Add base setup for a Roslyn integration into Stride.Core (#1847) 2023-10-01 23:05:35 +01:00
tests
tools [Core] Fix StringComparison across the project (#1846) 2023-09-30 12:29:56 +02:00
README.md Cleanup Windows Phone refs 2023-04-13 13:16:57 +02:00
Settings.StyleCop

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, 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>