Jorgemagic / Metal-Samples

A Metal Sample Gallery written in CSharp using NET6

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Metal C# examples and demos

A Metal Sample Gallery written in CSharp using NET6

Notes. Visual Studio for Mac could have some problems. If you have issues running the samples try with dotnet run command in the folder of each example.

Examples

Basic

01 - Draw Triangle

alt Draw simple Triangle

02 - Draw Indexed Quad

alt Draw Quad

03 - Draw Cube

alt Draw Cube

04 - Draw AlphaBlend

alt Draw AlphaBlend

05 - Draw Textured Cube

alt Draw Textured Cube

06 - Mipmapping

alt Mipmapping

07 - Cubemap

alt Cubemap

08 - Draw Instancing Triangles (Method 1)

alt Draw Instancing Triangles

09 - Draw Instancing Triangles (Method 2)

alt Draw Instancing Triangles

10 - Outlining object using Stencil test

alt Outlining object using Stencil test

11 - Render To Texture

alt Render to texture

12 - Draw Texture 2D Array

alt Texture 2D Array

13 - Load .obj file mesh

alt Load mesh

Advanced

14 - Tessellation

alt Tessellation

About

A Metal Sample Gallery written in CSharp using NET6

License:MIT License


Languages

Language:C# 92.4%Language:Metal 7.6%