Cocos Creator
手册文档
API 参考
Cocos Creator 3D
手册文档
API 参考
Cocos2d-x
手册文档
API 参考
AnySDK
Version: 1.1
Version: 1.0
Version: 1.2
Search
Preparing search index...
The search index is not available
Creator3dAPI
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
pipeline
UBOMorph
Class UBOMorph
Hierarchy
UBOMorph
Index
Properties
COUNT_
BASE_
4_BYTES
MAX_
MORPH_
TARGET_
COUNT
OFFSET_
OF_
DISPLACEMENT_
TEXTURE_
HEIGHT
OFFSET_
OF_
DISPLACEMENT_
TEXTURE_
WIDTH
OFFSET_
OF_
WEIGHTS
SIZE
Object literals
BLOCK
Properties
Static
COUNT_
BASE_
4_BYTES
COUNT_
BASE_
4_BYTES
:
number
= 4 * Math.ceil(UBOMorph.MAX_MORPH_TARGET_COUNT / 4) + 4
Static
MAX_
MORPH_
TARGET_
COUNT
MAX_
MORPH_
TARGET_
COUNT
:
60
= 60
Static
OFFSET_
OF_
DISPLACEMENT_
TEXTURE_
HEIGHT
OFFSET_
OF_
DISPLACEMENT_
TEXTURE_
HEIGHT
:
number
= UBOMorph.OFFSET_OF_DISPLACEMENT_TEXTURE_WIDTH + 4
Static
OFFSET_
OF_
DISPLACEMENT_
TEXTURE_
WIDTH
OFFSET_
OF_
DISPLACEMENT_
TEXTURE_
WIDTH
:
number
= 4 * UBOMorph.MAX_MORPH_TARGET_COUNT
Static
OFFSET_
OF_
WEIGHTS
OFFSET_
OF_
WEIGHTS
:
0
= 0
Static
SIZE
SIZE
:
number
= UBOMorph.COUNT_BASE_4_BYTES * 4
Object literals
Static
BLOCK
BLOCK
:
object
binding
binding
:
UniformBinding
= UniformBinding.UBO_MORPH
members
members
:
object
[]
= [{ 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"
Globals
pipeline
forward
ppfx
ui
UBOMorph
COUNT_
BASE_
4_BYTES
MAX_
MORPH_
TARGET_
COUNT
OFFSET_
OF_
DISPLACEMENT_
TEXTURE_
HEIGHT
OFFSET_
OF_
DISPLACEMENT_
TEXTURE_
WIDTH
OFFSET_
OF_
WEIGHTS
SIZE
BLOCK
Generated using
TypeDoc