ShaderSource Class
Represents shader source code.
public class ShaderSource
Inheritance System.Object → ShaderSource
| Properties | |
|---|---|
| Code | Gets the shader source code or bytecode. |
| EntryPoint | Gets the entry point function name. |
| Language | Gets the shader language/format. |
| Stage | Gets the shader stage. |
| Methods | |
|---|---|
| FromHLSL(string, ShaderStage, string) | Creates a shader source from HLSL string. |
| FromSPIRV(byte[], ShaderStage, string) | Creates a shader source from SPIRV bytecode. |