您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

34 行
1.1 KiB

using System.Collections.Generic;
using UnityEngine.Rendering;
namespace UnityEngine.TestTools.Graphics
{
/// <summary>
/// Describes an object that can provide GraphicsTestCase objects. THe framework provides different implementations
/// for the Editor (which loads reference images directly from the Asset Database) and Players (which use the
/// pre-built AssetBundle).
/// </summary>
public interface IGraphicsTestCaseProvider
{
/// <summary>
/// Retrieve the list of test cases to generate tests for.
/// </summary>
/// <returns></returns>
IEnumerable<GraphicsTestCase> GetTestCases();
/// <summary>
/// The color space that the test cases are for.
/// </summary>
ColorSpace ColorSpace { get; }
/// <summary>
/// The platform that the test cases are for.
/// </summary>
RuntimePlatform Platform { get; }
/// <summary>
/// The graphics device type that the test cases are for.
/// </summary>
GraphicsDeviceType GraphicsDevice { get; }
}
}