예제 #1
0
        public void Compile(IShaderInfo info)
        {
            var bytes = info.ReadBytes();

            bytes = compilator.Compile(bytes, info.EntryPoint, ConvertToShaderStage(info.Stage), info.Name);
            info.WriteCompiledBytes(bytes);
        }