Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UBOShadow

阴影 UBO。

Hierarchy

  • UBOShadow

Index

Properties

view

view: Float32Array = new Float32Array(UBOShadow.COUNT)

Static COUNT

COUNT: number = UBOShadow.SHADOW_COLOR_OFFSET + 4

Static MAT_LIGHT_PLANE_PROJ_OFFSET

MAT_LIGHT_PLANE_PROJ_OFFSET: number = 0

Static SHADOW_COLOR_OFFSET

SHADOW_COLOR_OFFSET: number = UBOShadow.MAT_LIGHT_PLANE_PROJ_OFFSET + 16

Static SIZE

SIZE: number = UBOShadow.COUNT * 4

Object literals

Static BLOCK

BLOCK: object

binding

binding: UniformBinding = UniformBinding.UBO_SHADOW

members

members: (object | object)[] = [{ name: 'cc_matLightPlaneProj', type: GFXType.MAT4, count: 1 },{ name: 'cc_shadowColor', type: GFXType.FLOAT4, count: 1 },]

name

name: string = "CCShadow"

Generated using TypeDoc