Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UBOLocal

本地 UBO。

Hierarchy

  • UBOLocal

Index

Properties

Static Readonly BINDING

BINDING: UBO_LOCAL = ModelLocalBindings.UBO_LOCAL

Static Readonly COUNT

COUNT: number = UBOLocal.LIGHTINGMAP_UVPARAM + 4

Static Readonly DESCRIPTOR

DESCRIPTOR: DescriptorSetLayoutBinding = new DescriptorSetLayoutBinding(UBOLocal.BINDING, DescriptorType.UNIFORM_BUFFER, 1, ShaderStageFlagBit.VERTEX)

Static Readonly LAYOUT

LAYOUT: UniformBlock = new UniformBlock(SetIndex.LOCAL, UBOLocal.BINDING, UBOLocal.NAME, [new Uniform('cc_matWorld', Type.MAT4, 1),new Uniform('cc_matWorldIT', Type.MAT4, 1),new Uniform('cc_lightingMapUVParam', Type.FLOAT4, 1),], 1)

Static Readonly LIGHTINGMAP_UVPARAM

LIGHTINGMAP_UVPARAM: number = UBOLocal.MAT_WORLD_IT_OFFSET + 16

Static Readonly MAT_WORLD_IT_OFFSET

MAT_WORLD_IT_OFFSET: number = UBOLocal.MAT_WORLD_OFFSET + 16

Static Readonly MAT_WORLD_OFFSET

MAT_WORLD_OFFSET: 0 = 0

Static Readonly NAME

NAME: "CCLocal" = "CCLocal"

Static Readonly SIZE

SIZE: number = UBOLocal.COUNT * 4

Generated using TypeDoc