Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UBOMorph

The uniform buffer object for morph setting

Hierarchy

  • UBOMorph

Index

Properties

Static Readonly COUNT_BASE_4_BYTES

COUNT_BASE_4_BYTES: number = 4 * Math.ceil(UBOMorph.MAX_MORPH_TARGET_COUNT / 4) + 4

Static Readonly MAX_MORPH_TARGET_COUNT

MAX_MORPH_TARGET_COUNT: 60 = 60

Static Readonly OFFSET_OF_DISPLACEMENT_TEXTURE_HEIGHT

OFFSET_OF_DISPLACEMENT_TEXTURE_HEIGHT: number = UBOMorph.OFFSET_OF_DISPLACEMENT_TEXTURE_WIDTH + 4

Static Readonly OFFSET_OF_DISPLACEMENT_TEXTURE_WIDTH

OFFSET_OF_DISPLACEMENT_TEXTURE_WIDTH: number = 4 * UBOMorph.MAX_MORPH_TARGET_COUNT

Static Readonly OFFSET_OF_WEIGHTS

OFFSET_OF_WEIGHTS: 0 = 0

Static Readonly SIZE

SIZE: number = UBOMorph.COUNT_BASE_4_BYTES * 4

Object literals

Static Readonly BLOCK

BLOCK: object

binding

binding: ModelLocalBindings = ModelLocalBindings.UBO_MORPH

count

count: number = 1

descriptorType

descriptorType: UNIFORM_BUFFER = GFXDescriptorType.UNIFORM_BUFFER

members

members: { count: number; name: string; type: FLOAT4 }[] = [{ name: 'cc_displacementWeights', type: GFXType.FLOAT4, count: UBOMorph.MAX_MORPH_TARGET_COUNT / 4, },{ name: 'cc_displacementTextureInfo', type: GFXType.FLOAT4, count: 1, },]

name

name: string = "CCMorph"

set

set: SetIndex = SetIndex.LOCAL

stageFlags

stageFlags: VERTEX = GFXShaderStageFlagBit.VERTEX

Generated using TypeDoc