Class HLSLArray | Core RP Library | 7.2.1
docs.unity3d.com
    Show / Hide Table of Contents

    Class HLSLArray

    Attribute defining an HLSL array.

    Inheritance
    Object
    Attribute
    HLSLArray
    Namespace: UnityEngine.Rendering
    Syntax
    [AttributeUsage(AttributeTargets.Field)]
    public class HLSLArray : Attribute, _Attribute

    Constructors

    HLSLArray(Int32, Type)

    HLSLSArray constructor.

    Declaration
    public HLSLArray(int arraySize, Type elementType)
    Parameters
    Type Name Description
    Int32 arraySize

    Size of the array.

    Type elementType

    Type of the array elements.

    Fields

    arraySize

    Size of the array.

    Declaration
    public int arraySize
    Field Value
    Type Description
    Int32

    elementType

    Type of the array elements.

    Declaration
    public Type elementType
    Field Value
    Type Description
    Type
    In This Article
    • Constructors
      • HLSLArray(Int32, Type)
    • Fields
      • arraySize
      • elementType
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023