gpt4 book ai didi

ios - Cocoa中如何识别和使用ASType

转载 作者:可可西里 更新时间:2023-11-01 05:42:44 25 4
gpt4 key购买 nike

在 Cocoa/Mac OSX 10.6 中

操作系统类型 IOSurfaceGetPixelFormat(IOSurfaceRef 缓冲区)

返回类型 OSType

我在哪里可以找到有关此函数上下文的受支持 OSType 的一些文档/引用。

对于 IOSurfaceGetPixelFormat,我应该期待什么样的 OSType?您对这个函数的各种期望值有什么想法吗?

最佳答案

来自 MacTypes.h:

typedef FourCharCode     OSType;
typedef UInt32 FourCharCode;
typedef unsigned long UInt32; //or unsigned int, depending on architecture

关于ios - Cocoa中如何识别和使用ASType,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1596293/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com