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

    Struct LitShader

    Namespace: Unity.Tiny.Rendering
    Syntax
    public struct LitShader

    Fields

    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_numLights

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

    m_prog

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

    m_samplerAlbedo

    Declaration
    public bgfx.UniformHandle m_samplerAlbedo
    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_samplerOpacity

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

    m_samplerSmoothness

    Declaration
    public bgfx.UniformHandle m_samplerSmoothness
    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_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_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_uniformTexMad

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

    Methods

    Destroy()

    Declaration
    public void Destroy()

    Init(Byte*, Int32, Byte*, Int32, bgfx.RendererType)

    Declaration
    public void Init(byte *fs_ptr, int fsl, byte *vs_ptr, int vsl, bgfx.RendererType backend)
    Parameters
    Type Name Description
    Byte* fs_ptr
    Int32 fsl
    Byte* vs_ptr
    Int32 vsl
    bgfx.RendererType backend
    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