Ejemplo n.º 1
0
 public ShaderInfo(VkShaderStageFlags _stageFlags, string _spirvPath, SpecializationInfo specializationInfo = null, string _entryPoint = "main")
 {
     StageFlags = _stageFlags;
     SpirvPath  = _spirvPath;
     EntryPoint = new FixedUtf8String(_entryPoint);
     this.SpecializationInfo = specializationInfo;
 }
Ejemplo n.º 2
0
 public void AddShader(VkShaderStageFlags _stageFlags, string _spirvPath, SpecializationInfo specializationInfo = null, string _entryPoint = "main")
 {
     shaders.Add(new ShaderInfo(_stageFlags, _spirvPath, specializationInfo, _entryPoint));
 }