Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UBOGlobal

全局 UBO。

Hierarchy

  • UBOGlobal

Index

Properties

Static Readonly BINDING

BINDING: UBO_GLOBAL = PipelineGlobalBindings.UBO_GLOBAL

Static Readonly COUNT

COUNT: number = UBOGlobal.SCREEN_SIZE_OFFSET + 4

Static Readonly DESCRIPTOR

DESCRIPTOR: DescriptorSetLayoutBinding = new DescriptorSetLayoutBinding(UBOGlobal.BINDING, DescriptorType.UNIFORM_BUFFER, 1, ShaderStageFlagBit.ALL)

Static Readonly LAYOUT

LAYOUT: UniformBlock = new UniformBlock(SetIndex.GLOBAL, UBOGlobal.BINDING, UBOGlobal.NAME, [new Uniform('cc_time', Type.FLOAT4, 1),new Uniform('cc_screenSize', Type.FLOAT4, 1),new Uniform('cc_nativeSize', Type.FLOAT4, 1),], 1)

Static Readonly NAME

NAME: "CCGlobal" = "CCGlobal"

Static Readonly NATIVE_SIZE_OFFSET

NATIVE_SIZE_OFFSET: number = UBOGlobal.TIME_OFFSET + 4

Static Readonly SCREEN_SIZE_OFFSET

SCREEN_SIZE_OFFSET: number = UBOGlobal.NATIVE_SIZE_OFFSET + 4

Static Readonly SIZE

SIZE: number = UBOGlobal.COUNT * 4

Static Readonly TIME_OFFSET

TIME_OFFSET: 0 = 0

Generated using TypeDoc