Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UBOLocal

本地 UBO。

Hierarchy

  • UBOLocal

Index

Properties

Static COUNT

COUNT: number = UBOLocal.LIGHTINGMAP_UVPARAM + 4

Static LIGHTINGMAP_UVPARAM

LIGHTINGMAP_UVPARAM: number = UBOLocal.MAT_WORLD_IT_OFFSET + 16

Static MAT_WORLD_IT_OFFSET

MAT_WORLD_IT_OFFSET: number = UBOLocal.MAT_WORLD_OFFSET + 16

Static MAT_WORLD_OFFSET

MAT_WORLD_OFFSET: number = 0

Static SIZE

SIZE: number = UBOLocal.COUNT * 4

Object literals

Static BLOCK

BLOCK: object

binding

binding: ModelLocalBindings = ModelLocalBindings.UBO_LOCAL

count

count: number = 1

descriptorType

descriptorType: UNIFORM_BUFFER = GFXDescriptorType.UNIFORM_BUFFER

members

members: ({ count: number; name: string; type: MAT4 } | { count: number; name: string; type: FLOAT4 })[] = [{ name: 'cc_matWorld', type: GFXType.MAT4, count: 1 },{ name: 'cc_matWorldIT', type: GFXType.MAT4, count: 1 },{ name: 'cc_lightingMapUVParam', type: GFXType.FLOAT4, count: 1 },]

name

name: string = "CCLocal"

set

set: SetIndex = SetIndex.LOCAL

stageFlags

stageFlags: VERTEX = GFXShaderStageFlagBit.VERTEX

Generated using TypeDoc