Struct LitShader | Project Tiny Rendering | 0.24.0-preview.1
docs.unity3d.com
    Show / Hide Table of Contents

    Struct LitShader

    Namespace: Unity.Tiny.Rendering
    Syntax
    public struct LitShader

    Fields

    m_colorCSM

    Declaration
    public bgfx.UniformHandle m_colorCSM
    Field Value
    Type Description
    bgfx.UniformHandle

    m_dirCSM

    Declaration
    public bgfx.UniformHandle m_dirCSM
    Field Value
    Type Description
    bgfx.UniformHandle

    m_mappedLight0

    Declaration
    public LitShader.MappedLight m_mappedLight0
    Field Value
    Type Description
    LitShader.MappedLight

    m_mappedLight1

    Declaration
    public LitShader.MappedLight m_mappedLight1
    Field Value
    Type Description
    LitShader.MappedLight

    m_matrixCSM

    Declaration
    public bgfx.UniformHandle m_matrixCSM
    Field Value
    Type Description
    bgfx.UniformHandle

    m_numLights

    Declaration
    public bgfx.UniformHandle m_numLights
    Field Value
    Type Description
    bgfx.UniformHandle

    m_offsetScaleCSM

    Declaration
    public bgfx.UniformHandle m_offsetScaleCSM
    Field Value
    Type Description
    bgfx.UniformHandle

    m_prog

    Declaration
    public bgfx.ProgramHandle m_prog
    Field Value
    Type Description
    bgfx.ProgramHandle

    m_samplerAlbedoOpacity

    Declaration
    public bgfx.UniformHandle m_samplerAlbedoOpacity
    Field Value
    Type Description
    bgfx.UniformHandle

    m_samplerEmissive

    Declaration
    public bgfx.UniformHandle m_samplerEmissive
    Field Value
    Type Description
    bgfx.UniformHandle

    m_samplerMetal

    Declaration
    public bgfx.UniformHandle m_samplerMetal
    Field Value
    Type Description
    bgfx.UniformHandle

    m_samplerNormal

    Declaration
    public bgfx.UniformHandle m_samplerNormal
    Field Value
    Type Description
    bgfx.UniformHandle

    m_samplerShadowCSM

    Declaration
    public bgfx.UniformHandle m_samplerShadowCSM
    Field Value
    Type Description
    bgfx.UniformHandle

    m_simplelightColorIVR

    Declaration
    public bgfx.UniformHandle m_simplelightColorIVR
    Field Value
    Type Description
    bgfx.UniformHandle

    m_simplelightPosOrDir

    Declaration
    public bgfx.UniformHandle m_simplelightPosOrDir
    Field Value
    Type Description
    bgfx.UniformHandle

    m_sisCSM

    Declaration
    public bgfx.UniformHandle m_sisCSM
    Field Value
    Type Description
    bgfx.UniformHandle

    m_texShadow01sis

    Declaration
    public bgfx.UniformHandle m_texShadow01sis
    Field Value
    Type Description
    bgfx.UniformHandle

    m_uniformAlbedoOpacity

    Declaration
    public bgfx.UniformHandle m_uniformAlbedoOpacity
    Field Value
    Type Description
    bgfx.UniformHandle

    m_uniformAmbient

    Declaration
    public bgfx.UniformHandle m_uniformAmbient
    Field Value
    Type Description
    bgfx.UniformHandle

    m_uniformEmissiveNormalZScale

    Declaration
    public bgfx.UniformHandle m_uniformEmissiveNormalZScale
    Field Value
    Type Description
    bgfx.UniformHandle

    m_uniformFogColor

    Declaration
    public bgfx.UniformHandle m_uniformFogColor
    Field Value
    Type Description
    bgfx.UniformHandle

    m_uniformFogParams

    Declaration
    public bgfx.UniformHandle m_uniformFogParams
    Field Value
    Type Description
    bgfx.UniformHandle

    m_uniformMetalSmoothness

    Declaration
    public bgfx.UniformHandle m_uniformMetalSmoothness
    Field Value
    Type Description
    bgfx.UniformHandle

    m_uniformModelInverseTranspose

    Declaration
    public bgfx.UniformHandle m_uniformModelInverseTranspose
    Field Value
    Type Description
    bgfx.UniformHandle

    m_uniformOutputDebugSelect

    Declaration
    public bgfx.UniformHandle m_uniformOutputDebugSelect
    Field Value
    Type Description
    bgfx.UniformHandle

    m_uniformSmoothness

    Declaration
    public bgfx.UniformHandle m_uniformSmoothness
    Field Value
    Type Description
    bgfx.UniformHandle

    m_uniformTexMad

    Declaration
    public bgfx.UniformHandle m_uniformTexMad
    Field Value
    Type Description
    bgfx.UniformHandle

    Methods

    Destroy()

    Declaration
    public void Destroy()

    Init(bgfx.ProgramHandle)

    Declaration
    public void Init(bgfx.ProgramHandle program)
    Parameters
    Type Name Description
    bgfx.ProgramHandle program
    In This Article
    • Fields
      • m_colorCSM
      • m_dirCSM
      • m_mappedLight0
      • m_mappedLight1
      • m_matrixCSM
      • m_numLights
      • m_offsetScaleCSM
      • m_prog
      • m_samplerAlbedoOpacity
      • m_samplerEmissive
      • m_samplerMetal
      • m_samplerNormal
      • m_samplerShadowCSM
      • m_simplelightColorIVR
      • m_simplelightPosOrDir
      • m_sisCSM
      • m_texShadow01sis
      • m_uniformAlbedoOpacity
      • m_uniformAmbient
      • m_uniformEmissiveNormalZScale
      • m_uniformFogColor
      • m_uniformFogParams
      • m_uniformMetalSmoothness
      • m_uniformModelInverseTranspose
      • m_uniformOutputDebugSelect
      • m_uniformSmoothness
      • m_uniformTexMad
    • Methods
      • Destroy()
      • Init(bgfx.ProgramHandle)
    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