Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GpuComputing

(General purpose) Gpu computing based sub-mesh morph rendering. This technique computes final attribute displacements on GPU. Target displacements of each attribute are transferred through vertex texture, say, morph texture.

Hierarchy

  • GpuComputing

Implements

Index

Constructors

constructor

Properties

Private attributes

attributes: { morphTexture: MorphTexture; name: string }[]

Private _gfxDevice

_gfxDevice: GFXDevice

Private _subMeshMorph

_subMeshMorph: SubMeshMorph

Private textureInfo

textureInfo: { height: number; width: number }

Type declaration

  • height: number
  • width: number

Methods

createInstance

  • createInstance(): { adaptPipelineState: any; destroy: any; requiredPatches: any; setWeights: any }

destroy

  • destroy(): void

Generated using TypeDoc