docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ShaderlabShaderData

    Data structure to hold Shaderlab shader execution results

    Inheritance
    object
    ShaderlabShaderData
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.TestTools.Graphics.Shaders
    Assembly: UnityEditor.TestTools.Graphics.dll
    Syntax
    public class ShaderlabShaderData

    Constructors

    ShaderlabShaderData(Texture2D, Vector3[])

    Creates a new ShaderlabShaderData instance

    Declaration
    public ShaderlabShaderData(Texture2D fragment, Vector3[] vertex)
    Parameters
    Type Name Description
    Texture2D fragment

    Fragment shader output as Texture2D

    Vector3[] vertex

    Vertex shader output as array of Vector3

    Fields

    Fragment

    Fragment shader output as Texture2D

    Declaration
    public readonly Texture2D Fragment
    Field Value
    Type Description
    Texture2D

    Vertex

    Vertex shader output as array of Vector3

    Declaration
    public Vector3[] Vertex
    Field Value
    Type Description
    Vector3[]
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)