Struct TypeUtils.AlignAndSize | Entities | 0.10.0-preview.6
docs.unity3d.com
    Show / Hide Table of Contents

    Struct TypeUtils.AlignAndSize

    Namespace: Unity.Entities.BuildUtils
    Syntax
    public struct AlignAndSize

    Constructors

    AlignAndSize(Int32)

    Declaration
    public AlignAndSize(int single)
    Parameters
    Type Name Description
    Int32 single

    AlignAndSize(Int32, Int32)

    Declaration
    public AlignAndSize(int a, int s)
    Parameters
    Type Name Description
    Int32 a
    Int32 s

    AlignAndSize(Int32, Int32, Int32)

    Declaration
    public AlignAndSize(int a, int s, int o)
    Parameters
    Type Name Description
    Int32 a
    Int32 s
    Int32 o

    AlignAndSize(Int32, Int32, Int32, Boolean)

    Declaration
    public AlignAndSize(int a, int s, int o, bool e)
    Parameters
    Type Name Description
    Int32 a
    Int32 s
    Int32 o
    Boolean e

    Fields

    align

    Declaration
    public readonly int align
    Field Value
    Type Description
    Int32

    Eight

    Declaration
    public static readonly TypeUtils.AlignAndSize Eight
    Field Value
    Type Description
    TypeUtils.AlignAndSize

    empty

    Declaration
    public readonly bool empty
    Field Value
    Type Description
    Boolean

    Four

    Declaration
    public static readonly TypeUtils.AlignAndSize Four
    Field Value
    Type Description
    TypeUtils.AlignAndSize

    offset

    Declaration
    public readonly int offset
    Field Value
    Type Description
    Int32

    One

    Declaration
    public static readonly TypeUtils.AlignAndSize One
    Field Value
    Type Description
    TypeUtils.AlignAndSize

    Pointer2_32

    Declaration
    public static readonly TypeUtils.AlignAndSize Pointer2_32
    Field Value
    Type Description
    TypeUtils.AlignAndSize

    Pointer2_64

    Declaration
    public static readonly TypeUtils.AlignAndSize Pointer2_64
    Field Value
    Type Description
    TypeUtils.AlignAndSize

    Pointer3_32

    Declaration
    public static readonly TypeUtils.AlignAndSize Pointer3_32
    Field Value
    Type Description
    TypeUtils.AlignAndSize

    Pointer3_64

    Declaration
    public static readonly TypeUtils.AlignAndSize Pointer3_64
    Field Value
    Type Description
    TypeUtils.AlignAndSize

    Pointer4_32

    Declaration
    public static readonly TypeUtils.AlignAndSize Pointer4_32
    Field Value
    Type Description
    TypeUtils.AlignAndSize

    Pointer4_64

    Declaration
    public static readonly TypeUtils.AlignAndSize Pointer4_64
    Field Value
    Type Description
    TypeUtils.AlignAndSize

    Sentinel

    Declaration
    public static readonly TypeUtils.AlignAndSize Sentinel
    Field Value
    Type Description
    TypeUtils.AlignAndSize

    size

    Declaration
    public readonly int size
    Field Value
    Type Description
    Int32

    Two

    Declaration
    public static readonly TypeUtils.AlignAndSize Two
    Field Value
    Type Description
    TypeUtils.AlignAndSize

    Zero

    Declaration
    public static readonly TypeUtils.AlignAndSize Zero
    Field Value
    Type Description
    TypeUtils.AlignAndSize

    Properties

    IsSentinel

    Declaration
    public bool IsSentinel { get; }
    Property Value
    Type Description
    Boolean

    Methods

    DynamicArray(Int32)

    Declaration
    public static TypeUtils.AlignAndSize DynamicArray(int bits)
    Parameters
    Type Name Description
    Int32 bits
    Returns
    Type Description
    TypeUtils.AlignAndSize

    NativeString(Int32)

    Declaration
    public static TypeUtils.AlignAndSize NativeString(int bits)
    Parameters
    Type Name Description
    Int32 bits
    Returns
    Type Description
    TypeUtils.AlignAndSize

    Pointer(Int32)

    Declaration
    public static TypeUtils.AlignAndSize Pointer(int bits)
    Parameters
    Type Name Description
    Int32 bits
    Returns
    Type Description
    TypeUtils.AlignAndSize

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    ValueType.ToString()
    In This Article
    • Constructors
      • AlignAndSize(Int32)
      • AlignAndSize(Int32, Int32)
      • AlignAndSize(Int32, Int32, Int32)
      • AlignAndSize(Int32, Int32, Int32, Boolean)
    • Fields
      • align
      • Eight
      • empty
      • Four
      • offset
      • One
      • Pointer2_32
      • Pointer2_64
      • Pointer3_32
      • Pointer3_64
      • Pointer4_32
      • Pointer4_64
      • Sentinel
      • size
      • Two
      • Zero
    • Properties
      • IsSentinel
    • Methods
      • DynamicArray(Int32)
      • NativeString(Int32)
      • Pointer(Int32)
      • ToString()
    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