Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
无头引擎封装容器
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
Swiftshader 支持的 Filament 引擎版本的界面。
公共方法
|
SwapChain |
createSwapChain( 对象 Surface,长标志)
有效的 Surface 类型:- Android:Surface - 其他:无
标志:请参阅 SwapChain 中的 CONFIG 标志。
|
|
SwapChain |
|
|
SwapChain |
|
|
无效
|
|
|
无效
|
|
继承的方法
继承自类 java.lang.Object
|
对象
|
clone()
|
|
布尔值
|
|
|
无效
|
finalize()
|
|
final Class<?>
|
getClass()
|
|
整数
|
hashCode()
|
|
final void |
notify()
|
|
final void |
notifyAll()
|
|
字符串
|
toString()
|
|
final void |
wait(long arg0、int arg1)
|
|
final void |
wait (long arg0)
|
|
final void |
wait()
|
字段
public static final String TAG
公共构造函数
public
HeadlessEngineWrapper
()
公共方法
public SwapChain createSwapChain
(Object Surface,长标志)
有效的 Surface 类型:- Android:Surface - 其他:无
标志:请参阅 SwapChain 中的 CONFIG 标志。
public SwapChain createSwapChain(Object Surface)
有效的 Surface 类型:- Android:Surface - 其他:无
public SwapChain createSwapChainFromNativeSurface
(NativeSurface surface, long flag)
public void destroySwapChain (SwapChain swapChain)
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2022-09-26。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2022-09-26。"],[],["The `HeadlessEngineWrapper` class facilitates interaction with the Filament engine. Key actions include creating and destroying `SwapChain` objects, which are essential for rendering. `createSwapChain` can accept a surface object (Android Surface), and optionally a set of flags, or a `NativeSurface` with flags. `destroySwapChain` is used for cleaning up. The class also inherits methods for creating and destroying Cameras, Scenes, Renderers, and other rendering-related objects and utility function such as `getFilamentEngine`.\n"]]