# RayLib \[…]

RayLib är ett grafikbibliotek som är ganska lätt att komma igång med och som påminner om traditionella bibliotek som t.ex. SDL.

I vanliga fall är RayLib, som de flesta bibliotek, gjort för C++. Men det går ganska lätt att använda till C# också.

Den officiella dokumentationen består dels av [en lathund](https://www.raylib.com/cheatsheet/cheatsheet.html), dels av en ganska [välfylld wiki](https://github.com/raysan5/raylib/wiki). Däremot är båda 100% anpassade för C++ och inte C#, vilket gör att man det är en del skillnader.

Innehåll:

* [Raylib setup](/annat/raylib/raylib-setup.md)
* [Fönster i Raylib](/annat/raylib/foenster-i-raylib.md)
* [Grundläggande grafik](/annat/raylib/grafik.md)
* [Geometriska former](/annat/raylib/geometriska-former.md)
* [Bilder och texturer](/annat/raylib/bilder-och-texturer.md)
* [Input](/annat/raylib/input.md)
* [Text](/annat/raylib/text.md)
* [Rectangle](/annat/raylib/rectangle.md)
* [Kollisioner](/annat/raylib/kollisioner.md)
* [Kamera](/annat/raylib/kamera.md)
* [Ljud](/annat/raylib/ljud.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://csharp.progdocs.se/annat/raylib.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
