namespace Veldrid.SPIRV
{
///
/// The output of a cross-compile operation of a compute shader from SPIR-V to some target language.
///
public class ComputeCompilationResult
{
///
/// The translated shader source code.
///
public string ComputeShader { get; }
///
/// Information about the resources used in the compiled shader.
///
public SpirvReflection Reflection { get; }
internal ComputeCompilationResult(string computeCode, SpirvReflection reflection)
{
ComputeShader = computeCode;
Reflection = reflection;
}
}
}