Dagor Documentation Logo

Contents:

  • Dagor Home
  • Getting Started with Dagor
  • Assets and Assets Management
  • Dagor Tools
  • Projects
  • Samples
  • Tutorials and Manuals
  • API References and Documentation
    • Dagor Engine Render
    • Quirrel Modules Docs
    • Engine Libraries Docs
    • Dagor ECS
    • Dagor Shading Language (DSHL) docs
      • Introduction
      • Basic Concepts
      • Channels
      • Shaders
      • Materials
      • Common directives
      • Intrinsics
      • Global constants
      • Pipeline state configuration
      • Keywords
  • DaNetGame Framework
Dagor Documentation
  • API References and Documentation
  • Dagor Shading Language (DSHL) docs
  • View page source

Dagor Shading Language (DSHL) docs

Contents:

  • Introduction
  • Basic Concepts
    • Conditionals
    • Data types and variables
    • Throwing compilation errors
    • Hardware defines
    • Includes
    • Intervals
    • Macros
  • Channels
  • Shaders
    • Defining and compiling shaders
    • Preshader
    • Shader blocks
  • Materials
    • Textures
    • Parameters
    • Two sided rendering
    • render_stage directive
  • Common directives
    • no_dynstcode
    • dont_render
    • no_ablend
  • Intrinsics
    • 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)
  • Global constants
  • Pipeline state configuration
    • Blending
    • Depth/Stencil
    • Culling
    • Alpha to coverage
    • View instancing
    • Color write mask
  • Keywords
    • Data types
    • Channels
    • Conditionals and booleans
    • Data types modifiers
    • Materials
    • Hardware
    • Macros
    • Intervals
    • Includes
    • Common directives
    • Shader blocks
    • Shaders
    • Graphics pipeline settings
    • Global constants
    • Still uncategorized
Previous Next

© Copyright Gaijin Entertainment 2025. Last updated on Apr 25, 2025.

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