Dagor Documentation Logo
0.1.0

内容:

  • Dagor主页
  • Dagor 入门
  • 资产和资产管理
  • .blk 文件格式
  • Asset Viewer
  • daEditor
  • dag2riRes
  • Impostor Baker
  • levels.deps
  • 构建资源
  • Substance Designer Mip Generator
  • Blender 和 3ds Max 的插件
  • 着色器编译器
  • 项目
  • 示例
  • 教程和手册
  • API 参考和文档
    • Dagor引擎渲染器
    • Dagor ECS
    • Dagor 着色器语言 (DSHL) 文档
      • 介绍
      • 基本概念
      • 通道
      • 着色器
      • 材质
      • 通用指令
      • 内部函数
      • 全局常量
      • 管线状态配置
      • 关键字
  • DaNetGame 框架
Dagor Documentation
  • API 参考和文档
  • Dagor 着色器语言 (DSHL) 文档
  • View page source

Dagor 着色器语言 (DSHL) 文档

内容:

  • 介绍
  • 基本概念
    • 条件
    • 数据类型和变量
    • 抛出编译错误
    • 硬件定义
    • 包含
    • 间隔
    • 宏
  • 通道
  • 着色器
    • 定义和编译着色器
    • Preshader
    • 着色器块
  • 材质
    • 纹理
    • 参数
    • 双面渲染
    • render_stage 指令
  • 通用指令
    • no_dynstcode
    • dont_render
    • no_ablend
  • 内部函数
    • float time_phase(float period, float offset)
    • float sin(float x)
    • float cos(float x)
    • float pow(float x, float y)
    • float4 vecpow(float4 v, float a)
    • float sqrt(float x)
    • float min(float x, float y)
    • float max(float x, float y)
    • float fsel(float a, float b, float c)
    • float4 sRGBread(float4 v)
    • float4 get_dimensions(texture t, int mip)
    • float get_size(buffer b)
    • float4 get_viewport()
    • int exists_tex(texture t)
    • int exists_buf(buffer b)
  • 全局常量
  • 管线状态配置
    • 混合
    • 深度/模版
    • 剔除
    • Alpha到覆盖范围
    • 视图实例
    • 颜色书写掩码
  • 关键字
    • 数据类型
    • 通道
    • 条件和布尔值
    • 数据类型修改器
    • 材质
    • 硬件
    • 宏
    • 间隔
    • 包含
    • 通用指令
    • 着色器块
    • 着色器
    • 图形管线设置
    • 全局常量
    • 仍然未分类
Previous Next

© Copyright Gaijin Entertainment 2025. Last updated on Jun 18, 2025.

Built with Sphinx using a theme provided by Read the Docs.