Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cocos/cocos4
/ functions
Functions
39,311 in github.com/cocos/cocos4
⨍
Functions
39,311
◇
Types & classes
10,059
↓ 8 callers
Method
createPipelineState
native/cocos/renderer/gfx-base/GFXDevice.h:311
↓ 8 callers
Method
createRenderPass
(info: Readonly<RenderPassInfo>)
cocos/gfx/webgl/webgl-device.ts:513
↓ 8 callers
Method
createView
* Creates a {@link GPUTextureView}. * @param descriptor - Description of the {@link GPUTextureView} to create.
@types/webGPU.d.ts:3091
↓ 8 callers
Function
decodeCCONBinary
(bytes: Uint8Array)
cocos/serialization/ccon.ts:86
↓ 8 callers
Function
decodeUuid
(base64: string)
cocos/core/utils/decode-uuid.ts:54
↓ 8 callers
Method
defineFunction
native/cocos/bindings/jswrapper/jsvm/Class.cpp:104
↓ 8 callers
Function
deprecateModuleExportedName
(deprecateList: TopLevelDeprecateList)
cocos/core/utils/x-deprecated.ts:334
↓ 8 callers
Method
enableModule
(name: string, val: boolean, pm: IParticleModule)
cocos/particle/renderer/particle-system-renderer-gpu.ts:224
↓ 8 callers
Method
enqueue
native/cocos/platform/openharmony/WorkerMessageQueue.cpp:30
↓ 8 callers
Function
ensureWasmModuleReady
()
pal/wasm/wasm-web.ts:101
↓ 8 callers
Method
evalString
(String value)
native/cocos/platform/android/java/src/com/cocos/lib/CocosJavascriptJavaBridge.java:27
↓ 8 callers
Method
evaluate
* Evaluates. * @param time The time. * @param context The evaluation context.
cocos/animation/marionette/animation-graph-animation-clip-binding.ts:365
↓ 8 callers
Function
findWithName
native/cocos/editor-support/spine/3.8/spine/ContainerUtil.h:43
↓ 8 callers
Method
generate
* Generates a context which has specified attributes. * @param deltaTime The result context's `.deltaTime`. * @param indicativeWeight The re
cocos/animation/marionette/animation-graph-context.ts:1102
↓ 8 callers
Method
getA
native/cocos/editor-support/spine/4.2/spine/Bone.cpp:439
↓ 8 callers
Function
getAccessFlagsImpl
native/cocos/renderer/gfx-base/GFXBarrier.cpp:368
↓ 8 callers
Method
getAssembler
(component: UIRenderer)
cocos/2d/renderer/base.ts:52
↓ 8 callers
Function
getBindingFromHandle
native/cocos/renderer/core/PassUtils.h:60
↓ 8 callers
Method
getBoundingClientRect
()
platforms/native/builtin/jsb-adapter/Element.js:24
↓ 8 callers
Method
getC
native/cocos/editor-support/spine/4.2/spine/Bone.cpp:455
↓ 8 callers
Method
getCache
(url: string)
pal/audio/audio-buffer-manager.ts:65
↓ 8 callers
Method
getConnections
native/cocos/network/WebSocketServer.cpp:271
↓ 8 callers
Method
getData
(v: number)
cocos/rendering/custom/render-graph.ts:1411
↓ 8 callers
Method
getDescriptorBlock
(key: string, descriptorDB: DescriptorDB)
cocos/rendering/custom/layout-graph-editor.ts:579
↓ 8 callers
Method
getFileSystemManager
()
@types/pal/minigame.d.ts:41
↓ 8 callers
Method
getFrameLength
native/cocos/network/WebSocket-libwebsockets.cpp:574
↓ 8 callers
Method
getGFXSampler
native/cocos/core/assets/TextureBase.cpp:116
↓ 8 callers
Method
getGeneralBarrier
(info: Readonly<GeneralBarrierInfo>)
cocos/gfx/webgl/webgl-device.ts:561
↓ 8 callers
Method
getInstance
* @en * Get an CCFactory instance. * @zh * 获取一个 CCFactory 实例。 * @method getInstance * @returns @en The global CCFactory insta
cocos/dragon-bones/CCFactory.ts:65
↓ 8 callers
Method
getItem
* @en Returns an item in pipeline. * @zh 根据 id 获取一个 item * @param id The id of the item * * @return {Object} * @deprecated si
cocos/asset/asset-manager/deprecated.ts:238
↓ 8 callers
Method
getLength
()
cocos/3d/misc/buffer-blob.ts:50
↓ 8 callers
Method
getMeshBuffer
()
cocos/2d/renderer/render-data.ts:433
↓ 8 callers
Method
getName
native/cocos/renderer/pipeline/custom/NativeRenderGraph.cpp:39
↓ 8 callers
Method
getPathInHierarchy
* @en * Get the complete path of the current node in the hierarchy. * * @zh * 获得当前节点在 hierarchy 中的完整路径。
cocos/scene-graph/node.ts:2977
↓ 8 callers
Method
getReadyState
native/cocos/network/WebSocket-okhttp.cpp:317
↓ 8 callers
Method
getRenderMaterial
* @deprecated Since v3.6, Because mask changes the inheritance relationship, * you can directly manipulate the rendering components under the sam
cocos/2d/components/mask.ts:738
↓ 8 callers
Method
getRunningCount
* @en Get the count of running tween instances those associate with the target. * @zh 获取目标对象关联的正在运行的缓动实例的个数。 * @param target @en The target
cocos/tween/tween.ts:804
↓ 8 callers
Method
getScene
native/cocos/core/scene-graph/Node.h:151
↓ 8 callers
Method
getSeconds
native/cocos/base/Timer.cpp:60
↓ 8 callers
Function
getSetting
(settingClass: new () => T)
cocos/rendering/post-process/passes/setting-pass.ts:6
↓ 8 callers
Method
getShadowBias
native/cocos/scene/Model.h:233
↓ 8 callers
Method
getShell
* @zh * 获取指定结点在姿势图中的外壳。 * @en * Gets the specified node's shell in pose graph. * @internal
cocos/animation/marionette/pose-graph/pose-graph.ts:117
↓ 8 callers
Method
getStencilStage
* @en Get stencil stage. * @zh 获取模板状态。 * @deprecated since v3.7.0, this is an engine private interface that will be removed in the future.
cocos/2d/renderer/stencil-manager.ts:238
↓ 8 callers
Method
getStride
native/cocos/2d/renderer/RenderDrawInfo.h:123
↓ 8 callers
Function
getSubDict
(obj: T, key: TKey)
cocos/core/data/decorators/utils.ts:159
↓ 8 callers
Function
getSymbolLength
(str: string)
cocos/2d/utils/text-utils.ts:221
↓ 8 callers
Method
getTotalFrames
* @en Returns how many frames were called since the director started. * @zh 获取 director 启动以来游戏运行的总帧数。
cocos/game/director.ts:665
↓ 8 callers
Function
getTypeFromHandle
(handle: number)
cocos/render-scene/core/pass-utils.ts:35
↓ 8 callers
Function
getTypeFromHandle
native/cocos/renderer/core/PassUtils.h:59
↓ 8 callers
Method
getWidth
native/cocos/platform/java/jni/glue/JniNativeGlue.cpp:274
↓ 8 callers
Method
getWindowHandle
native/cocos/platform/SDLHelper.cpp:404
↓ 8 callers
Method
getWorldX
native/cocos/editor-support/spine/4.2/spine/Bone.cpp:471
↓ 8 callers
Method
getWorldY
native/cocos/editor-support/spine/4.2/spine/Bone.cpp:479
↓ 8 callers
Method
get_allocator
native/cocos/renderer/pipeline/custom/FGDispatcherTypes.h:306
↓ 8 callers
Method
get_children
Return an iterator for accessing the children of this cursor.
native/tools/bindings-generator/clang/cindex.py:1827
↓ 8 callers
Method
get_whole_name
(self, generator)
native/tools/bindings-generator/generator.py:715
↓ 8 callers
Method
grad
(hash: number, x: number, y: number, z: number)
cocos/particle/noise.ts:122
↓ 8 callers
Function
in_degree
native/cocos/renderer/pipeline/custom/RenderGraphGraphs.h:82
↓ 8 callers
Function
instantiate
(original: any, internalForce?: boolean)
cocos/serialization/instantiate.ts:105
↓ 8 callers
Method
invert
* Inverts the transform. * @param out Out transform. * @param transform Transform to invert.
cocos/animation/core/transform.ts:166
↓ 8 callers
Method
isDirectoryExist
native/cocos/platform/FileUtils.cpp:801
↓ 8 callers
Function
isEnabled
native/cocos/scene/Octree.h:56
↓ 8 callers
Method
isPlaying
()
native/cocos/platform/android/libcocosxr/src/com/cocos/lib/xr/CocosXRVideoPlayer.java:306
↓ 8 callers
Function
isPosDefined
(node, pos)
platforms/minigame/openDataContext/engine.js:1522
↓ 8 callers
Method
isPropertyAt
* @zh 判断指定路径段是否是属性路径。 * @en Decides if the specific path segment is property path. * @param index Index to the segment。 * @returns The
cocos/animation/tracks/track.ts:141
↓ 8 callers
Function
isReadOnlyAccess
SHADING_RATE may be ambiguos
native/cocos/renderer/pipeline/custom/FrameGraphDispatcher.cpp:494
↓ 8 callers
Function
l
(e)
templates/fb-instant-games/vconsole.min.js:10
↓ 8 callers
Method
length
native/cocos/bindings/jswrapper/v8/debugger/util.h:312
↓ 8 callers
Method
lineTo
(x: number, y: number)
cocos/2d/assembler/graphics/webgl/impl.ts:113
↓ 8 callers
Method
load
()
platforms/native/builtin/jsb-adapter/FontFace.js:15
↓ 8 callers
Method
matchCurve
(curve: RealCurve, EPSILON = DEFAULT_EPSILON)
cocos/core/curves/keys-shared-curves.ts:172
↓ 8 callers
Method
merge
native/cocos/renderer/pipeline/InstancedBuffer.cpp:54
↓ 8 callers
Function
min
native/cocos/editor-support/spine/4.2/spine/MathUtil.h:54
↓ 8 callers
Function
nextPow2
native/cocos/math/Utils.h:217
↓ 8 callers
Method
normalize
native/cocos/core/geometry/Plane.cpp:60
↓ 8 callers
Method
object
(v: vertex_descriptor)
cocos/rendering/custom/graph.ts:390
↓ 8 callers
Function
out_degree
native/cocos/renderer/pipeline/custom/LayoutGraphGraphs.h:61
↓ 8 callers
Method
overrideSettings
* @zh * 覆盖一部分配置数据。 * * @en * Override some configuration info in Settings module. * * @param category @en The category y
cocos/core/settings.ts:149
↓ 8 callers
Function
pbxBuildPhaseObj
(file)
scripts/native-pack-tool/xcode/lib/pbxProject.js:1592
↓ 8 callers
Function
peg$otherExpectation
(description)
native/cmake/scripts/plugin_support/plugin_cfg.js:299
↓ 8 callers
Function
populatePipelineLayoutInfo
( layout: PipelineLayoutData, rate: UpdateFrequency, info: PipelineLayoutInfo, )
cocos/rendering/custom/layout-graph-utils.ts:578
↓ 8 callers
Function
quickHashTrivialStruct
native/cocos/renderer/gfx-base/GFXDef.cpp:39
↓ 8 callers
Method
read
Load a TranslationUnit from the given AST file.
native/tools/bindings-generator/clang/cindex.py:2704
↓ 8 callers
Function
readBEUint16
native/cocos/base/etc2.cpp:39
↓ 8 callers
Method
readInt
()
cocos/terrain/terrain-asset.ts:170
↓ 8 callers
Function
reindexEdgeList
native/cocos/renderer/pipeline/custom/details/GraphImpl.h:486
↓ 8 callers
Method
release
native/cocos/platform/openharmony/OpenHarmonyPlatform.cpp:108
↓ 8 callers
Method
release
()
native/cocos/platform/android/libcocosxr/src/com/cocos/lib/xr/CocosXRVideoPlayer.java:286
↓ 8 callers
Method
removeEventListener
(name, listener)
platforms/native/engine/jsb-videoplayer-openharmony.js:190
↓ 8 callers
Method
removeGroup
(v: number)
cocos/physics/spec/i-group-mask.ts:29
↓ 8 callers
Method
removeMask
(v: number)
cocos/physics/spec/i-group-mask.ts:33
↓ 8 callers
Method
removePlaying
(audio: ManagedAudio)
cocos/audio/audio-manager.ts:79
↓ 8 callers
Method
replaceInFile
(patterns: { reg: string | RegExp, text: string }[], filepath: string)
scripts/native-pack-tool/source/utils.ts:280
↓ 8 callers
Method
resetRenderStates
()
cocos/2d/renderer/batcher-2d.ts:804
↓ 8 callers
Function
runInPlace
(input: Readonly<Vec2>, examplePositionAndExpectedWeights: readonly [position: Readonly<Vec2>, expectedWeight:
tests/animation/new-gen-anim/blend-algorithms/blend-2d.test.ts:455
↓ 8 callers
Function
safeMeasureText
(ctx: CanvasRenderingContext2D, string: string, desc?: string)
cocos/2d/utils/text-utils.ts:206
↓ 8 callers
Function
sampleNamed
( examples: Readonly<Record<TExampleName, Readonly<Vec2>>>, input: Readonly<Vec2>, )
tests/animation/new-gen-anim/blend-algorithms/blend-2d.test.ts:464
↓ 8 callers
Method
scrollToBottom
* @en * Scroll the content to the bottom boundary of ScrollView. * * @zh * 视图内容将在规定时间内滚动到视图底部。 * * @param timeInSecond
cocos/ui/scroll-view.ts:502
↓ 8 callers
Method
seek
native/cocos/audio/ohos/AudioDecoderWav.cpp:78
↓ 8 callers
Method
sendEvent
(int event)
native/cocos/platform/android/java/src/com/cocos/lib/CocosVideoView.java:624
← previous
next →
1,701–1,800 of 39,311, ranked by callers