Struct ShadowMapShader
Namespace: Unity.Tiny.Rendering
Syntax
public struct ShadowMapShader
Fields
m_prog
Declaration
public bgfx.ProgramHandle m_prog
Field Value
| Type | Description |
|---|---|
| bgfx.ProgramHandle |
m_uniformBias
Declaration
public bgfx.UniformHandle m_uniformBias
Field Value
| Type | Description |
|---|---|
| bgfx.UniformHandle |
m_uniformDebugColor
Declaration
public bgfx.UniformHandle m_uniformDebugColor
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 |