Version 3.1.1.0

ShaderCompilerErrorsValidator class

Namespace: Sirenix.OdinValidator.Editor.Validators
Assembly: Sirenix.OdinValidator.Editor
public class ShaderCompilerErrorsValidator : RootObjectValidator<Shader>, IValidator, DefaultValidatorLocator.IValueValidator_InternalTemporaryHack
Inheritance

Constructors

ShaderCompilerErrorsValidator()
public ShaderCompilerErrorsValidator()

Fields

LogWarnings
[EnableIf("IsSupported")]
public bool LogWarnings

Properties

IsSupported
[ShowInInspector]
public bool IsSupported { get; }

Methods

CanValidateObject(Shader)
protected override bool CanValidateObject(Shader obj)
Parameters
UnityEngine.Shader obj

Returns
System.Boolean

Validate(ValidationResult)
protected override void Validate(ValidationResult result)
Parameters
ValidationResult result