docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ComputeInfo

    Represents information about the compute capabilities of the GPU.

    Inheritance
    object
    ComputeInfo
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Sentis
    Assembly: Unity.Sentis.dll
    Syntax
    public class ComputeInfo

    Fields

    graphicsDeviceVendor

    The vendor of the GPU.

    Declaration
    public static string graphicsDeviceVendor
    Field Value
    Type Description
    string

    maxComputeWorkGroupSize

    The maximum compute work group size the GPU supports.

    Declaration
    public static uint maxComputeWorkGroupSize
    Field Value
    Type Description
    uint

    supportsCompute

    Whether the GPU supports compute.

    Declaration
    public static bool supportsCompute
    Field Value
    Type Description
    bool

    supportsComputeSharedMemory

    Whether the GPU supports shared memory.

    Declaration
    public static bool supportsComputeSharedMemory
    Field Value
    Type Description
    bool

    supportsDense32x32

    Whether the GPU supports dense 32 x 32 kernels.

    Declaration
    public static bool supportsDense32x32
    Field Value
    Type Description
    bool

    supportsDense64x64

    Whether the GPU supports dense 64 x 64 kernels.

    Declaration
    public static bool supportsDense64x64
    Field Value
    Type Description
    bool

    Methods

    IsARMGPU()

    Determines whether the GPU is an Android ARM GPU.

    Declaration
    public static bool IsARMGPU()
    Returns
    Type Description
    bool

    Whether the GPU is an Android ARM GPU.

    IsMacGPU()

    Determines whether the GPU is a Mac GPU.

    Declaration
    public static bool IsMacGPU()
    Returns
    Type Description
    bool

    Whether the GPU is a Mac GPU.

    IsMobileGPU()

    Determines whether the GPU is a mobile GPU, for example Android, iPhone or Intel.

    Declaration
    public static bool IsMobileGPU()
    Returns
    Type Description
    bool

    Whether the GPU is a mobile GPU.

    IsQualcommGPU()

    Determines whether the GPU is an Android Qualcomm GPU.

    Declaration
    public static bool IsQualcommGPU()
    Returns
    Type Description
    bool

    Whether the GPU is an Android Qualcomm GPU.

    IsiPhoneGPU()

    Determines whether the GPU is an iPhone GPU.

    Declaration
    public static bool IsiPhoneGPU()
    Returns
    Type Description
    bool

    Whether the GPU is an iPhone GPU.

    In This Article
    Back to top
    Copyright © 2024 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)