Class GenerateHLSL | High Definition RP | 6.7.1-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class GenerateHLSL

    Inheritance
    Object
    Attribute
    GenerateHLSL
    Namespace: UnityEngine.Experimental.Rendering
    Syntax
    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum)]
    public class GenerateHLSL : Attribute, _Attribute

    Constructors

    GenerateHLSL(PackingRules, Boolean, Boolean, Boolean, Int32, Boolean, Boolean)

    Declaration
    public GenerateHLSL(PackingRules rules = PackingRules.Exact, bool needAccessors = true, bool needSetters = false, bool needParamDebug = false, int paramDefinesStart = 1, bool omitStructDeclaration = false, bool containsPackedFields = false)
    Parameters
    Type Name Description
    PackingRules rules
    Boolean needAccessors
    Boolean needSetters
    Boolean needParamDebug
    Int32 paramDefinesStart
    Boolean omitStructDeclaration
    Boolean containsPackedFields

    Fields

    containsPackedFields

    Declaration
    public bool containsPackedFields
    Field Value
    Type Description
    Boolean

    needAccessors

    Declaration
    public bool needAccessors
    Field Value
    Type Description
    Boolean

    needParamDebug

    Declaration
    public bool needParamDebug
    Field Value
    Type Description
    Boolean

    needSetters

    Declaration
    public bool needSetters
    Field Value
    Type Description
    Boolean

    omitStructDeclaration

    Declaration
    public bool omitStructDeclaration
    Field Value
    Type Description
    Boolean

    packingRules

    Declaration
    public PackingRules packingRules
    Field Value
    Type Description
    PackingRules

    paramDefinesStart

    Declaration
    public int paramDefinesStart
    Field Value
    Type Description
    Int32
    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