Struct TextureDesc | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Struct TextureDesc

    Namespace: UnityEngine.Experimental.Rendering.RenderGraphModule
    Syntax
    public struct TextureDesc

    Constructors

    TextureDesc(Int32, Int32, Boolean, Boolean)

    Declaration
    public TextureDesc(int width, int height, bool dynamicResolution = false, bool xrReady = false)
    Parameters
    Type Name Description
    System.Int32 width
    System.Int32 height
    System.Boolean dynamicResolution
    System.Boolean xrReady

    TextureDesc(TextureDesc)

    Declaration
    public TextureDesc(TextureDesc input)
    Parameters
    Type Name Description
    TextureDesc input

    TextureDesc(ScaleFunc, Boolean, Boolean)

    Declaration
    public TextureDesc(ScaleFunc func, bool dynamicResolution = false, bool xrReady = false)
    Parameters
    Type Name Description
    ScaleFunc func
    System.Boolean dynamicResolution
    System.Boolean xrReady

    TextureDesc(Vector2, Boolean, Boolean)

    Declaration
    public TextureDesc(Vector2 scale, bool dynamicResolution = false, bool xrReady = false)
    Parameters
    Type Name Description
    Vector2 scale
    System.Boolean dynamicResolution
    System.Boolean xrReady

    Fields

    anisoLevel

    Declaration
    public int anisoLevel
    Field Value
    Type Description
    System.Int32

    autoGenerateMips

    Declaration
    public bool autoGenerateMips
    Field Value
    Type Description
    System.Boolean

    bindTextureMS

    Declaration
    public bool bindTextureMS
    Field Value
    Type Description
    System.Boolean

    clearBuffer

    Declaration
    public bool clearBuffer
    Field Value
    Type Description
    System.Boolean

    clearColor

    Declaration
    public Color clearColor
    Field Value
    Type Description
    Color

    colorFormat

    Declaration
    public GraphicsFormat colorFormat
    Field Value
    Type Description
    GraphicsFormat

    depthBufferBits

    Declaration
    public DepthBits depthBufferBits
    Field Value
    Type Description
    DepthBits

    dimension

    Declaration
    public TextureDimension dimension
    Field Value
    Type Description
    TextureDimension

    enableMSAA

    Declaration
    public bool enableMSAA
    Field Value
    Type Description
    System.Boolean

    enableRandomWrite

    Declaration
    public bool enableRandomWrite
    Field Value
    Type Description
    System.Boolean

    filterMode

    Declaration
    public FilterMode filterMode
    Field Value
    Type Description
    FilterMode

    func

    Declaration
    public ScaleFunc func
    Field Value
    Type Description
    ScaleFunc

    height

    Declaration
    public int height
    Field Value
    Type Description
    System.Int32

    isShadowMap

    Declaration
    public bool isShadowMap
    Field Value
    Type Description
    System.Boolean

    memoryless

    Declaration
    public RenderTextureMemoryless memoryless
    Field Value
    Type Description
    RenderTextureMemoryless

    mipMapBias

    Declaration
    public float mipMapBias
    Field Value
    Type Description
    System.Single

    msaaSamples

    Declaration
    public MSAASamples msaaSamples
    Field Value
    Type Description
    MSAASamples

    name

    Declaration
    public string name
    Field Value
    Type Description
    System.String

    scale

    Declaration
    public Vector2 scale
    Field Value
    Type Description
    Vector2

    sizeMode

    Declaration
    public TextureSizeMode sizeMode
    Field Value
    Type Description
    TextureSizeMode

    slices

    Declaration
    public int slices
    Field Value
    Type Description
    System.Int32

    useDynamicScale

    Declaration
    public bool useDynamicScale
    Field Value
    Type Description
    System.Boolean

    useMipMap

    Declaration
    public bool useMipMap
    Field Value
    Type Description
    System.Boolean

    width

    Declaration
    public int width
    Field Value
    Type Description
    System.Int32

    wrapMode

    Declaration
    public TextureWrapMode wrapMode
    Field Value
    Type Description
    TextureWrapMode

    Methods

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.ValueType.GetHashCode()
    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