public void TestConstantsStructMatchesShader()
 {
     MaterialTestCommon.TestConstantsStructMatchesShader <UberMaterial, UberConstants>(UberMaterial.StandardShaderName, "cbuffer0");
     MaterialTestCommon.TestConstantsStructMatchesShader <UberMaterial, UberConstants>(UberMaterial.UnorderedTransparencyShaderName, "cbuffer0");
 }
Ejemplo n.º 2
0
 public void TestConstantsStructMatchesShader()
 {
     MaterialTestCommon.TestConstantsStructMatchesShader <BasicSpecularMaterial, BasicSpecularMaterial.Constants>(BasicSpecularMaterial.ShaderName, "cbuffer0");
 }