stride/sources
Tugui Nicolae b0b597d36e Update the forum link with Github discussions link 2023-05-04 00:44:54 +02:00
..
assets rebased branch 2023-04-01 16:39:05 -06:00
buildengine [Build] Fix latest nuget and update packages 2022-01-13 19:28:00 +01:00
core Cleanup Win8 & Win10 refs 2023-04-17 16:23:59 +02:00
data [Build] Start to remove usage of StridePlatform in .csproj files 2022-01-06 06:18:16 +09:00
editor Update the forum link with Github discussions link 2023-05-04 00:44:54 +02:00
engine Cleanup Windows Phone refs 2023-04-13 13:16:57 +02:00
launcher Cleanup Silverlight refs 2023-04-13 13:17:00 +02:00
localization
metrics
native Tackling the mobile targets 2022-05-13 20:40:00 +02:00
prerequisites Cleanup Silverlight refs 2023-04-13 13:17:00 +02:00
presentation [Editor] Fix rotation value showing -0 due to MathF respecting negative sign even at zero 2022-12-28 11:53:58 +01:00
shaders Cleanup Silverlight refs 2023-04-13 13:17:00 +02:00
shared Merge pull request #1428 from vvvv/dev/azeno/native-libs-use-runtimes-folder 2023-03-14 10:53:25 +00:00
targets Cleanup NET Portable,MicroFramework,Client 2023-04-17 16:24:01 +02:00
tests [Build] Fix latest nuget and update packages 2022-01-13 19:28:00 +01:00
tools Also check negative values 2023-05-01 14:42:41 +03: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>