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