![]() |
|
Sdr provides an extendable framework to discover, lazily parse, and ask for information about shaders.
A shader is a program that takes input and produces output. These programs can be implemented in a variety of different languages with different runtimes.
Rather than interface with each shading system's representation's idiosyncracies directly, complex pipelines prefer to hide away this information (but otherwise keep the information accessible) until the pipeline decides to run the shader.
With Sdr, pipelines need only hold on to two pieces of data – identifier and shadingSystem – to find the following: