← スキル一覧に戻る

astralrenderer-architecture
by OxisIndustries
Fully AI Driven codebase for rendering
⭐ 0🍴 0📅 2026年1月21日
SKILL.md
name: AstralRenderer Architecture description: Guidelines for navigating and extending the AstralRenderer engine architecture
AstralRenderer Architecture Skill
This skill explains the specific architectural patterns used in the AstralRenderer engine.
Directory Structure
src/core: Low-level abstractions (Context, Device, Queue, Window).src/resources: GPU resource wrappers (Buffer, Image, Shader).src/renderer: High-level rendering logic (RenderGraph, Pipeline, SceneManager).include/astral: Public API headers.
RenderGraph System
Purpose: Manages frame-based resource dependencies and barriers automatically.
How to Add a Pass:
- Define a
RenderPassstruct or lambda. - Register input/output resources using
RenderGraph::addPass. - Provide an execute callback.
Example:
renderGraph.addPass("MyPass",
[&](RenderGraphBuilder& builder) {
// Define dependencies
builder.read(sceneDepth);
builder.write(outputColor);
},
[&](CommandBuffer& cmd) {
// Execute rendering commands
}
);
Material System
PBR Standard:
- Uses a Metallic-Roughness workflow.
- Data is passed via Material Buffers (Set #2).
- Shaders expected:
pbr.vert,pbr.frag.
Coding Conventions
- Namespaces: All code must be within the
astralnamespace. - Classes: PascalCase (
RendererSystem). - Methods/Variables: camelCase (
createInstance,m_device). - Members: Prefix private members with
m_(e.g.,m_context). - Error Handling: Use exceptions (
std::runtime_error) for fatal initialization errors; use return codes orstd::expectedfor runtime recoverable errors.
Adding New Features
- Header: Create public interface in
include/astral/<layer>/. - Source: Implement specific logic in
src/<layer>/. - Registration: If it's a renderer system, verify if it needs to be added to
RendererSystemorApplication.
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です